Prepare a token launch
prepare_launchMines the vanity salt, computes the start tick, simulates the launch, and returns an unsigned factory transaction plus the predicted token address for the wallet owner to sign and send.
Instructions
Mines the vanity salt, computes the start tick, simulates, and returns an UNSIGNED factory transaction plus the predicted token address. This server never signs or sends anything: the wallet owner signs and sends the returned transaction. There are no defaults for the fee or share settings: ask the owner for suffix, holderShareBps, burnShareBps, creatorBuyFeeBps and creatorSellFeeBps and show them the summary before signing. Creator fees are permanent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| suffix | Yes | 3 to 5 hex characters the token address will end with. No default: ask the owner. | |
| symbol | Yes | ||
| chainId | Yes | 1 Ethereum, 56 BNB Chain, 8453 Base, 4663 Robinhood Chain, 57073 Ink | |
| creator | Yes | The wallet that will send the transaction. It becomes the creator. | |
| firstBuy | No | Creator's own first buy in the native coin, e.g. 0.05. Omit for none. | |
| quoteAsset | No | Approved quote asset address. Omit for the chain's native coin. | |
| tokenSupply | Yes | Whole tokens, 1000000 to 1000000000000 | |
| burnShareBps | Yes | Share of the remaining creator fee that is burned. The creator can change this later. | |
| holderShareBps | Yes | Share of the creator fee sent to holders. 3000 = 30% | |
| creatorBuyFeeBps | Yes | Creator fee on buys, 0 to 1000 (10%). Permanent. | |
| creatorSellFeeBps | Yes | Creator fee on sells, 0 to 1000 (10%). Permanent. |