Introduction
Fair token launches
on Solana
LaunchFair is a token launch platform built on Solana that uses bonding curves, time-decaying sell fees, and flywheel mechanics to create a fairer environment for traders. Tokens graduate from the bonding curve into FairSwap — LaunchFair's own AMM DEX — with zero price discontinuity and permanently locked liquidity.
Token Lifecycle
From creation to DEX
Every token on LaunchFair follows a four-phase lifecycle. Each phase has distinct mechanics designed to ensure fair price discovery and protect early participants.
Creation
Token is minted with 1B supply, metadata uploaded to Arweave via Irys, and bonding curve initialized with virtual reserves.
Bonding Phase
Trading happens on-chain via a constant-product bonding curve. Sell fees decay over 7 days and 20% of all fees stay in the pool as buy pressure.
Migration
At 200 SOL real reserves, the token graduates to FairSwap via CPI. 30 SOL goes to the creator, remaining liquidity is locked permanently, and mint authority is revoked.
DEX Trading
Trading continues on FairSwap AMM with the same fee mechanics. Hold-time carries over from the bonding phase so existing holders keep their fee decay progress.
Token Creation
Creating a token on LaunchFair is free — no SOL required beyond the transaction fee. The platform handles metadata hosting, mint creation, and bonding curve initialization in a single transaction.
Every token address ends in fair, making LaunchFair tokens instantly recognizable on-chain. These addresses are pre-mined using GPU grinding and assigned at creation.
Phase 2
Bonding Curve
LaunchFair uses a constant-product AMM (x × y = k) with virtual reserves to create a smooth price curve from launch to migration. Virtual reserves set the initial price without requiring upfront capital.
Buy & Sell Formulas
Price Progression
As SOL enters the pool, the price increases along the bonding curve. The virtual reserves create a smooth, predictable price trajectory.
Phase 3
Migration to FairSwap
When a token accumulates 200 SOL in real reserves, it becomes eligible for migration to FairSwap — LaunchFair's own AMM DEX. Anyone can trigger the migration; no admin action required.
Zero Price Discontinuity
The virtual token reserves are calibrated so that at migration, the FairSwap pool price exactly matches the bonding curve price. When virtual reserves are removed, the real reserves maintain the same price ratio. Traders see no price drop at graduation.
Creator Reward
The 30 SOL graduation fee is paid to the token creator as a reward for a successful bonding. This incentivizes quality launches — creators only earn if their token reaches graduation.
Phase 4
FairSwap DEX
FairSwap is LaunchFair's native AMM DEX. After migration, trading continues with the same fee mechanics, the same flywheel effect, and the same sell fee decay — plus permanently locked liquidity.
Dynamic Fees
1% max fee decaying to 0% over 7 days. Per-user tracking via on-chain slot-based timestamps.
Locked LP
All initial liquidity is locked permanently. LP tokens are virtual — no one can rug the pool.
Hold Time Carry
Fee decay progress carries over from the bonding curve. If you held for 5 days on bonding, you have 2 days left on FairSwap.
Constant Product AMM
FairSwap uses the same x × y = k formula as the bonding curve. The pool is initialized with the exact reserves from graduation, ensuring seamless price continuity.
Mechanics
Fee Structure
LaunchFair's fee system is designed to reward conviction and discourage quick flips. Buy fees are a flat 1%, while sell fees start at 1% and decay linearly to 0% over 7 days. A portion of every fee stays in the pool as permanent buy pressure.
Buy Fee
Flat rate on all purchases. No decay, no surcharges.
Sell Fee
Decays linearly over 7 days. 10-minute penalty phase at full 1%.
Sell Fee Decay
The sell fee uses a slot-based linear decay system. For the first 10 minutes after buying, sellers pay the full 1% fee. After that, the fee decays linearly to 0% over 7 days.
Anti-Dust-Buy Protection
To prevent gaming the decay system with dust buys, the protocol uses a token-weighted average for the first buy slot. If you buy 0.01 SOL at slot 0 and 10 SOL at slot 100,000, your effective first buy slot will be weighted heavily toward 100,000 — preventing free fee decay from a negligible early buy.
The Flywheel Effect
20% of every trading fee stays inside the pool's SOL reserves instead of being extracted. This creates continuous buy pressure — every trade, whether buy or sell, makes the pool slightly richer in SOL, pushing the price up.
How it works
Fee Split
All trading fees are split between the protocol treasury and the flywheel. This applies uniformly across both bonding curve and FairSwap trading.
Extracted from pool. 90% of this goes to Raise participants.
Stays in pool reserves. Creates permanent buy pressure.
Ecosystem
The Raise
The Raise is LaunchFair's community funding mechanism. Participants contribute SOL, USDC, or USDT and receive a pro-rata share of 90% of all protocol revenue — forever, or until a token event or buyout occurs.
Why 90%?
Most token launch platforms extract 100% of fees for the team. LaunchFair gives back 90% to the community that funded it. This aligns incentives: the more the platform grows, the more participants earn. The team retains 10% for operations and development.
Revenue Sources
0.8% protocol fee on every buy and sell across all tokens on the bonding curve.
Protocol portion of all DEX trading fees post-migration.
Any additional protocol-generated revenue flows through the same 90/10 split.
Distribution Events
Points & Referrals
LaunchFair rewards active traders and community growth through a points system and referral program. Points are tracked on a public leaderboard.
Earning Points
| Action | Points | Details |
|---|---|---|
| Trading | 100 / SOL | Earned on every buy and sell. 5 SOL trade = 500 points. |
| Referral Volume | 50 / SOL | Earned when your referral trades. Their 10 SOL trade = 500 points for you. |
| New Referral | 100 flat | One-time bonus when someone uses your referral link. |
Referral Program
Share your referral link and earn points when your referrals trade. First-referrer-wins — only the first referral link a user clicks is recorded.
Leaderboard
The leaderboard tracks the top 50 traders by PnL, points, and token market cap. Top 3 in each category receive special badges.
Security
On-Chain Guarantees
LaunchFair's security model is enforced entirely on-chain. No admin keys can alter the rules after deployment. The following guarantees are programmatic and immutable.
Mint Authority Revocation
At migration, the token's mint authority is permanently revoked via set_authority(None). No new tokens can ever be created. Supply is fixed at 1B.
Permanently Locked Liquidity
All initial LP tokens at migration are set as locked_lp. The smart contract enforces that lp_supply - withdrawal ≥ locked_lp. No one can rug the pool.
Anti-Snipe: Sell Fee Decay
Fast flippers pay the full 1% sell fee. The 10-minute penalty phase and 7-day decay window discourage bot sniping and frontrunning.
Anti-Dust-Buy Protection
Token-weighted averaging of the first buy slot prevents gaming fee decay with negligible early purchases.
Permissionless Migration
Migration requires no admin approval. Anyone can trigger it once the 200 SOL threshold is reached. The smart contract validates all conditions on-chain.
Fair Addresses
Every token launched on LaunchFair has a Solana address ending in fair. These vanity addresses are pre-mined using GPU-accelerated grinding (OpenCL) and assigned from a keypool at token creation. This makes LaunchFair tokens instantly identifiable on any block explorer or wallet.
Reference
Constants Table
| Constant | Value | Description |
|---|---|---|
| TOTAL_SUPPLY | 1,000,000,000 | Fixed token supply (6 decimals) |
| VIRTUAL_SOL | 275 SOL | Initial virtual SOL reserves |
| VIRTUAL_TOKENS | 1,591,710,758 | Initial virtual token reserves |
| BUY_FEE | 1% (100 BPS) | Flat buy fee |
| SELL_FEE_MAX | 1% (100 BPS) | Maximum sell fee (penalty phase) |
| PENALTY_PERIOD | 10 minutes | Full fee phase after buy |
| DECAY_PERIOD | 7 days | Linear fee decay duration |
| PROTOCOL_FEE | 80% | Fee portion to treasury |
| FLYWHEEL_FEE | 20% | Fee portion staying in pool |
| MIGRATION_THRESHOLD | 200 SOL | Graduation trigger |
| GRADUATION_FEE | 30 SOL | Paid to token creator |
| REVENUE_SHARE | 90% | Protocol revenue to Raise participants |
Smart Contracts
LaunchFair runs on two Anchor programs deployed to Solana devnet. Both programs are written in Rust with Anchor 0.30.1.
Tech Stack
Rust + Anchor 0.30.1 on Solana
Next.js 14 + TypeScript + Tailwind CSS
PostgreSQL + Prisma ORM (Neon)
Arweave via Irys (permanent storage)