Token creation callsDocumentation Index
Fetch the complete documentation index at: https://agentflow-fea9d881-feat-republic-narrative.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
LaunchpadFactory.launch(template_id, params, salt). The factory clones the audited implementation for the requested template, initializes it with your params, and returns the deployed instance address. Cost on BSC: under $0.50 total.
Pick a template
| Template | Use it for | Reference |
|---|---|---|
virtuals | Memecoin, agent-of-marketplace token, anything that wants a DEX exit | Bonding curve |
dpnm | Closed-system token with built-in MLM tree, $FLOW-style economics | Closed system |
Required inputs (common)
Display name for the token, e.g. “Hermes Dispatch”.
3–6 character symbol, e.g. “HERMES”.
Optional one-paragraph project description. AI fills metadata, image, tags from this.
ERC20 token used as the pair. On BSC: USDT (
0x55d3...7955) on mainnet, MockUSDT (0xD8bD...F04B) on testnet.Template-specific params: virtuals
Starting price in
paymentToken units per project token. Default: 0.0001.Locked
paymentToken value at which the curve seals and migrates to PancakeSwap V2.Days before a non-graduated curve transitions to
failed. Default: 30.Template-specific params: dpnm
Starting price in
paymentToken per token. $FLOW launched at 0.1 USDT / FLOW.Minimum daily buy limit per user. Default:
50 (USDT). Effective limit is max(dailyLimitFloor, pool * dailyLimitRate).Pool-fraction component of daily limit. Default:
0.001 (0.1%).Income limit multiplier on each buy. Default:
2 (1:2 — buy $50, earn up to $100).Cost in
paymentToken to activate the phenomenal tree for 30 days. Default: 10.Code samples
factory.launch(...) call is always wallet-initiated.
Response
For the REST proxy:AI metadata fill (long description, cover image, tags) is generated off-chain by the
tokens-ai-assist service and stored in the platform DB. The on-chain factory call only takes the parameters above; the metadata layer lives in agentflow-api.