Developers
Flap has two independent launch protocols, and this guide covers both:
- Bonding curve launch. A token starts on Flap's bonding curve and migrates to a DEX once it reaches its supply threshold. Tokens are launched through
Portal(orVaultPortalto attach a vault). - Pool Launch. A token goes straight into a DEX pool in one transaction, with no bonding-curve phase. Part of the supply can be reserved for a vault that runs a mechanism on it. Developers can also build their own launch page with custom fund-raising before the pool is seeded.
The two protocols use different contracts, and a token belongs to exactly one of them:
| Bonding curve | Pool Launch | |
|---|---|---|
| Starts on | Flap's bonding curve | A DEX pool, from the first block |
| Liquidity | Added at migration, from the curve's reserve | Added by the creator at launch |
| Supply | Fixed (1 billion) | Chosen by the creator |
| Reserved supply for a mechanism | No | Yes, held by a Pool Launch Vault |
| Tax revenue | Customised with a Tax Vault | Customised with a Pool Launch Vault |
| Entry point | Portal / VaultPortal | Pool Launch Portal |
In this chapter
- Deployed Contract Addresses: every contract of both protocols and of Flap's infrastructure, per chain.
- 📈 Bonding Curve Protocol and 🌊 Pool Launch Protocol: each has the same four sections:
- Basic Mechanism: how the protocol works.
- Build an Indexer: the events to index and the on-chain reads.
- Launch Tokens: how to launch a token.
- Build on the protocol: building vaults, Launchers and their UIs.
- Flap Apps: apps whose UI and backend are hosted by Flap, backed by any audited contract.
- Flap Infrastructures: shared services: IPFS gateway (metadata upload and pinning), AI Oracle, Video Generator, Trigger Service, X Verifier, VaultEX, the Flap Shared Indexer (FSI) and the Flap Token Locker.
- Agent Skills: Flap skills for AI agents.
- Protocol Economics: the protocol rates.
The role-based guides from the previous docs (Token Launcher Developers, Vault Developers and the rest of Preview) are being reorganised. Until they move here, read them in the archived docs. Their links keep working.