A bonding-curve token launchpad on Base where every token is paired with a real perpetual position on Avantis.
A token's price moves from two sources: trading activity on the bonding curve, and the leveraged performance of an underlying asset (BTC, ETH, SOL, 99+ Avantis markets).
🌐 Live: basefun.app · 🐦 @basefundotapp · 💬 t.me/basefunapp
- Create — pick name, image, underlying market, direction (long/short), leverage (2× / 3× / 5×). Mandatory ≥ $20 USDC initial buy. Supply and fee recipient are immutable at launch.
- Trade — buy and sell with USDC on the bonding curve. 1% swap fee (0.5% protocol + 0.5% creator), paid inline (no claim step).
- Graduate — when the curve hits $10,000 reserve, $9,700 + 242.5M tokens seed a Uniswap V2 pool with LP burned at
0xdead. Post-graduation market cap lands at exactly $40,000. - Trade on Uni V2 — once graduated, the basefun TradeBox routes swaps through the Uniswap V2 router automatically.
Full design in the whitepaper.
- Contracts — Solidity 0.8.24, Foundry.
packages/contracts/ - Web — Next.js 15 App Router, wagmi v2, RainbowKit.
apps/web/ - API + indexer — Fastify, Prisma, viem, Postgres.
apps/api/ - Keeper bot — viem, Avantis integration, auto-migration.
apps/keeper/ - Telegram alerts — @basefunappbot, posts launch alerts.
apps/tgbot/
| Contract | Address |
|---|---|
| FactoryV2 | 0x4ac796dcff36374f3b19dfc0ae1f109e923e48a6 |
| LTFactory | 0xe082d0d78bf83846b0ea321fe794867e4b6c3779 |
| USDC (Base) | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 |
| Uni V2 Router | 0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24 |
| Avantis Trading | 0x44914408af82bC9983bbb330e3578E1105e11d4e |
Both FactoryV2 and LTFactory source code are verified on BaseScan.
pnpm install
pnpm contracts:build
pnpm contracts:test
pnpm db:generate
pnpm devRequired env vars are documented in each app's .env.example:
apps/api/.env.exampleapps/web/.env.exampleapps/keeper/.env.exampleapps/tgbot/.env.example
MIT — see LICENSE.