Engineering, from the bytecode
These articles are the whitepaper unlocked: how the deployed contracts actually quote, route, clamp and prove — including the measured failure cases that shaped the design. No claim without a command: every article ends with a way to reproduce it against the chain yourself.
Follow the libraryRSSXFarcaster
Start here · five to begin with, in order
- 1.What is a DEX aggregator? Explained without the jargon — A plain-language guide: what a DEX is, why prices differ between them, what an aggregator does about it, and the one question to ask any aggregator — who computes the price you see?.
- 2.What you pay on a swap: the pool’s fee, the protocol fee, and gas — line by line — Three costs, each with a different recipient: the fee each pool charges and keeps, the protocol fee of 28 basis points (0.28%) that goes to the treasuries, and the gas the network charges to run the transaction.
- 3.Slippage, explained: why you got fewer tokens than the screen promised — What slippage actually is, why it happens, what a sandwich attack does to you, and what a real protection looks like — in plain language.
- 4.The empty shop window: what phantom liquidity is, explained simply — A token can show a big pile of money to trade against and not actually have it — a shop window with an empty stockroom.
- 5.What an audit means, what it does not, and what “verified” means on this site — An external audit is a reading of one version of the code by people who did not write it.
Explore · by subject
Plain language, zero jargon — the concepts every other article assumes you already have.
- What is live today: V1 now, V2 on 15 November 2026, staking in Q2 2027Today's swap runs on the first-generation V1 engine — deployed, self-custodial and real, but a pre-production staged test. V2, the protocol the whitepaper describes, is under audit and targeted to go live on 15 November 2026, with the full staking programme opening in Q2 2027.5 min · beginner · updated 2026-10-06
- How to swap tokens on Base: the five-minute guideSwapping on Base costs cents and settles in seconds. What you need (a wallet, ETH for gas), how a swap actually executes, and the two checks that keep you safe — in plain language.4 min · beginner · updated 2026-10-05
- Base vs Ethereum vs Optimism vs Arbitrum: where is swapping cheapest?The honest cost comparison across Ethereum, Base, Optimism and Arbitrum: gas is pennies on every L2 and dollars on mainnet, but the REAL variable is liquidity depth — and it decides more than gas does.4 min · beginner · updated 2026-10-05
- How to read the BlazePhoenix swap screen: every number, decodedWhat each field on the swap card actually means — the quote, price impact zones, the iron floor, minOut, legs and hops — and which warnings mean stop versus proceed with care.4 min · beginner · updated 2026-10-05
- The slippage cheat sheet: 0.2% for majors, 0.5%+ for volatile memesPractical starting points for the slippage setting: ~0.2% for deep established pairs, 0.5–1% for volatile or thin tokens — why each number, when to deviate, and the failure modes of setting it wrong in either direction.4 min · beginner · updated 2026-10-05
- Trading on Optimism and Arbitrum: one router, every L2, the same iron floorHow swapping works on Optimism and Arbitrum, why their fees differ from each other and from Base and Ethereum, and how BlazePhoenix quotes all of them with the identical on-chain math and the same minimum-output floor — no per-chain trust assumptions.5 min · beginner · updated 2026-10-05
- BlazePhoenix in five minutes: an exchange with no server between you and the priceWhat BlazePhoenix does, in plain words: it finds the best price for your swap across many exchanges, computes that price on the blockchain itself instead of on a company server, and refuses to fill your trade worse than the minimum you set.5 min · beginner · updated 2026-09-24
- Why "no server" matters: the safest aggregator is the one that cannot lie to youA plain-language explanation of why an aggregator that computes its price on the blockchain is safer than one that computes it on a company server — and what that means for your trades.4 min · beginner · updated 2026-09-24
- What happens when you click Swap: the life of one trade, step by stepFrom the quote to the tokens landing in your wallet: the seven steps the BlazePhoenix contracts take for every swap, and the checks that protect you at each one.5 min · beginner · updated 2026-09-24
- What is a Uniswap V4 hook — and why BlazePhoenix never lets one touch your amountsUniswap V4 pools can run extra code called hooks. A plain explanation of what hooks are, why some can be dangerous, and how BlazePhoenix screens them without ever calling them.4 min · beginner · updated 2026-09-24
- Why the BlazePhoenix fee cannot change — not even by usThe 0.28 % BlazePhoenix fee is written into the contract with no way to edit it, and the admin keys can be ended for ever. What that means for you, in plain words.3 min · beginner · updated 2026-09-24
- The math behind your swap, with real numbers: why splitting a trade gets you moreA worked example anyone can follow with a calculator: how a pool prices a trade, why a big trade moves the price, and why splitting across two pools delivers more — the same math BlazePhoenix runs on chain.5 min · beginner · updated 2026-09-24
- How to choose the best DEX aggregator in 2026: seven questions that rankings skipMost "best DEX aggregator" lists rank by volume or affiliate deals. Seven checkable questions — route, quote vs execution, fee control, custody, MEV, V4 hooks and evidence — answered for 1inch, 0x, Odos, KyberSwap, CoW Swap and BlazePhoenix.7 min · beginner · updated 2026-09-24
- Why our price sometimes looks lower — and why that is the honest oneOther apps show a hopeful price and quietly allow a big 2.5–5% slippage, so you often get less than the screen said. We show the real price the blockchain will give you now, at tiny slippage — and we admit the one case where we are still behind.4 min · beginner · updated 2026-08-26
- What is MEV? Front-running, sandwiches, and how a floor protects youMEV in plain language: how bots reorder or wrap your trade to skim value, and why an on-chain minimum-output floor caps how much a swap can be worsened before it reverts.4 min · beginner · updated 2026-08-05
- What is a bridge? Moving tokens between chains, and the risk it addsBridges move value between chains by locking on one side and minting on the other. Why they concentrate risk, and why swapping on the chain you are already on avoids it entirely.4 min · beginner · updated 2026-08-05
- What is TVL? Total value locked, and why it is not the same as safeTVL measures how much value sits in a protocol or pool. What it tells you, what it hides, and why a big headline number can still sit on top of unwithdrawable liquidity.4 min · beginner · updated 2026-08-05
- What is impermanent loss? The cost of being a liquidity providerImpermanent loss explained without the jargon: why providing liquidity can leave you with less value than simply holding, and when it becomes permanent.5 min · beginner · updated 2026-08-05
- What is a block explorer? Reading the chain yourselfBlock explorers like Basescan and Etherscan let anyone read every transaction, contract and balance on chain. How to use one to check a swap, a token or a contract before you trust it.4 min · beginner · updated 2026-08-05
- How to verify a contract: know what you are signingA short, practical guide to checking a smart contract before you interact with it: verified source, the functions you call, and the approvals you grant.5 min · beginner · updated 2026-08-05
- What is a seed phrase? The one secret that is your walletYour seed phrase is your wallet. What it is, why anyone who has it has your funds, and the simple rules that keep self-custody safe.3 min · beginner · updated 2026-08-05
- What is a smart contract? Code that runs exactly as writtenA smart contract is a program on a blockchain that anyone can call and no one can quietly change. What that means for trust, and its limits.4 min · beginner · updated 2026-08-05
- What is a transaction? Nonces, gas, and confirmationEvery action on chain is a transaction. What the nonce, gas and confirmation actually mean, so a pending swap stops being a mystery.4 min · beginner · updated 2026-08-05
- What is finality? When a transaction is truly doneFinality is the point where a transaction cannot be reversed. Why confirmations matter, what a reorg is, and how Layer 2 finality differs from Ethereum.4 min · beginner · updated 2026-08-05
- Invariants, in plain words: why some software cannot lie to youAn invariant is a promise a program keeps on every possible path, or it stops. In plain words: why software built this way cannot quietly give you a wrong answer, and how to spot it in a thing you are about to trust with money.4 min · beginner · updated 2026-07-28
- On-chain or off-chain? The one difference that decides who you trustMost "DeFi" makes its real decisions on private servers and only uses the blockchain to record the result. On-chain means the decision itself happens in public code. Here is the one test that tells them apart, in plain words.4 min · beginner · updated 2026-07-28
- The empty shop window: what phantom liquidity is, explained simplyA token can show a big pile of money to trade against and not actually have it — a shop window with an empty stockroom. Why the usual safety checks miss it, and the one number that tells you the truth before you buy.4 min · beginner · updated 2026-07-28
- Robinhood Chain ID 4663: RPC, explorer and how to trade on itA plain-language guide to Robinhood Chain — the EVM network with chain id 4663: its RPC, the Blockscout explorer, native ETH, wrapped WETH and the USDG stablecoin, how to add it to a wallet, and how BlazePhoenix aggregates swaps on it with on-chain quotes.5 min · beginner · updated 2026-07-22
- How to read the BlazePhoenix staking screen: locks, boost, borrow, healthWhat each staking card means — effective stake, the 1.10×–2.75× lock boost, borrow limit and utilisation — and the numbers that tell you when a position needs attention.4 min · beginner · updated 2026-07-20
- Your first swap and your first stake: the complete walkthroughEnd to end, nothing assumed: connect, verify, quote, set slippage, execute, read the receipt — then lock a first stake and understand what each confirmation means.5 min · beginner · updated 2026-07-20
- Robinhood vs a DEX: what actually happens to your crypto orderOn a broker app your order goes to the company's systems; on a DEX it goes to a public contract. Custody, transparency and cost — the neutral comparison, in plain language.5 min · beginner · updated 2026-07-19
- CEX vs DEX: custody, counterparty risk, and who holds the keysA centralized exchange holds your funds and matches orders internally; a DEX never touches custody and executes in public. The real trade-offs — and what proof-of-solvency changes.5 min · beginner · updated 2026-07-19
- Memecoins, explained: the ten-second check before you apeMemecoins are attention markets — a few make history, most die, some are traps. How they work, why liquidity is the whole game, and the on-chain check that filters the traps.4 min · beginner · updated 2026-07-19
- What is a Layer 2? Base, Optimism and Arbitrum in plain languageLayer 2s are express lanes built on Ethereum: they batch transactions off-chain and settle back to mainnet, keeping its security while cutting fees 100x. How rollups actually work.4 min · beginner · updated 2026-07-19
- Sandwich attacks, explained: how bots eat your swap and how floors stop themA sandwich bot buys right before your trade and sells right after, pocketing your slippage. How the attack works block by block, and why contract-enforced floors are the real defense.4 min · beginner · updated 2026-07-19
- Is DeFi safe? An honest risk map, not a sales pitchDeFi removes custodial risk and adds contract, market and scam risk. The honest inventory of what can hurt you, which risks are checkable, and the checks that actually work.5 min · beginner · updated 2026-07-19
- Why every aggregator shows a different price for the same swapFive aggregators, five quotes — same pair, same second. Where the differences come from (routing, freshness, fee models, phantom depth) and how to compare quotes honestly.4 min · beginner · updated 2026-07-19
- Ethereum for traders: what the EVM actually guarantees youBeyond the ticker: Ethereum is a global computer whose guarantees — atomicity, determinism, public state — are what make trustless trading possible. What each one buys you at swap time.4 min · beginner · updated 2026-07-19
- Gas fees, explained: what you actually pay for and how L2s made it cheapWhy every blockchain action costs gas, why the fee changes minute to minute, why a FAILED transaction still costs money, and why Layer-2 networks like Base cut the bill to cents.4 min · beginner · updated 2026-07-18
- How to read a swap quote: every number on the screen, decodedExpected out, minimum received, price impact, protocol fee, route legs — what each number in a swap quote actually means, and which two deserve your attention before you sign anything.4 min · beginner · updated 2026-07-18
- Self-custody, explained: what "connect wallet" really authorizesWhat connecting a wallet does and does not allow, what token approvals actually are, the difference between custodial and self-custodial trading, and the two habits that prevent most losses.4 min · beginner · updated 2026-07-18
- Price impact, explained: why your own trade moves the pricePrice impact is the part of your cost you cause yourself by trading against a pool. What it is, how it differs from slippage, and why a thin pool punishes size — in plain language.4 min · beginner · updated 2026-07-18
- What is a liquidity pool? The two-token pile that sets the priceA liquidity pool is two piles of tokens a contract holds so anyone can trade against them. How the pile sets the price, where the yield comes from, and why depth is everything.4 min · beginner · updated 2026-07-18
- What is an AMM? The formula that replaced the market makerAn automated market maker is a formula that prices trades from a pool's balances instead of an order book. What x·y=k means, why it never runs out, and where it charges you.4 min · beginner · updated 2026-07-18
- What is a honeypot token? The coin you can buy but never sellA honeypot is a token engineered so buys succeed and sells fail. How the trap works, the tell-tale signs, and the ten-second on-chain check that exposes most of them.4 min · beginner · updated 2026-07-18
- What is a rug pull? How a token dies in one transactionA rug pull is when insiders drain a token's liquidity or dump their supply, collapsing the price to zero. The main variants, the warning signs, and how to check before you buy.4 min · beginner · updated 2026-07-18
- WETH vs ETH: what wrapped ether is and why you need itETH is the native coin; WETH is ETH wrapped as a standard ERC-20 token so contracts can handle it uniformly. Why wrapping exists, how it stays 1:1, and how to unwrap.3 min · beginner · updated 2026-07-18
- Token approvals, explained: the permission you forget you gaveBefore a contract can move your tokens you must approve it — a standing permission that outlives the trade. Why infinite approvals are risky and how to revoke them.4 min · beginner · updated 2026-07-18
- What is a crypto wallet? Keys, seed phrases, and self-custodyA wallet does not hold coins — it holds the keys that control them on-chain. What the seed phrase really is, why nobody can recover it, and how to connect safely.4 min · beginner · updated 2026-07-18
- Market cap vs liquidity: why a "$10M" token can be unsellableMarket cap is a headline number; liquidity is what you can actually exit into. Why they diverge, how thin liquidity traps holders, and which number to trust.4 min · beginner · updated 2026-07-18
- What is a stablecoin? The dollar-pegged token, and how pegs breakA stablecoin aims to hold a fixed value, usually $1. The main designs — fiat-backed, crypto-backed, algorithmic — how each keeps its peg, and why some fail.4 min · beginner · updated 2026-07-18
- What is a DEX aggregator? Explained without the jargonA plain-language guide: what a DEX is, why prices differ between them, what an aggregator does about it, and the one question to ask any aggregator — who computes the price you see?4 min · beginner · updated 2026-07-17
- Slippage, explained: why you got fewer tokens than the screen promisedWhat slippage actually is, why it happens, what a sandwich attack does to you, and what a real protection looks like — in plain language.4 min · beginner · updated 2026-07-17
- How to swap tokens safely: a five-minute checklistThe pre-trade checklist experienced people actually run: verify the site, check the token address, test with dust, set a real slippage limit, and check the pool's real liquidity first.4 min · beginner · updated 2026-07-17
- What is staking — and the questions to ask before locking anythingStaking in plain language: what you are actually doing, where the yield comes from, the three questions that expose bad staking programs, and what provable solvency means.4 min · beginner · updated 2026-07-17
- How to spot fake liquidity before it takes your moneyHoneypots and rug pulls look healthy on charts because advertised liquidity can be faked. What phantom liquidity is, the three warning signs, and the ten-second check that reads the chain instead of the chart.4 min · beginner · updated 2026-07-17
What a wallet holds, what signing authorises, and what you are really granting when you approve a token.
What happens between pressing swap and receiving tokens — and why the price you get is not the price on the label.
- How to read your swap receipt: delivered, quoted, floor, route, link, stampThe six things a swap receipt tells you — what you were quoted, what arrived, the floor you signed, the route your tokens took, the transaction link that proves it, and the stamp that records when the site last read isSolvent() from the staking engine.4 min · beginner · updated 2026-09-06
- What you pay on a swap: the pool’s fee, the protocol fee, and gas — line by lineThree costs, each with a different recipient: the fee each pool charges and keeps, the protocol fee of 28 basis points (0.28%) that goes to the treasuries, and the gas the network charges to run the transaction.4 min · beginner · updated 2026-09-06
- Who is holding your tokens at each step of a swapA swap traced instant by instant: what the allowance permits, when your balance actually falls, which contract holds the tokens in between, what the floor check does at the end, and why a failed swap cannot leave you halfway through.8 min · beginner · updated 2026-08-13
- Three prices, one trade: the label, the quote and the fillThe sticker price, the amount the contract computes for your size, and the amount that lands in your wallet are three different numbers. This article separates them with one worked trade and splits the total cost into its three exact components.8 min · beginner · updated 2026-08-13
- How big is too big? Sizing a trade against the depth of a poolOne line of arithmetic turns pool depth into the exact cost of your order size, gives you the size that keeps impact under 1%, and shows where the rule stops being true — with the two-quote measurement that replaces it.8 min · beginner · updated 2026-08-13
The one number you control, why this protocol refuses a trade without it, and how to choose it.
- Why a refused trade is good news: RouterE(5) in plain wordsWhen a swap comes back refused with the floor’s own code, the contract computed that your fill would have landed below the minimum you signed, and declined instead of filling you worse.4 min · beginner · updated 2026-09-06
- Minimum output: the number that decides whether your swap happens at allWhat a slippage tolerance actually sets, why it is not there to pay for price impact, how the protocol floor of 80% per leg differs from yours, and how to choose a number by measuring instead of guessing.8 min · beginner · updated 2026-08-13
Honeypots, taxes, owner powers and locked liquidity — and how to measure the exit yourself before you trade.
- How to check if a token is a honeypot (step by step, free)A honeypot lets you buy but not sell. Check a token before you buy: find the real contract, measure the exit on-chain, read the sell tax, and re-check right before every trade.7 min · beginner · updated 2026-10-05
- What is a token tax? Buy tax and sell tax explainedSome tokens take a percentage of every buy or sell. How buy and sell taxes work, why a sell tax that can change is the real risk, and how to measure it before you trade.6 min · beginner · updated 2026-10-05
- Renounced ownership explained: what it means when a token has no ownerRenouncing ownership removes the admin key from a token contract. What it protects you from, what it does not, and how to check it on a block explorer in a minute.6 min · beginner · updated 2026-10-05
- Locked liquidity explained: what "LP locked" really protectsLocked liquidity means a pool's liquidity cannot be withdrawn until a date. How locks work on V2 and concentrated-liquidity pools, how to check one, and what a lock does not guarantee.6 min · beginner · updated 2026-10-05
- How to find a token's real contract address (and avoid fake tokens)Anyone can create a token with the same name and ticker as a real one. The contract address is a token's only identity: where to find the real one and how to confirm it before you swap.6 min · beginner · updated 2026-10-05
- How to read a DexScreener pair page: price, liquidity, volume and makersA pair page packs a dozen numbers into one screen. What each one measures, which ones can be inflated, and how to cross-check the one that decides whether you can sell.6 min · beginner · updated 2026-10-05
- What is a memecoin launchpad? Bonding curves and "graduation" explainedLaunchpads let anyone create a token in a minute and sell it along a price curve until it graduates to a DEX pool. How the mechanism works and what to check before buying early.6 min · beginner · updated 2026-10-05
Chain 4663, USDG, stock tokens, and adding the network to your wallet.
- What are tokenized stocks? Robinhood Stock Tokens explainedStock tokens put the price exposure of a US share on a blockchain. What you own and what you do not, who can buy them, and how they trade on Robinhood Chain.6 min · beginner · updated 2026-10-05
- What is USDG? The Global Dollar stablecoin on Robinhood ChainUSDG is a dollar stablecoin issued by Paxos and the dollar asset on Robinhood Chain. Who issues it, what backs it, where it is regulated, and its contract on chain 4663.5 min · beginner · updated 2026-10-05
- How to add Robinhood Chain to MetaMask (chain ID 4663)Add Robinhood Chain to MetaMask or any EVM wallet in a minute: network name, RPC URL, chain ID 4663, ETH for gas and the Blockscout explorer — plus a check that the RPC is the real one.5 min · beginner · updated 2026-10-05
- How to swap on Robinhood Chain with BlazePhoenix (step by step)Swap any token on Robinhood Chain (chain ID 4663) with BlazePhoenix: connect a wallet, check the token, set a minimum output and sign. Zero custody, 0.28 percent fee, on-chain floor.6 min · beginner · updated 2026-10-05
Why splitting one order across several pools returns more, and when the extra leg stops paying for itself.
Whose tokens you trade against, why the fee exists, and who is paid it.
What the contract actually records when you stake, where the rewards come from, and what the halving means for someone deciding today.
- What a stake actually records: the row, the weight and the accumulatorStaking is not a deposit into an account that pays interest. It is a row in a table and a share of a fixed budget. This shows the row, the multiplier arithmetic, the rounding rule, the borrow ceiling of a third, and what has not been verified.9 min · beginner · updated 2026-08-13
- Why the reward halves every two years, and what that means if you are deciding todayThe full emission schedule: eight periods, sixteen years, 179,296,875 tokens paid of a 180,000,000 budget, and the 703,125 that the curve never reaches — with the dilution arithmetic that matters more than the halving itself.8 min · beginner · updated 2026-08-13
How to confirm any claim on this site without being a developer.
- What an audit means, what it does not, and what “verified” means on this siteAn external audit is a reading of one version of the code by people who did not write it. What that buys you, what it cannot, what “verified” means on every page here — a number beside the command that recomputes it — and how to read the page that answers the audit question directly.3 min · beginner · updated 2026-09-06
- What 1,320 tests mean for you — and why the count alone means littleA test suite is a set of programs that check the contract. This one reports 1,319 passed, 0 failed, 1 skipped on the release settings, 119 of 119 on live liquidity.4 min · beginner · updated 2026-09-06
- Mutation testing for beginners: we break our own code on purpose to see whether the tests noticeA mutant is a deliberate one-line break in the contract — a fee doubled, a floor halved. Run the tests; if none goes red, the tests were not watching that line. Two concrete examples, the idea of the killing test, and why 268 of 268 is a floor and not a guarantee.4 min · beginner · updated 2026-09-06
- Check every claim on this site yourself, without being a developerFive claims made here, and the exact browser steps to confirm or refute each one — plus what our checks actually prove, what times out and proves nothing, and where our own quotes are known to be optimistic.9 min · beginner · updated 2026-08-13
The closed-form optimal split, and why multi-hop composition does not inherit it.
- ρ*: the measured exchange rate between calldata and execution, and the door it choosesCarry the route in calldata or solve in-frame? One measured scalar decides: ρ*, the execution gas one byte of calldata buys — 66.9 to 105.5 gas per byte on this engine. On OP-Stack and Arbitrum chains data is 0.9–14% of a swap's cost; on calldata-priced ZK rollups the in-frame solve is 14× cheaper.9 min · engineering · updated 2026-08-26
- The closed-form optimal split across fee-adjusted constant-product venuesA derivation a reader can redo on paper: why splitting an order is a concave program, why venues enter in descending order of fee-adjusted spot price, the explicit closed form for the legs, and an honest separation of prior art from ours — the shipped solver does not use it.12 min · engineering · updated 2026-08-13
- Multi-hop routes: why the split derivation does not transfer, and how the floors composeA split is a partition; a hop is a composition. Concavity survives the composition and the topology choice destroys it. Rescaling the second hop is provably conservative. And the end-to-end floor is weaker than it sounds, in a way worth reading twice.12 min · engineering · updated 2026-08-13
Where the boundaries fall, what each one enforces, and what the two entry points trust.
- How to read a failed swap: decoding a revert with the error ABIA failed swap returns four bytes and some data, not a sentence. How custom errors are encoded, how to decode a BlazePhoenix revert with the published errors ABI, and why many reverts protect you.5 min · engineering · updated 2026-10-05
- A DeFi MCP server that never calls a node: prepare, run, decodeBlazePhoenix's hosted MCP server answers AI agents without a single RPC call or key: it prepares the exact eth_call, the agent runs it on its own node, and the server decodes the answer.5 min · engineering · updated 2026-10-05
- The BlazePhoenix quote API in five minutes: prepare, run on your node, decodeGet an on-chain BlazePhoenix quote from any language with two HTTP calls and one eth_call on your own node. Keyless, CORS-open, zero RPC on our side. Working curl examples.6 min · engineering · updated 2026-10-05
- Use BlazePhoenix from AI agents: Claude Code, Gemini CLI and any MCP clientGive an AI agent on-chain DEX quotes it can verify: install BlazePhoenix as a Claude Code plugin, a Gemini CLI extension or an MCP server, hosted or local. One command each.5 min · engineering · updated 2026-10-05
- The attack surface, counted: 23 calldata fields, nothing held at rest, and two numbers about how the tests lookEvery field an integrator can write into calldata is classified in fields.json — 23 rows: 5 steering, 14 confirmed against an observation, 4 declared with the reason recorded. The Router holds nothing between transactions.7 min · engineering · updated 2026-09-06
- Uniswap V4 end to end: four broken assumptions, answered structurallyV4 broke four assumptions routers rest on: pools have no addresses, arbitrary code runs inside the swap, fees can exist only at execution time, and pools can hold raw ETH. BlazePhoenix answers each structurally — and native ETH is not optional: 62.9% of V4's ETH-denominated liquidity is native.12 min · engineering · updated 2026-08-26
- 29,183 bytes: the routing engine that lives on-chain, measured against the fieldThe full routing intelligence — discovery, quoting, believability filtering, split allocation, multi-hop assembly, V4 derivation — is 29,183 bytes of EVM bytecode. Same fork, replaying the leading commercial router's own calldata: 2.4–10.9× less gas per leg, reference at optimizer_runs = 999999.9 min · engineering · updated 2026-08-26
- The decomposition law: why one contract is a monolith and the other is notAn invariant is enforceable only at the finest boundary that can observe both of its terms in one frame. That single rule explains why the staking contract is deliberately monolithic, why the router is decomposed, and — as a corollary — exactly which boundaries leak.11 min · engineering · updated 2026-08-13
- The two entry points, contrasted by what each trusts from calldataOne entry point accepts a complete route as an argument; the other accepts six scalars and solves. They share every line of the execution core and differ in one thing — the size of the trusted surface — and the same shared line can behave differently depending on which path reached it.11 min · engineering · updated 2026-08-13
What a correct, enforced, tested invariant still cannot see.
- How we audit ourselves: the verification apparatus on one pageEvery instrument the BlazePhoenix V2 suite runs, the question each one answers, its result on the measured tree and the limit it states — mutation guard, invariant-aimed mutants, covering arrays, hostile venues, canonical oracles, metamorphic relations, N-version, projection distance.7 min · engineering · updated 2026-09-06
- The mutation guard: 268 named breaks, each paired with the one test that must dieWhat a mutant is, why the BlazePhoenix guard is curated rather than generated, why every entry names the single test that must fail, how a mutation the optimiser removes is reported as inert rather than killed, and why 268 of 268 is a floor on what the suite watches and not a guarantee.6 min · engineering · updated 2026-09-06
- N-version quote maths: one source, three compilers’ worth of binaries, and what the lane foundThe Core’s quote maths compiled at optimizer_runs 1, 300 and 20000, three binaries compared on 3,000 fuzzed inputs per function. They agree — and the lane’s first full-domain run made the reference itself revert on a dust pool.6 min · engineering · updated 2026-09-06
- What a conservation guard cannot see: five findings that passed a correct, enforced, tested invariantA measurement: a conservation check applied at thirteen entry points with no exemption for administrators was silent for six of the seven vulnerabilities disclosed against the contract it protected — and five of those are 2-safety properties no single-trace invariant can express.12 min · engineering · updated 2026-08-13
Where a defence converts a statistical guarantee into an economic one, and what that costs.
- Hostile venues and the sandwich curve: ten pathologies, two doors, and the attacker’s side of the floorTen venue pathologies crossed with two doors settle or refuse with a selector of ours — 20 of 20, no third outcome. Then the floor from the attacker’s side: on a 1 %-of-depth trade a sandwich takes about 2.7 % of the trade at most, the floor refuses beyond about 3 % of manipulation.6 min · engineering · updated 2026-09-06
- The capital anchor: converting a statistical defence into an economic one, and the price of doing itWhy the believability band is centred on the deepest candidate rather than on the median, what that buys against a Sybil-populated candidate set, and the limit stated in the same breath: selecting by maximum is an argmax, and an argmax has a breakdown point of zero.11 min · engineering · updated 2026-08-13
A halt anyone may trigger, but only by proving the condition on-chain.
Why a quote is a statement about the past, and what an in-transaction solver does and does not fix.
- How a quote ages: 240 samples of a promise executed 0–10 seconds laterA quote taken through previewAndEncode, the world moving against it, the calldata executed unchanged up to ten seconds later. The drift table, the delay table, the live Base rows, and the reading they share: time is not what moves a quote; drift is.6 min · engineering · updated 2026-09-06
- The two fee regimes: anchored and exhaustion, measured from outside the RouterThe protocol fee of 28 basis points (0.28%) is charged once at the first bridge input on an anchored route, and once per hop on a route no bridge coin ever enters.7 min · engineering · updated 2026-09-06
- A quote is a statement about the past: what an in-transaction solver fixes, and what it does notThree independent sources of drift separate a quote from a fill. Solving the route inside the executing transaction removes exactly one of them. The other two survive — and our own preview surface is the clearest case of a guarantee restated where it cannot be enforced.11 min · engineering · updated 2026-08-13
The difference between a venue the code supports and one exercised against real chain state.
- How the State of the Trenches is measured, and why each week is frozenA weekly aggregate of the exit probe across trending tokens on four chains: the population, the sample gate, the denominator, and why a published edition never changes.6 min · engineering · updated 2026-10-05
- New tokens on Robinhood Chain: what four weeks of radar data showRobinhood Chain opened in July 2026 and new tokens trend there every day. Four frozen weekly editions record how many trending tokens the radar listed there and how many were newborn.5 min · engineering · updated 2026-10-05
- How to cite BlazePhoenix data: frozen editions, datasets and the whitepaper DOIJournalists, researchers and AI systems can cite BlazePhoenix measurements by permanent URL. Which URL to cite for each kind of number, the licence, and the formats available.4 min · engineering · updated 2026-10-05
- Covering arrays for regimes: every pair and every triple of ten factors, in 63 and 168 rowsTen factors a fixture fixes before a swap — venue family, hops, legs, bridge position, transfer tax, decimals, door, control, pair fullness — make 5,184 combinations.6 min · engineering · updated 2026-09-06
- Metamorphic relations: a second judge for the maths, and three bounds measured before they were writtenAn oracle written from the same formula cannot catch the formula. Fourteen relations over the Core’s quote maths and five over the Solver’s plan ask instead how the output must move when the input moves.6 min · engineering · updated 2026-09-06
- Wired is not demonstrated: the difference between a venue family the code supports and one exercised against real chain stateSupport decomposes into three independent stages — found, priced, executed — and a table that reports the union inflates. Five families work end to end, four have been demonstrated against real chain state, and the three rows that fail are described rather than hidden.10 min · engineering · updated 2026-08-26
- Metrological Design: the theory behind a contract that measures instead of believingMetrological Design is the BlazePhoenix engineering method: build the contract as an instrument. Code that believes is attack surface; code that measures is defence. The three rules — one morphism, measured coordinates, monotone inputs — and the real mechanisms that instantiate them.10 min · engineering · updated 2026-08-26
- The Shared-Quantity Register: how we hunt the bug class that type systems cannot catchIn every security review of this codebase the dominant defect was two places answering the same question with different answers, and nothing forcing them to agree. A type system cannot catch that; enumeration can — the register, the four row states, and why WEAK is more dangerous than OPEN.9 min · engineering · updated 2026-08-26
What learned state may change, and what it may never touch.
What an exit probe, a sell simulation and a dated reading can and cannot prove about a token you do not control.
- The exit probe: measuring whether a token can be sold with one view callBefore a trending token earns a radar seat, BlazePhoenix asks the on-chain Quoter to route one whole token into the chain's stablecoin. What that view call measures, how it is classified, and what it cannot see.6 min · engineering · updated 2026-10-05
- Exit route vs sell simulation: what each token check provesAn exit route says a way out exists through live liquidity; a sell simulation says a sale from a wallet went through. Different questions, different blind spots — a careful check uses both.5 min · intermediate · updated 2026-10-05
- Why honeypot checkers disagree about the same tokenTwo scanners, one token, opposite answers. The split usually comes from method, timing, wallet and size rather than a broken tool. How to read it and how to resolve it.5 min · intermediate · updated 2026-10-05
- Why every X-Ray result carries a timestampA token check is true at one block. Printing the time with the result — on the page, the share image and the link preview — keeps an old reading from passing as a current one.4 min · intermediate · updated 2026-10-05
- A token that sells today can be closed tomorrow: the powers that change the exitA clean check is a reading at one block. The contract powers and pool events that can close an exit after you buy, and how to see which ones a token still has.5 min · intermediate · updated 2026-10-05
Earn your way in. The open smart-contract bug bounty pays for findings that harden the contracts, and a 130,000,000 BZPX airdrop is coming to the wallets that were real — measured, not farmed, with rules sealed until the snapshot so they cannot be gamed.
- The BZPX airdrop: 130,000,000 tokens, coming soonA 130,000,000 BZPX airdrop is coming to the wallets that actually used the protocol — not insiders, not sybil farms. The eligibility rules stay sealed until the snapshot so they cannot be farmed. Here is what is known about the BZPX airdrop on Base, and how to be in the room when it opens.5 min · intermediate · updated 2026-10-05
- BlazePhoenix bug bounty is open: break the contracts, get paidThe BlazePhoenix bug bounty is open from 25 September to 7 November 2026 (23:59 UTC) and covers six surfaces: the DEX contracts, the staking engine, the public API, the MCP server and agent surfaces, the SDK and the website. Responsible disclosure, public repos, real invariants to break.5 min · intermediate · updated 2026-09-30
- Coming: the BZPX airdrop, a bug bounty, and a paid improvement-proposal programmeThree programmes in preparation — a BZPX airdrop, a security bug bounty, and paid bounties for accepted developer improvement proposals. What each one is, what it is not, and why no dates or amounts appear here yet.5 min · intermediate · updated 2026-07-27
What a machine-checked property actually proves, the dimensions it cannot see, and the defences that hold when a market turns adversarial.
- The two-tier capacity clamp: refusing trades a pool cannot absorbWhy BlazePhoenix caps per-pool trade size against real holdings — with the measured case of a 117x phantom quote and a 27% loss that the clamp turns into a refusal.6 min · engineering · updated 2026-10-05
- The believability band: a manipulation-robust price without an oracleWhy BlazePhoenix defends pricing with a band around a capital-anchored reference instead of trusting a single quote — resistant to one poisoned pool. The band shipped at ±4% and was widened to ±5% against live venue data — because a tolerance is a measurement, not a decoration.7 min · engineering · updated 2026-08-26
- The enforced invariants: INV-1 to INV-22, properties that hold in every reachable stateTwenty-two properties hold in every reachable state of the BlazePhoenix contracts — not monitored, enforced: a transaction that would violate one does not execute. The full enumeration with enforcement sites, and three you can spot-check from a terminal in a minute.10 min · engineering · updated 2026-08-26
- Stochastic invariants: holding under noise, not just at the averageWhy BlazePhoenix V2 states its guarantees to survive random and adversarial variation in pool state, not merely the expected case. Specified and under audit.7 min · engineering · updated 2026-08-05
- Invariant-driven design: what a conservation law proves, and the dimension it cannot seeAn invariant makes a forbidden state unreachable, not just observable — but it only guards the dimension it measures. A correct invariant over the wrong axis passes forever while the real defect compounds: false confidence, which is worse than no guard at all.9 min · engineering · updated 2026-07-29
- When invariants meet time: the vulnerability class conservation cannot detectA conservation invariant answers how much value exists — not when it was earned or who was present. Value accrued over time needs those trajectory answers, and no conservation check gives them. Its defect family leaves the books balanced to the wei while the wrong party is paid.11 min · engineering · updated 2026-07-29
- Stateless by design: a contract that holds nothing is a contract that cannot lose itThe smallest attack surface is the state you do not keep. A contract that returns to rest holding no funds and no cross-transaction memory removes whole vulnerability classes by construction — the ephemeral, contract-level counterpart to the statelessness direction the base layer itself is taking.9 min · engineering · updated 2026-07-29
- Invariant-driven design: how a codebase can make an AI stop guessingA language model hallucinates where nothing can contradict it. Systems built so that every claim carries its own falsifier — and that refuse to answer rather than guess — give a model something to check against. The engineering pattern, and why it generalises far beyond DeFi.16 min · engineering · updated 2026-07-27
- The Nakamoto Test: five questions that measure any protocol against the original visionSatoshi's whitepaper opens with one idea — value moving "without going through a financial institution" — and Ethereum generalised it to computation. The Nakamoto Test turns that founding vision into five falsifiable questions, and runs BlazePhoenix through them honestly.6 min · intermediate · updated 2026-07-20
- Phantom liquidity: when pools advertise depth they do not holdThe capital-anchor doctrine: how BlazePhoenix filters quote-manipulation by anchoring route selection on real token balances, with a measured case where two dead pools outvoted a $401k pool.7 min · engineering · updated 2026-07-17
- The iron floor: a minimum output the contract re-derives for itselfHow BlazePhoenix computes minOut on-chain at execution time — callers can tighten it but never relax it — and why per-leg floors stop sandwich decomposition.6 min · engineering · updated 2026-07-17
- Provable staking solvency: an invariant anyone can check, any blockThe BlazePhoenix staking engine exposes isSolvent() and a 13-field solvency() report on-chain. What the invariant covers, how the live report works, and how to reproduce it.6 min · engineering · updated 2026-07-17
- EIP-1153 transient storage: route context that cannot outlive the transactionWhere BlazePhoenix uses transient storage (TSTORE/TLOAD): reentrancy locks and fee-on-transfer flags that reset to zero at transaction end by protocol law — cheaper than SSTORE and immune to stale-state bugs.5 min · engineering · updated 2026-07-17
- Renouncing power without abandoning the protocol: the control/curator splitBlazePhoenix separates CONTROL (parameters, upgrades, funds — renounceable) from CURATION (candidate maintenance — operational), so decentralization does not have to mean neglect. Plus EIP-7702 as a first-class entry path.6 min · engineering · updated 2026-07-17
- The Master Conservation Identity: making a hidden shortfall unreachable, not just observableOne equation the whole staking book obeys — balance + badDebt = net principal + reserves + accrued-unpaid — enforced per-transaction by a conserves guard. A tx that would leak value reverts itself.7 min · engineering · updated 2026-07-17
- Zero-custody trading bots: an SDK pattern where the bot never touches fundsThe @blazephoenix/sdk pattern for Telegram and Discord bots: the bot quotes and builds the transaction, the USER signs in their own wallet via a deep link — no private keys on the server, no custody, no license burden.5 min · engineering · updated 2026-07-17
- Stateless, serverless, ungovernable: what Web 3.0 was supposed to meanThe BlazePhoenix thesis in three properties: a pure-library Core (stateless), no keeper or off-chain solver anywhere in the critical path (serverless), and every dangerous power permanently renounceable (ungovernable). Not slogans — consequences.6 min · intermediate · updated 2026-07-17
How a quote is computed on-chain, how size is split across venues, and why two aggregators can show the same pair at different prices.
- On-chain quoting: why the price you see is the price the contract computedHow BlazePhoenix computes DEX-aggregator quotes fully on-chain via previewPlan and revert-extraction, why that removes the trusted-API problem, and what exact-mode requoting means for execution guarantees.6 min · engineering · updated 2026-10-05
- Any ticker, one honest answer: resolving symbols by deepest real liquidityHow the BlazePhoenix API turns an arbitrary token symbol into an address: choose the candidate with the deepest verified liquidity, echo the resolution back, and let addresses stay the precision path.5 min · engineering · updated 2026-10-05
- The Eightfold Dispatcher: one quote function for eight species of AMMV2, V3, Algebra, Solidly, Uniswap V4 and native-ETH V4 — one dispatcher returns output, depth proxy and impact hint for any pool kind, asking the pool's own bytecode wherever replication could lie.6 min · engineering · updated 2026-10-05
- Why some Ethereum pairs quote differently here than the price you see elsewhereOn a few Ethereum pairs — stablecoins and correlated assets — our quote can sit below the market. The reason is a deliberate trust boundary, not arithmetic: that depth trades on venue families we excised by choice into our Ethereum registry. How to tell if it affects your trade.7 min · intermediate · updated 2026-10-05
- The median that holds liquidity honest: depth-weighted medians, manipulation cost and the research behind themWhy BlazePhoenix anchors every split on the depth-weighted median of marginal rates, what its 50% breakdown point means in capital, and how recent research on the cost of manipulating AMM-based oracles reaches the same bound.9 min · engineering · updated 2026-09-24
- The mathematics of BlazePhoenix: every formula, and which ones are oursThe complete formula set behind the protocol — the standard AMM invariants we compute and cite, and the original constructions we authored: the Iron Law Φ, the Vitality Field Ψ, the Capital-Anchored Filter and the Master Conservation Identity, derived from the deployed bytecode.9 min · engineering · updated 2026-08-26
- Which DEXes BlazePhoenix routes across, on every chain — and how to verify it yourselfThe eight AMM families the router quotes, what is actually registered on each chain, and the two on-chain reads that let you enumerate the live registry yourself instead of trusting a list that goes stale the week it is written.8 min · intermediate · updated 2026-08-26
- Quoting the Solidly curve on-chain: Newton's method where the naive seed liesThe Solidly/ve(3,3) stable curve k = x3y + xy3 has no clean closed-form output, so it must be solved numerically. The naive constant-sum seed silently saturates; a Newton iteration seeded at the opposite reserve with a half-step clamp matches the live pool within 0.5%.8 min · engineering · updated 2026-08-26
- Padded quotes vs the block price: why a lower number you actually get beats a higher one you do notMany aggregators show an optimistic quote and hide the shortfall inside a 2.5–5% slippage buffer, so the number on screen is not the number you fill. BlazePhoenix quotes the exact block price and executes at tight slippage — and says honestly where it is still weaker.8 min · intermediate · updated 2026-08-26
- The vitality lifecycle: measuring whether a market is alive, not just presentHow BlazePhoenix scores the discovery-to-vitality lifecycle of a token and prunes what goes dormant, so the radar and routing stay on live markets. Design carried into V2.6 min · engineering · updated 2026-08-05
- Why splitting a trade across pools costs less: the convexity behind route splittingPrice impact is convex in size, so one large fill is strictly worse than several smaller ones across independent pools. The saving is not a heuristic — it is Jensen's inequality, and the optimum is the allocation that equalises marginal price across every venue used.10 min · intermediate · updated 2026-07-29
- Defeating dust-pool price manipulation: the capital-anchored split allocatorAn aggregator that picks routes by best marginal price can be fooled by a tiny pool quoting a great rate it cannot honour at size. Anchoring the price filter on the deepest pool by real output-token balance separates price quality from depth and defeats dust-pool manipulation.8 min · engineering · updated 2026-07-27
- The 512-bit multiply: why every BlazePhoenix number is exact to the last weiInside BlazePhoenixMathLib.mulDiv — the full 512-bit multiply-then-divide that computes floor(a·b/d) without ever truncating the intermediate product, using a Newton-Raphson modular inverse that doubles its correct bits each iteration.7 min · engineering · updated 2026-07-21
- Intents vs on-chain routing: two philosophies of the perfect swapIntent-based trading (the UniswapX / CoW-style model) moves routing into an off-chain solver auction; BlazePhoenix moves it INTO the chain. What each design truly buys you, what each asks you to trust, and why we chose the second — an honest comparison.6 min · intermediate · updated 2026-07-20
- The surplus doctrine: when execution beats the quote, the user keeps the differenceBlazePhoenix returns positive slippage to the trader, fee-exempt, enforced in Router bytecode — not a marketing promise. How it works and how to verify it per fill.5 min · engineering · updated 2026-07-17
- The Hub: a self-curating pool registry with fitness evictionHow BlazePhoenix keeps its candidate-pool set honest on-chain: a packed 256-bit slot registry capped at 16 slots, where a challenger must beat the incumbent by a 25% fitness margin to evict it.6 min · engineering · updated 2026-07-17
- CREATE2 discovery: verifying a pool is who it claims to beHow the BlazePhoenix Hub uses deterministic CREATE2 addresses (EIP-1014) to derive where a pool MUST live before trusting it — impersonation becomes an address mismatch instead of an exploit.5 min · engineering · updated 2026-07-17
- Pool vitality: liveness as a measured property, not an assumptionRegistries rot: pools die, liquidity migrates, incentives dry up. BlazePhoenix treats a pool's right to receive order flow as something continuously re-earned through measured vitality — real depth, real quoting, real recency.5 min · engineering · updated 2026-07-17
- The Monoslot: a routing engine's whole memory in one storage wordEvery pool's full state — vitality, depth bucket, kind, fee, timestamps, bridge bit — packed into a single 256-bit slot, so scoring a candidate costs one SLOAD. Measured on a Base fork, a warm swap reads one word where the obvious layout reads several.5 min · engineering · updated 2026-07-17
Accrual over time: accumulators, oracle-free lending, self-driving maintenance and solvency you can check yourself.
- $BZPX: the token, the contract, and how to verify every claim about itThe BZPX token in verifiable facts: the Base contract address, the fixed 180M sixteen-year halving emission, its role in staking and the aggregator, and the on-chain functions that let anyone check the numbers without trusting the team.5 min · intermediate · updated 2026-10-05
- Two accumulators, one stake: paying emission and interest with zero cross-subsidyHow BlazePhoenixStaking runs two MasterChef-style accumulators over a single stake base — one for protocol emission, one for borrower interest — with separate denominators so no role subsidises another, all under one solvency invariant.8 min · engineering · updated 2026-07-21
- The self-cleaning book: keeper-free maintenance carried by ordinary transactionsBlazePhoenix staking has no keeper requirement: every user transaction sweeps a rotating, gas-bounded window of borrowers, liquidates anything underwater and pays the surplus to whoever carried the gas.6 min · engineering · updated 2026-07-17
- Lending without a price oracle: deleting an attack surface instead of defending itIn BlazePhoenix staking the collateral IS the borrowed asset (BZPX both sides), so no price oracle exists anywhere — oracle manipulation, the cause of hundreds of millions in DeFi losses, has nothing to attack.6 min · engineering · updated 2026-07-17
The keyless API, the SDK, agent-native surfaces and the patterns for running them in production.
- One on-chain call for a thousand clients: quote coalescing at the edgeHow the BlazePhoenix public API absorbs traffic spikes without hammering RPCs: request coalescing (singleflight), one-block edge caching, and a meta.cache field that tells every client exactly what happened.6 min · engineering · updated 2026-10-05
- A free DEX aggregator API with no key: quote, sign, send — three calls, zero signupThe BlazePhoenix public quote API needs no API key, no signup and no SDK: one GET returns an on-chain-computed quote, and with a recipient parameter it returns ready-to-broadcast transaction calldata. Open CORS, five chains.5 min · engineering · updated 2026-10-05
- Running a quote API in production: error codes, retries, and rate limits without keysThe operational contract of the BlazePhoenix API: stable machine-readable error codes, retry-after discipline, coalescing that makes polling safe, and why there are no API keys or rate-limit tiers.6 min · engineering · updated 2026-10-05
- Build a price screener in 50 lines: the batch endpoint walkthroughPOST /api/quote/prepare with {"requests": [...]} prepares up to 32 quotes at once; your node answers them in one JSON-RPC batch and /api/quote/decode turns each answer into a quote. The complete pattern for screeners, arbitrage scanners and portfolio dashboards — no key, no infra.5 min · engineering · updated 2026-10-05
- Integrate any bot: keyless, keyed, ethers, viem, Python, and AI agentsOne quote API, every runtime. Copy-paste integration for keyless fetch bots, keyed-RPC servers, ethers v6, viem, web3.py and — as a first-class citizen — LLM function-calling tool schemas so AI agents can trade through BlazePhoenix natively.6 min · engineering · updated 2026-10-05
- The free quote API, the SDK and the MCP server: three doors, one on-chain quoteIntegrating BlazePhoenix: the free keyless HTTP quote API, the TypeScript SDK, and the MCP server that gives an AI agent on-chain quotes as native tools — with the bring-your-own-RPC path for high-volume callers.11 min · engineering · updated 2026-10-05
- Bring your own RPC: run the API, SDK and MCP through your own nodeEvery BlazePhoenix quote now reads the chain through your own node: /api/quote/prepare gives the call, your node runs it, /api/quote/decode decodes it. How that came about, and how to point the SDK and MCP at your endpoint.9 min · engineering · updated 2026-10-05
- A clean protocol an AI agent can trust: BlazePhoenix over MCPMost DeFi is a tangle of off-chain servers an autonomous agent cannot audit. BlazePhoenix is a small, stateless, on-chain surface reachable over MCP — quote, solvency — where every answer carries a fail-closed verdict an agent can act on and an answer engine can cite.8 min · engineering · updated 2026-10-05
- Index our fills: one event topic, every chain, a reproducible volume feedEvery BlazePhoenix fill emits one Swap event with a known topic0. How data platforms, dashboards and researchers can index protocol volume from public logs — and audit our quoted-vs-executed record while doing it.5 min · engineering · updated 2026-07-18
Where the protocol runs, what each chain costs, and how the networks differ in practice.
- Web 2.5 vs Web 3.0: is the chain where the decision is made, or just where it settles?Most "DeFi" is Web 2.5 — the blockchain is a settlement rail for decisions made on off-chain servers you must trust. Web 3.0 puts the decision itself on-chain. The one test that tells them apart, and why it is the whole game.9 min · intermediate · updated 2026-07-28
- BlazePhoenix on Robinhood Chain: on-chain aggregation across seven venuesHow the BlazePhoenix aggregator is deployed and wired on Robinhood Chain (id 4663): the Router, Quoter, Hub and Solver, the seven liquidity venues it routes across (Uniswap V2/V3/V4, PancakeSwap V2/V3, SushiSwap V3, SwapHood V2), USDG + WETH as bridge assets — every address verifiable on Blockscout.6 min · intermediate · updated 2026-07-22
The rest of the corpus: the concepts every other article assumes you already have.
- The primitive equations of Version 2: E1–E31, the combined table (historical)Historical reference: the Version 2 combined table, in which every quantitative claim reduced to one of thirty-one primitive equations, E1–E31, across routing, staking and operations. The current whitepaper, v2.3, carries E1–E26 and INV-1–INV-22; cite that one.11 min · engineering · updated 2026-10-13
- Copyright, AI training, and who owns BlazePhoenixWho owns the BlazePhoenix source and architecture, the license split (BUSL-1.1 code, CC BY content), and the machine-readable AI / text-and-data-mining terms: training licensed on attribution, cloning and redeployment reserved, the work free to cite. The legal basis, by jurisdiction.8 min · intermediate · updated 2026-10-02
- The eighteen innovations of BlazePhoenix-Dex: the complete map, with the mathematicsEvery mechanism that lets BlazePhoenix-Dex quote, route and settle a trade with no server, no oracle and no keeper — Quote ≡ Execution, the Meta-Equation, the Eightfold Dispatcher, V4 in-frame, the Monoslot, the Vitality Field, the Iron-Law floor and more — each with its equation and its section.12 min · engineering · updated 2026-09-24
- Quote ≡ Execution: the one-evaluator architecture that closes the aggregator trust gapWhy every off-chain aggregator has a gap between the quoted number and the executed one, how BlazePhoenix closes it by running one dispatcher in the planning call and in the executing frame, and the 64-out-of-64 study that measures it.8 min · engineering · updated 2026-09-24
- Screening Uniswap V4 hooks by arithmetic: why BlazePhoenix never asks a hook anythingA V4 hook is arbitrary code inside your settlement. BlazePhoenix refuses delta-altering hooks with a bit test on the hook address — before any token moves and without calling it — backed by a codehash-pinned allow-list and the projector Ξ.7 min · engineering · updated 2026-09-24
- The One-Callback Doctrine: one fallback for every V3-shaped venue, guarded three waysUniswap V3, Algebra, Pancake V3, Sushi V3 and the concentrated Solidly forks each call back under a different name. BlazePhoenix answers all of them with one fallback, the leg context in EIP-1153 transient storage and three guards that bound what it can pay.6 min · engineering · updated 2026-09-24
- The byte–gas exchange rate ρ*: when to solve on-chain and when to carry the route in calldataEvery chain prices bytes and computation differently. BlazePhoenix measured the exchange rate between them — ρ* of 66.9 to 105.5 gas per byte by route shape — and turned the Router's four doors into the affine cost model that picks the cheaper one.6 min · engineering · updated 2026-09-24
- Measurement at every seam: how the Router refuses to believe a transfer happenedThe BlazePhoenix Router measures every pull, every hop arrival and every delivery as a real balance delta — which is why fee-on-transfer and rebasing tokens cannot push it into over-promising, and why it holds nothing at rest.7 min · engineering · updated 2026-09-24
- The One-Way Door: renunciation written in bytecode, and why the fee never had a setterBlazePhoenix separates what was never settable — the fee, the split, the floors — from what a key can do before renunciation, and ends that key irreversibly in bytecode with renounceControl.6 min · engineering · updated 2026-09-24
- The Fidelity Matrix: preview against delivery, measured to 0–1 bps on four chainsA standing fork instrument quotes, executes and settles real pairs on Arbitrum, Base, Optimism and Robinhood Chain, printing preview against delivery. Measured spread: 0–1 basis points on every executed pair, all four chains — with a permanent 50 bps alarm wired into CI.8 min · engineering · updated 2026-08-26
- The Factory Census: measuring venues by the pairs they win, not the logos they addEvery venue on every chain, three columns: registered, holds a pool, won the pair. Every leg of every winning route traces to a named factory — zero unexplained — and on Arbitrum the V4 family wins 48 of 88 hop-pairs, more than any incumbent, and Optimism records its first V4-routed aggregation.8 min · engineering · updated 2026-08-26
- Deterministic V4 discovery: finding every hookless pool without a factory, a list, or a deployer to trustUniswap V4 has no factories or registry — every pool is keccak256(PoolKey) in one singleton. BlazePhoenix derives hookless ids over the canonical fee grid and probes them in one gas-free extsload: 99 calls become one, deployer-blind. Hooked pools remain unenumerable on-chain by construction.9 min · engineering · updated 2026-08-18
- BlazePhoenix V2: gasless, chain-agnostic, and engineered so whole classes of bug cannot occurAn overview of the BlazePhoenix V2 redesign — the primitives it is built on, what changes versus V1, and its status: specified and under audit, not yet live on mainnet.7 min · engineering · updated 2026-08-05
- Computable gas bounds: routing that cannot be gas-bombedA V2 primitive: bounding the gas of every route so a crafted pool cannot make execution unpredictably expensive or revert. Specified and under audit.6 min · engineering · updated 2026-08-05
- The universal AMM primitive: one abstraction over every curveHow BlazePhoenix V2 routes across constant-product, stable and concentrated-liquidity pools through a single mathematical interface instead of per-DEX handlers. Pre-audit design.7 min · engineering · updated 2026-08-05
- Result verification: measure what arrived, do not assume itA V2 anti-honeypot primitive: the router checks the tokens actually received after a trade, so fee-on-transfer traps and honeypots revert instead of settling. Specified, pre-audit.6 min · engineering · updated 2026-08-05
- The meta-equation: projecting invariants onto the measured stateThe organising idea of BlazePhoenix V2 — every guarantee is a projection of an invariant onto what the chain actually measured, never onto a nominal assumption. Pre-audit.7 min · engineering · updated 2026-08-05
- Gasless execution in V2: swap without holding the gas token firstHow BlazePhoenix V2 targets gasless entry using signed authorisations and permit-style flows, so a first-time user can swap without pre-funding gas. Specified, pre-audit.6 min · engineering · updated 2026-08-05
- Agnostic routing: the same router on every chain and every venueWhy BlazePhoenix V2 is designed to be chain- and pool-agnostic — identical bytecode and logic across networks and DEX families — and what that buys in safety. Pre-audit.6 min · engineering · updated 2026-08-05
- The BlazePhoenix V2 primitives: safety as a small set of public invariantsThe V2 design in one place — the primitives it composes, why safety is stated as invariants rather than features, and what stays under audit. The shape is public; the recipe is not.8 min · engineering · updated 2026-08-05
- The BlazePhoenix contract architecture: six contracts, one invariant spineThe full on-chain structure of the BlazePhoenix V2 engine — Core, Hub, Router, Solver, Quoter and the Staking book — how they compose, which invariant each enforces, and the canonical addresses you can read on Base, Ethereum, Optimism, Arbitrum and Robinhood Chain.8 min · engineering · updated 2026-08-05
- BlazePhoenix vs the established aggregators: the differences you can verifyA fair, checkable comparison between BlazePhoenix and the mainstream DEX-aggregator model (1inch, 0x, Paraswap, CoW, Matcha): where we are architecturally different, where the incumbents are genuinely ahead today, and the command to verify every claim on our side.7 min · intermediate · updated 2026-08-05
- Measured, not nominal: why a protocol must never trust the number it passed to a tokenA transfer of 100 does not mean 100 arrived. Fee-on-transfer, rebasing and non-conforming tokens break every protocol that credits the requested amount instead of the delivered one — and the fix is a discipline, not a patch: measure the balance delta and treat that as the only truth.10 min · engineering · updated 2026-07-29
- Verify your instrument: the research discipline that decides whether your findings are realMost contested audit findings are faults in the measurement, not the system — and the reverse also happens: a real defect survives because the instrument said it was fine. A negative result is a hypothesis, not a finding, and severity is measured after reachability, never asserted before it.11 min · engineering · updated 2026-07-29
- The probability of a bad fill: execution as a distribution, not a numberA quote is a point estimate; a fill is a draw from a distribution. Separating the deterministic cost you cause from the stochastic cost the market imposes — and bounding the tail with a hard floor rather than a wide tolerance — is the difference between managing execution risk and hoping.10 min · intermediate · updated 2026-07-29
- The mathematics of every AMM family, comparedConstant product, concentrated liquidity and the stable invariants are three different geometries, not three implementations of one idea. Each has a distinct output function, a distinct depth measure and a distinct failure mode — and quoting them with one formula is where integrations break.12 min · engineering · updated 2026-07-29
- Anatomy of a DEX aggregator: the six stages between your input and your outputAggregation is six distinct problems wearing one button: discovery, filtering, pricing, allocation, execution and settlement guarantees. Knowing which stage runs where — and which run off-chain — explains almost every difference between one aggregator and another.12 min · intermediate · updated 2026-07-29
- A technical due-diligence framework for DeFi protocolsEight questions an allocator, auditor or engineer can answer by observation rather than by trusting a team: who can move the funds, does it price without its servers, can every published number be rebuilt from chain state, and what happens on the day nobody is maintaining it.12 min · intermediate · updated 2026-07-29
The BlazePhoenix Lexicon
Terminology coined by the whitepaper — the names are ours:
- The Eightfold Dispatcher Ω
- One quote function spanning eight AMM species (V2, V3, Algebra, Solidly, Curve stable, Curve crypto, Balancer, V4) — closed-form math where formulas are truth, ask-the-pool where replication could lie.
- The Iron Law Φ
- The minimum-output floor rate the Router re-derives ON-CHAIN at execution from measured amounts: callers may tighten it, never relax it; the rate is clamped so it never falls below 80%, and every route leg must deliver at least 80% of plan.
- The Vitality Field Ψ
- The pool-fitness field: swap-count EMA decaying over a ~65,536-block window, weighted by log-depth buckets, +25% bridge / +5% concentration bonuses.
- Deterministic Derivation 𝒟
- CREATE2 address derivation across eight venue shapes — a legitimate pool's address is computable before it exists, so impersonation becomes an address mismatch.
- The Monoslot
- A pool's entire working state packed into one 256-bit storage word, so scoring a candidate costs a single SLOAD instead of several.
- The Self-Healing Registry
- The venue registry that learns liquidity by executing it: every settled swap ticks or inserts a pool; vitality decay and Ψ-ranked eviction curate it with no keeper.
- The Capital-Anchored Filter
- The median filter anchored on the pool with the largest REAL tokenOut balance — truth votes with capital, not with existence.
- The Exact Pass
- Execution-grade requoting by revert-extraction: run the pool's real swap inside a call, revert, decode the deltas — the revert is not an error, it is the answer.
- The One-Way Door
- The irreversible renunciation split: every fund-touching and freeze power can be permanently sealed while grow-only registry powers survive.
- The Master Conservation Identity
- The single equation the staking book obeys, enforced per-transaction by the conserves guard: any transaction that would break it reverts, and anyone can read the result free at any block.
Questions this site answers
Every question below is answered at a canonical page — the same map agents read machine-readably at /topics.json.
Formal treatment with proofs and diagrams: whitepaper (PDF) · quick overview: litepaper (PDF).