Launching a token
A launch is one instruction, launch_token, signed by the creator. It costs about 127k compute units including an optional dev buy.
What the instruction does
- Creates the Token-2022 mint at
["mint", creator, salt]with the MetadataPointer and TokenMetadata extensions. Name, symbol, URI and description are written into the mint. - Mints the whole supply (1,000,000,000 tokens) to the curve's token account.
- Sets the mint authority, freeze authority and metadata update authority to none.
- Creates the launch's reserve and fee accounts, all PDAs of the program.
- Freezes the launch's economics: phantom reserve, trade fee, platform share, creator tax and fee recipient.
- Optionally executes a dev buy for the creator.
Fields
| Field | Limit | Notes |
|---|---|---|
name |
1–64 bytes | UTF-8 bytes, not characters |
symbol |
1–16 bytes | |
description |
up to 500 bytes | stored on-chain in the mint |
uri |
bounded | off-chain JSON with the image |
x, telegram, website |
up to 100 bytes each | optional |
creator_tax_bps |
0–1000 | 0–10%, on top of the trade fee |
fee_recipient |
any address | default is the creator; fixed forever |
dev_buy |
quote base units | gross, fees included; 0 for none |
dev_buy_min_tokens_out |
token base units | slippage guard for the dev buy |
salt |
16 bytes | makes the mint address unique |
Choices that are fixed forever
The fee recipient and creator tax cannot be changed after launch, by the creator or anyone else. A recipient that a wallet key could change would undo the quantum guarantee.
If fees go to an ordinary wallet, they are only as safe as that wallet's Ed25519 key. To keep them quantum-safe, create a Quantum Vault first and choose it under Advanced → Fees go to.
Defaults
| Setting | USDC | SOL |
|---|---|---|
Phantom reserve V |
4,000 | 25 |
| Graduates at | 10,000 USDC | 62.5 SOL |
| Launch fee | 0 | 0 |
Defaults can be changed by the admin for future launches only. An existing launch keeps the economics it was created with.