本页目前只有英文版。

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 (or VaultPortal to 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 curvePool Launch
Starts onFlap's bonding curveA DEX pool, from the first block
LiquidityAdded at migration, from the curve's reserveAdded by the creator at launch
SupplyFixed (1 billion)Chosen by the creator
Reserved supply for a mechanismNoYes, held by a Pool Launch Vault
Tax revenueCustomised with a Tax VaultCustomised with a Pool Launch Vault
Entry pointPortal / VaultPortalPool 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.