Qubit Exchange — Whitepaper
Version 0.2 · September 2026 · Qubit Laboratory
Abstract
Qubit Exchange is a routing layer for stablecoins and gas across twenty-three networks. One request returns every available route from ten providers — issuer rails (Circle CCTP, USDT0 on LayerZero), intent networks (NEAR Intents, Relay), aggregators (LI.FI, OKX DEX, KyberSwap, Jupiter) a gas refuel network (Gas.zip) and a private multi-hop rail (Houdini) — ranked by the value that actually lands in the user's wallet after every fee. The provider's own fee and the network gas of each route are printed in the quote before the user signs, in the same units, so routes can be compared on one basis. Users earn points on the routes they take; points are the sole basis for the future token distribution.
1. The problem
Cross-chain movement of stablecoins is solved many times over, and each solution is opaque in its own way. Aggregators embed their service fee in the exchange rate and call the route "free". Intent networks split partner fees with the integrator without saying so. Issuer rails such as CCTP and LayerZero OFT deliver 1:1 but charge a message fee in native gas that rose more than tenfold in 2026, so a route that displays the largest output can be the most expensive one. Long-tail networks — X Layer, Plasma, Berachain — are missing from most routers entirely, while their users need bridging and gas the most.
The user is left comparing numbers that are not comparable.
2. What Qubit does
One quote, every route. The quote engine asks each provider in parallel and normalises the answers into one shape: amount in, amount out, provider fee, Qubit fee, time, and the exact calldata to execute.
Ranking by net value. Each route is valued in dollars on a single price basis: stablecoins at par, native tokens at one reference price, provider prices only for other tokens. The network fee paid in native gas is subtracted. Routes are sorted by this net value. If any route cannot be valued, the engine falls back to sorting by output and says so.
Costs in the open. Where a provider charges its own fee, that fee appears in the quote. Where a route costs native gas — a LayerZero message, a CCTP delivery — that cost is priced live and shown apart from the amount being moved, so the number a user compares is the number that arrives.
Coverage where it matters. X Layer, Plasma and Berachain are first-class: OKX DEX for swaps on X Layer, USDT0 issuer rails to X Layer and Plasma, Gas.zip refuels to every network including Solana.
Privacy by a switch. A confidential route settles on NEAR Intents' private relay, a permissioned chain whose balances and swap details are invisible to public indexers. Deposit and receipt on the public chains are unchanged. No wrapped assets, no mixers.
3. Architecture
user wallet ──► apps/web (EIP-1193) ──► apps/api /v1/quote ──► packages/core quoter
│ ├─ providers/* (10 adapters)
│ ├─ prices (net-USD ranking)
▼ └─ fees (routing, gates)
relayer (CCTP delivery) · points (rules, store, indexer)
│
QubitGate.sol on destination / source chains
Adapters are independent. Each returns routes, an explicit "unavailable" reason, or nothing; one failing provider never hides the others.
QubitGate is a small contract deployed per chain — live on Base, Arbitrum, Polygon, X Layer and Plasma. For Circle CCTP it is the mint recipient and the only permitted caller of receiveMessage; it resolves the local token through Circle's TokenMinter, pays the fee to the collector and the remainder to the recipient in one transaction. For LayerZero OFT it is the compose target: the OFT mints to the gate, the endpoint calls lzCompose, the gate splits. For Gas.zip it is the entry point on the source chain: it retains the fee from msg.value and forwards the deposit. Funds never rest on the contract beyond one transaction; a permissioned rescue path exists for malformed messages. Fee caps are enforced in the contract. Ownership sits on a cold wallet.
Relayer. CCTP transfers to the gate are delivered by Qubit's relayer, so recipients need no gas on the destination chain. The relayer verifies the mint recipient is the gate, simulates, and submits.
QubitStaking escrows Qubit NFTs and reports the count per address; the points engine turns it into a profile multiplier. It carries no economics of its own — the collection is set once, withdrawals can never be paused, and an NFT returns only to the address that staked it.
Execute-path discipline. Every money path is exercised on a mainnet fork against the live provider contracts and then with a live micro-transfer before it is enabled for users. Dry runs do not count.
4. Costs
Costs are passed through rather than absorbed. Delivering a CCTP transfer to the QubitGate costs gas on the destination chain — 243 383 gas measured on a live delivery — and that cost is charged to the sender at the price quoted at that moment, displayed apart from the amount being moved. Cost recovery earns no points. Delivery is part of the product rather than a step left to the user: the mint on the destination chain is called by Qubit, so a recipient with an empty wallet still receives the transfer. The estimate carries a margin for gas moving between quote and delivery, and rounding that cannot be expressed in whole basis points is absorbed rather than charged onward.
There are no liquidity-mining emissions, no token-denominated fees, no fee on quotes or approvals, and no spread of Qubit's own hidden inside a rate.
5. Points
Points are earned on the routes a user takes. The amount depends on the route and the size of the trade, and the quote shows it next to the price, so the choice between the best price and the most points is made knowingly. Gas refuels count at 30%. Trades below five dollars earn nothing.
Multipliers stack up to 5×: early seasons (2× in Season 1, 1.5× in Season 2), confidential routes (1.2×), staked Qubit NFTs (1.5× for one, up to 3.5× for five or more), and a first-month bonus for invited users (1.1×). Inviters receive 10% of their invitees' base points and 2% from the second level.
Points are credited only after on-chain confirmation: the transaction must succeed, its sender must be a wallet bound to the profile by signature, and, for bridges, the provider must report delivery. Trades under five dollars, round trips within a day, and volume above a daily cap are discounted. Points are not a token and cannot be transferred.
The season snapshot determines the token distribution, pro rata to points, with eligibility and per-profile caps published before the snapshot.
6. Privacy
Confidential settlement is a switch on a trade, not a separate product. NEAR Intents executes the swap on a permissioned chain whose balances and swap details are not public, at a price within 0.002% of the public route and with the same deposit-and-receive flow. Houdini adds a slower, stronger option: two centralised hops, optionally through Monero, that leave no on-chain path between the sender's address and the recipient's, at roughly double the fees and fifteen to forty-five minutes. Neither claims anonymity toward the venues executing the trade.
7. Roadmap
- Public launch: landing, app, docs, Season 1 (15 September 2026).
- Ethereum gate; Houdini enabled once partner credentials are issued.
- Qubit NFT collection to activate the staking multiplier.
- API keys for builders; public repositories.
8. Risks
Provider contracts and relays are third-party code; Qubit's contract minimises the funds it touches but cannot remove counterparty risk. Provider fees and message costs change without notice; the quote engine reads them live and never caches a price. Points rules may change with public notice; changes apply going forward, never retroactively.
Contact
Qubit Laboratory · qubitlaboratory.net