Inspiration
Every token launch on Solana gets sniped. Bots buy in the very first block and dump on real buyers seconds later. Launchpads fight back with anti-sniper fees, but those charge everyone who buys early, so the fan who showed up on time pays the same 10% as the bot.
We asked: what if the fee knew who you are? Every Solana wallet's trading history is public, so it can.
What it does
Fairway has three parts on one engine:
- Fairway Check: paste any Solana token or wallet and get a risk rating. Tokens get High / Medium / Low, based on how much of their early supply went to known snipers, fresh wallets and bundles, and how much has already been dumped. Wallets get TOXIC / STANDARD / RETAIL, plus sniper, fresh-wallet and bundle flags.
- Fairway Launch: a launchpad where the fee depends on who you are and how soon after launch you buy. Known snipers pay 10%, fresh wallets 3% (so new wallets don't help a sniper), and proven humans 0.3%, all from block zero.
- Fairway Swap: a DEX with the same tiered fees. Good bots and AI agents pay less; extractive flow pays its fair share.
How we built it
QuickNode Streams. A JavaScript filter reduces every Solana mainnet block to launchpad trades (Pump.fun, PumpSwap, LetsBonk via Raydium LaunchLab, Meteora DBC) and SOL fundings of brand-new wallets, delivered by webhook to our ingest service. We also use QuickNode RPC on mainnet and devnet.
Scoring. For each trade we compute its markout: where the price went about 30 seconds (75 slots) later. With trade price P, the price 30 seconds later P', and s = +1 for a buy or −1 for a sell:
$$m = s \cdot \frac{P' - P}{P} \cdot 10000 \text{ bps}$$
Scores are size-weighted (n = trade size) and shrunk toward zero for small histories, so one lucky trade never labels a human toxic:
$$\text{score} = \frac{\sum n \cdot m}{\sum n + K}, \quad K = 2000 \text{ USDC}$$
A wallet becomes a sniper after consistently profitable early buys across at least 3 launches. Bundles are fresh wallets funded by the same source before buying the same token.
Onchain (Anchor, Solana devnet). The swap reads the buyer's own TraderScore PDA, derived from the signer, so nobody can borrow someone else's score, and charges the fee for their tier and the time since launch. A permissionless settle_markout instruction scores trades onchain against Pyth (or the pool's own TWAP for new tokens), so for trades on Fairway no trusted server decides your fee. Program: 8jo3xry2rp9rQHwPCyh8c9Qwnw2HHa5JvAUiXHo2XPXk.
App. Next.js on Vercel (Swap, Launch, Explore and Check), with Phantom on devnet.
Challenges we ran into
- Streams kept terminating. Ingest rejected every delivery with a 401, because it checked QuickNode's signature instead of our header. Unfiltered blocks were also megabytes each. Fixing the auth check and filtering everything server-side solved it.
- New transaction versions. Mainnet blocks now contain version-1 transactions, so
getBlockneededmaxSupportedTransactionVersion: 1. - An honest economics finding. On liquid pairs, charging bots more cuts what they extract from liquidity providers by 73%, but LP profit stays neutral, because bots also trade less. That's why we focused on launches, where sniper flow serves no purpose.
Accomplishments that we're proud of
- A deployed Anchor program with 46 program tests, onchain scoring against Pyth, and a fee rule nobody can bypass by borrowing another wallet's score.
- Real data: a mainnet capture on 2026-11-20 through our filter gave 359,362 Pump.fun trades across 380 launches, plus LaunchLab and Meteora DBC launches, with 60 real tokens rated in the public app.
- In simulation (200 launches), humans paid 53% less than with time-only anti-sniper fees, and snipers' share of early supply fell from 49% to 27%.
What we learned
How markout and LVR measure informed trading, how to enforce fees with PDAs and oracle checks in Anchor, and how to turn a raw blockchain firehose into a usable product with QuickNode Streams filters.
What's next for Fairway
Launchpad partnerships, an always-on hosted ingest with Postgres, scores as a service (getFeeTier) for other DEXes and launchpads, Jupiter integration, oracle-anchored pricing for liquid pairs, and ZK proofs of trading history.
Built With
- anchor
- next.js
- phantom
- pyth
- quicknode
- react
- rust
- solana
- sqlite
- tailwind
- typescript
- vercel