π Bonding Curve Protocol
The bonding curve protocol is Flap's original launch protocol. A token starts on Flap's bonding curve: buyers and sellers trade against the curve, and when the token reaches its supply threshold it is migrated to a DEX, with the curve's reserve added as liquidity. Tokens are launched through the bonding curve Portal, or through VaultPortal to attach a Tax Vault that customises how the tax revenue is distributed.
In this chapter
- Basic Mechanism: how the curve prices a token and when it migrates to a DEX.
- PreBond Tax: how a tax token is taxed while still on the curve.
- Customization Using Vault:
PortalvsVaultPortal, and attaching a vault to a tax token. - Bonding Curve Tax Token V3: the tax token used by bonding-curve launches.
- Agent ID Gate: launches only Agent ID holders can trade on the curve, with a 2% buy cap.
- Build an Indexer: the
PortalandVaultPortalevents to index, and the on-chain reads for a token's state, tax, vault and metadata. - Launch Tokens: prepare the metadata, find the salt, and choose between
PortalandVaultPortal,newTokenV6andnewTokenV7. - Build on the Bonding Curve Protocol: build a Tax Vault and its factory (interfaces, beacon proxy, commission, audit), and its custom UI.
Contract addresses: Deployed Contract Addresses β Bonding curve protocol.