LaunchFair Docs

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 SwapFair, LaunchFair's own AMM DEX, with zero price discontinuity and permanently locked liquidity.

Anyone can create a token for free. Every address ends in "fair" so they're instantly recognizable on-chain. During the bonding phase, a 1% sell fee decays to 0% over 7 days, rewarding holders over flippers. A portion of every fee is routed back into the liquidity pool (the flywheel), deepening liquidity with every trade. Once a token hits 200 SOL in reserves it automatically migrates to SwapFair, where liquidity is locked permanently, mint authority is revoked, and dynamic fees continue to compound pool depth. 90% of all protocol revenue is distributed to community participants through The Raise.

1%
Trading fee that decays to 0% over 7 days
90%
Protocol revenue shared with Raise participants
100%
Liquidity locked permanently at migration

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.

1

Creation

Token is minted with 1B supply, metadata uploaded to Arweave via Irys, and bonding curve initialized with virtual reserves.

2

Bonding Phase

Trading happens on-chain via a constant-product bonding curve. Buy fee is a flat 1%, sell fees start at 1% and decay to 0% over 7 days. 20% of all fees stay in the pool as deeper liquidity (flywheel).

3

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.

4

DEX Trading

Trading continues on FairSwap AMM with a different fee structure: a flat 0.1% protocol fee goes to treasury, plus a dynamic LP fee starting at 1% that decreases by 0.05% for every 500 SOL in the pool (floor: 0.05%). Higher liquidity means lower fees for traders.

Token Creation

No fee is required to launch a token on LaunchFair. The platform handles metadata hosting, mint creation, and bonding curve initialization in a single transaction.

// Token parameters (fixed for all launches)
Total Supply: 1,000,000,000 tokens
Decimals: 6
Metadata: Uploaded to Arweave via Irys
Address Suffix: "fair" (vanity address)

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.

275 SOL
Virtual SOL reserves at launch
~$15k
Starting market cap
200 SOL
Graduation threshold

Price Progression

As SOL enters the pool, the price increases along the constant-product curve (x × y = k). Virtual reserves set the initial price without requiring upfront capital.

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.

// Migration parameters
Graduation Threshold: 200 SOL real reserves
Graduation Fee: 30 SOL → token creator
SOL to FairSwap LP: 170 SOL (200 - 30)
Tokens to FairSwap LP: remaining pool tokens
LP Lock: 100% locked permanently
Mint Authority: revoked (no more tokens ever)

Zero Price Discontinuity

Virtual reserves are calibrated so the FairSwap pool price exactly matches the bonding curve price at migration. 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, the fee structure changes: a flat 0.1% protocol fee goes to treasury, plus a dynamic LP fee that starts at 1% and decreases as pool liquidity grows, rewarding deeper pools with lower trading costs.

Dynamic LP Fees

1% LP fee decreasing by 0.05% per 500 SOL in pool, floor at 0.05%. Plus 0.1% flat protocol fee.

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.

FairSwap uses the same constant-product formula (x × y = k) as the bonding curve. The pool is initialized with the exact reserves from graduation, ensuring seamless price continuity.

Mechanics

Fee Structure

LaunchFair uses two distinct fee structures depending on the trading phase. During the bonding curve phase, fees reward conviction and discourage quick flips. After migration to FairSwap, fees shift to a dynamic model that rewards liquidity depth.

Bonding Curve Fees

Applied during the bonding phase (pre-migration). Split: 80% treasury / 20% flywheel.

Buy Fee

1%

Flat rate on all purchases. No decay, no surcharges.

Sell Fee

1% → 0%

Decays linearly over 7 days. 10-minute penalty phase at full 1%.

FairSwap DEX Fees

Applied after migration to FairSwap. Dynamic fees that decrease as pool liquidity grows.

Protocol Fee

0.1%

Flat rate on every trade. Goes directly to treasury.

LP Fee

1% → 0.05%

Starts at 1%, decreases by 0.05% for every 500 SOL in the pool. Floor: 0.05%. Stays in pool reserves.

Sell Fee Decay

The sell fee starts at 1% with a 10-minute penalty phase after buying, then decays linearly to 0% over 7 days. A token-weighted average prevents gaming the decay with dust buys.

The Flywheel Effect

The entire dynamic LP fee stays inside the pool's SOL reserves instead of being extracted. Every trade, buys and sells, thickens the liquidity pool, reducing slippage and improving price stability. As the pool grows, the LP fee decreases (0.05% per 500 SOL), but accumulated liquidity from all prior trades compounds, creating a self-reinforcing cycle of deeper pools.

Fee Split

Treasury (80%)
Flywheel (20%)
LP Fee
Protocol

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 We're Raising

