Fees spike.
You get paid back.
When Solana gets congested, priority fees can jump 100×. Koridor refunds the part of every spike your wallets overpaid, checked transaction by transaction on mainnet and paid from validator collateral.
Recorded mainnet DEX bot over 6 hours, 50% coinsurance. Source: evidence.
The Solana fee market, right now.
Your transactions are the settlement data.
Exact formula
Buy
Your wallets sign. Collateral already locked.
Collect
Every tx you paid for, failed ones too.
Bound
Ceiling and per-leader cap.
Attest
Signed table, hash on-chain. Anyone can recompute.
Settle
You get the claim. Writers get the rest.
A real mainnet wallet, settled on a local chain
Loading the recorded run…
Same code in three places
index/cover.mjs. On-chain the program enforces claim ≤ max payout, a dispute window, a refund timeout and exact lamport conservation.
Built for how Solana prices blockspace.
Koridor uses four things only Solana has. Each one shapes the design.
Local fee markets
Fees are priced per contended account, so each app's bill is its own. Koridor settles per wallet, not on a global index.
Fast slots, rotating leaders
About 200 leaders share an hour of slots. The per-leader cap is measured across that rotation.
100% of priority fees to the leader
Since SIMD-0096, validators earn exactly what apps overpay, making them natural Koridor writers.
Every fee is on-chain
meta.fee, the compute-unit price and the slot leader are public, so anyone can re-derive a claim from mainnet.
Rust · Anchor 0.31 · checked u128 math · per-pool vaults · rounding always favours the vault · 53 integration and property tests, 13 Rust unit tests, 96 JS tests.
What would Koridor have paid this wallet?
Reads the wallet's latest mainnet transactions and runs the oracle's claim code. Nothing is signed.
An index hedge missed the bill. Koridor pays the bill itself.
Bots pay many times the market median, so a cap on a fee index repaid almost nothing.
Index cap vs Koridor, same payers
One real bot, one window
Hard to game, by design.
Priority fees go to the leader, not the buyer. Each card closes one way to profit.
✕Overpay to claim more
Each extra lamport returns at most 50%.
by construction✕Collude with a leader
A leader's share is capped by your spend with other leaders.
—✕Push a market index
Claims use no market statistic.
—✕Wash volume
Koridor is counted in CU, not transactions.
by construction✕Insure someone else
Every insured wallet must sign.
enforced on-chain✕Stack policies
One coverage window per wallet, across all pools.
enforced on-chainNo single key, and no vote, decides your claim.
The program itself re-checks the claim rule, the judges post slashable bonds, and terms freeze when you buy.
- 01Buyterms hashed, committee snapshotted
ask ≥ loss ÷ LR - 02Windowyour own transactions accrue
related leader → 0 - 03AttestM-of-N co-sign, two RPCs agree
lock max(bond, claim) - 04Disputeanyone posts a Merkle row proof
window ≥ min_dispute - 05Settlepaid from the vault, to the lamport
pay ≤ α · Σ excess
The program re-runs the math
Every claim commits its per-transaction rows (receipts_root, count, excess total). Anyone can submit one row, or two adjacent rows, with a Merkle proof: a wrong excess, eligible CU, payer, slot, order or running total voids the claim on the spot. The fee claim can never exceed α × the committed excess.
Judges have skin in the game
An M-of-N committee co-signs every claim, and each co-signer locks max(min bond, claim) of its bond. A proven fault slashes them: half to whoever proved it, half to the treasury. Unbonding is timelocked.
A disputed claim must be defended
Lock a bond during the dispute window and nothing pays out until the quorum rules. If nobody rules, the claim is voided and must be posted again, not kept. Rejected challenges pay the treasury.
Parties never judge
A co-signer cannot be the policy's buyer, one of its insured wallets, or a writer in the same pool. There is no token vote anywhere in the claim path.
Your policy, your rules
At purchase the policy stores a hash of every term its claim depends on and snapshots the committee. Later rotations apply to new policies only.
Can delay, never take
A timelocked guardian can pause payouts for at most a day, with a cooldown, so disputes stay open in an emergency. It cannot move funds or change a claim; the admin can only lower one. Jito tip cover is collateralised in the same vault.
Your price, checkable
The pool commits the pricing dataset hash and the fair premium on-chain; buy_cover refuses asks above the band.
Coalitions stay bounded
With one live policy per wallet, the on-chain max_policy_units caps what any payer group can claim, keeping large leader coalitions inside the analysed bound.
Congestion, replayed honestly
v1.4 Priced for the tail, defined to the byte
Each pool publishes a stress loss per unit and a target loss ratio; the program refuses any ask below it. A fresh congestion reference adds a capped surcharge, a stale one stops sales, and a published gap closes buying before the window starts.
ask ≥ loss ÷ LR + surchargeBuyers declare up to four related validators; their slots pay nothing, and counting one is a provable fault. Every attestation publishes leader concentration; loading prices SIMD-0123 and commission.
slot ∈ related ⇒ excess = 0The fee definition has a version and hash in every policy's terms. A new spec activates only after the timelock, never backwards; rows after it count zero for older policies. Covered fee components are a bitmask per pool.
spec_vN · activates ≥ t + timelockOut-of-range prices, CU and receipt totals are refused on-chain, and an impossible row is a fault. The oracle reads two RPC providers and will not sign when they disagree.
out of range ⇒ reject, never clampA timelocked minimum dispute window, sized from measured re-verification time with a safety factor: about a day for the largest claim. Challenge bonds scale with the claim, between a floor and a cap.
window ≥ rows × 1.1 ms × kA policy can count consumed rather than charged compute for a lower premium, so an inflated compute limit cannot raise a claim. The receipt leaf commits the consumed CU.
cu = min(charged, consumed·(1+b))Natural buyers, natural sellers.
Validators keep 100% of priority fees. Their income rises exactly when apps' costs do.
See the hedge. Budget the fee.
Validators earn the fees Koridor pays out. Relayers get a fee budget they can quote.
Your leader slots vs your worst case
Loading…
Kora · Octane · x402 facilitators
sdk/covered-payer.mjs: drop it into a relayer's signing path to turn a volatile fee bill into a fixed budget.
Tips to the 8 Jito tip accounts measured by balance deltas, under the same leader cap and a per-policy tip-transaction cap. No other product hedges tips.
Where Koridor fits.
| Project | What it sells | Chain | Settles on | Pays your fee bill |
|---|---|---|---|---|
| Koridor | Indemnity on your own fee spend | Solana | Your transactions | yes |
| ETHGas | Blockspace futures | Ethereum | Global base fee | index |
| Raiku | Reserved inclusion | Solana | Delivery | no |
| Jito BAM | Block auction | Solana | — | no |
| Oiler Pitch Lake | Base-fee options | Ethereum / Starknet | Time-weighted base fee | index |
| Nexus Mutual | Hack and depeg cover | Ethereum (+ Solana listings) | Committee vote | no |
| Kora · Octane | Fee relayers | Solana | — | carry the risk |
| Fee index caps (our v0) | Caps on a fee index | Solana | Index | barely |