How Flamelaunch works
A fully on-chain launchpad. No admin keys, no withheld liquidity. The short version is below — match it against the Anchor source if you want the full story.
Overview
Deposit SOL into a launch. 80% funds the bonded LP (Presale Pool); 20% goes to the Cash prize lottery pot. Each deposit instantly rolls a multiplier that decides how many tokens you receive — bell-curved, median around 0.55×, max 10×.
When the Presale Pool fills, one depositor wins the lottery and chooses: Take Cash (80% of the Cash prize to their wallet) or Burn & Earn (Cash prize buys + burns tokens, winner joins the Hall of Flame and earns from every future launch).
How it works
- 1Creator launchesCreator pays 0.5 SOL, picks a tier (100–3000 SOL), uploads metadata. Token mint is created with 1B fixed supply.
- 2Anyone depositsEach deposit splits 80/20 into Pool Presale Pool / Cash prize and rolls a multiplier via Switchboard VRF. Per-wallet cap: 20 SOL across 20 rolls.
- 3Presale Pool fillsPresale closes, lottery resolves on-chain.
- 4Winner picks2h window to choose A or B. If they ghost, anyone can settle as A.
- 5LP + distributePresale Pool SOL + 57% of supply → Meteora LP (burned). Depositors auto-receive presale tokens.
- 6If it failsPresale Pool didn't fill by deadline? 80% of every deposit is refundable, no manual step needed.
Tokenomics
Every launch has identical allocation, encoded in the program:
- 57%Liquidity poollocked + burned at TGE — no rug possible
- 39%Depositorsdistributed by roll multiplier when LP launches
- 2%Hall of Flame airdropsplit across past Burn & Earn winners
- 1%Token creator6-month linear vest
- 1%Lottery winner (if Burn & Earn)3-month linear vest — only if winner picks 🔥 over 💰
100% on-chain. No team, no foundation, no unlocks. Unsold presale tokens are burned at finalize.
Winner choice
The lottery winner has 2h to pick:
Burn & Earn pumps the LP price ~1.56× mechanically. Combined with bell-curved rolls, post-burn break-even drops to ~0.64×.
Risks & Transparency
- Rolls are final. Expected value is ~0.55× — the median outcome loses at TGE. Only deposit what you can lose.
- Fully open-source & verifiable. Every instruction — deposits, lottery, LP creation, burns, vests — is on-chain Anchor code anyone can read. The program is deployed with a published source SHA, and the on-chain binary byte-matches the local build (verified via
solana program dump). - 5 audit passes before mainnet. Internal security review identified + fixed: PDA collisions (Pass 4), Switchboard byte-layout drift (Pass 2-3), randomness grinding vectors (Pass 1), refund overflow on the cusp (Pass 1 FR-1), account substitution on buy-and-burn (Pass 3 H-3). All fixes are commented inline with audit references in the source.
- Hardware-backed VRF. Lottery + multiplier use Switchboard On-Demand randomness — signed inside Intel SGX enclaves. Even the keeper bot can't pre-observe the value.
- LP locked at TGE. The Meteora LP position is held by the program PDA after launch — no admin key can withdraw the liquidity. (Admin can reclaim the LP NFT only on the 0.1 SOL smoke-test tier, where they are the sole depositor.)
- Not financial advice. Memecoin launches are high-volatility. Roll distribution is downside-skewed by design — read the math in "How it works" before depositing.