The Raise exists to bootstrap the capital needed to aggressively hire and build out the entire product roadmap: LaunchFair, SwapFair, ChartFair, TradeFair, and RaiseFair. The goal is to demonopolize Solana's DeFi infrastructure by shipping a full-stack alternative that is fairer, cheaper, and community-owned. Every product in the roadmap replaces an incumbent that extracts value without giving anything back. The Raise lets us move fast enough to make that happen.

90%
Revenue Share
Of all protocol fees distributed to Raise participants

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

Trading Fees

80% of the 1% fee (0.8%) on every buy and sell across all bonding curve tokens goes to treasury.

FairSwap Fees

Protocol portion of all DEX trading fees post-migration.

Future Revenue

Any additional protocol-generated revenue flows through the same 90/10 split.

Distribution Events

Ongoing Revenue Share: Participants receive 90% of protocol fees pro-rata as the platform operates.
Token Event: If a $FAIR token is launched, 90% of the allocation is airdropped to Raise participants. Revenue share terminates.
Buyout / Acquisition: 90% of buyout proceeds go to participants pro-rata. Revenue share terminates.
Participants (90%)
Platform (10%)

Product Roadmap

LaunchFair is building a full-stack DeFi ecosystem on Solana. Each phase introduces a new product that plugs into the existing infrastructure.

Phase 1
LaunchFair
Phase 2
SwapFair
Phase 3
ChartFair
Phase 4
TradeFair
Phase 5
RaiseFair
Live

LaunchFair

The foundation of the ecosystem. A token launch platform with bonding curves, flywheel fees that continuously thicken pool liquidity, and time-decaying sell fees that reward conviction over quick flips. Tokens automatically migrate to our own AMM DEX at 200 SOL with permanently locked liquidity and revoked mint authority. Free token creation with vanity "fair" addresses.

Bonding Curve
Fair price discovery
Flywheel Fees
Fees thicken LP
Free Launches
Zero cost to create
Live

SwapFair

LaunchFair's native AMM DEX. Tokens that graduate from the bonding curve migrate seamlessly into SwapFair pools with zero price discontinuity and permanently locked liquidity. Features dynamic fees that decrease as pool liquidity grows, a flywheel mechanism where LP fees flow back into reserves to deepen liquidity, and hold-time carry so your fee decay progress transfers from bonding to DEX.

Dynamic Fees
1% → 0.05% as liquidity grows
Locked LP
100% locked permanently
Flywheel
Fees flow back to LP
Upcoming

ChartFair

A full-featured token analytics and charting platform built for the LaunchFair ecosystem. Real-time candlestick charts, holder distribution analysis, wallet tracking, trade history, liquidity depth visualization, and token discovery, all at a fraction of the cost of existing solutions. Designed to be the go-to analytics layer for every token launched through the platform.

Live Charts
Real-time candlesticks
Holder Analytics
Wallet tracking & distribution
Token Discovery
Trending & new pairs
Upcoming

TradeFair

A professional trading terminal purpose-built for Solana. Fast execution with optimized transaction routing, advanced order types including limit orders and take-profit / stop-loss, real-time PnL tracking, portfolio management, and multi-chart layouts. Everything a trader needs in one interface instead of switching between five different tabs.

Fast Execution
Optimized tx routing
Advanced Orders
Limits, TP/SL, DCA
Portfolio
Real-time PnL tracking
Upcoming

RaiseFair

A decentralized fundraising platform where teams and projects can raise capital directly through LaunchFair. Projects submit proposals, the community votes with their capital, and funds are distributed based on milestone completion. Transparent, on-chain governance for project funding that gives builders a fair path to capital and contributors a real stake in what gets built.

Project Raises
Teams raise on-chain
Community Voting
Capital-weighted governance
Milestones
Funds released on delivery

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

Every connected wallet is assigned a unique 12-character referral code. Share your referral link and earn points when your referrals trade. First-referrer-wins: only the first referral link a user clicks is recorded.

// Referral link format
https://launchfair.app/?ref={your_code}
https://launchfair.app/token/{mint}?ref={your_code}
// Example
https://launchfair.app/?ref=aB3kW9xQ2mNp

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.

// Example token address
7o8htfz4Gc2qUbWqHCgsbHwj6ft53JA9T6ys1z7mfair

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
MIGRATION_THRESHOLD 200 SOL Real reserves needed to graduate
GRADUATION_FEE 30 SOL Paid to token creator at migration
LP_FEE_SOL_STEP 500 SOL SOL threshold per LP fee reduction
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.32.

Launchfair (Bonding Curve)
Hodv7oV5Q6UaKFESAUkE918CDAVupygJkWBveFowtnf2
Token creation, bonding curve trading, fee collection, migration orchestration
FairSwap (DEX)
6LY6s9eiFeUACPMYPye56iJrR24VzW6vG7YJYPybkuc9
AMM pool management, swap execution, dynamic fees, locked liquidity