πŸ“ˆ 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.
  • Build an Indexer: the Portal and VaultPortal events 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 Portal and VaultPortal, newTokenV6 and newTokenV7.
  • 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.