Launch a token
Launching is two steps. First createToken on FactoryV1 deploys your ERC20 with its allocations and metadata. Then createLiquidityAndDistribution opens the Uniswap V3 pool and starts the epoch-based distribution for that token. The wizard in the app walks these same fields; this page explains what each decision means.
1. Token
Name, symbol, an initial allocation list (recipient, amount, and optional vesting start/duration), and optional on-chain metadata (description, links, avatar). Tokens are created via the TokenConfig struct; the wallet you launch with becomes the token owner and can update metadata until it is locked.
2. Market
- Starting price. Expressed as
sqrtPriceX96, the Uniswap V3 price encoding. This sets where trading begins. - Liquidity. How much participation token and distribution token you seed the pool with. For a token you already hold, you approve both amounts to the factory; leftover deposits are refunded after minting.
- Locked forever. The fee tier is fixed at 0.3% and LP tokens are minted straight to the dead address — nobody can ever withdraw this liquidity, including you.
3. Distribution
The sale side of the launch — each field maps straight onto DistributorConfig:
- Epochs. Count and duration. 100 epochs × 1 hour = a ~4 day slow sale; longer windows smooth out price discovery.
- Emission curve. How much of the supply each epoch releases: fixed, linear ramp, or exponential decay (front-loaded). See epoch-based distribution.
- Minimum participation. Filters dust entries per epoch.
- Claim delay. A cooling-off window between an epoch ending and claims unlocking.
- Allowlist (optional). Restrict early epochs to signed wallets; opens permissionlessly after the deadline.
4. Shares & hooks
When each epoch ends, its fund is released and split across configured shares. The protocol fee and the buy-back-and-burn share are injected automatically, so the shares you configure must sum to 100% − protocol fee − buy back & burn. The remaining share is the founder cut, routed to any address via TransferToHook. See buy back & burn.
5. Sign & deploy
- Create and launch the token (owner: your connected wallet).
- Approve the participation token and the distribution token to the factory, then submit the distribution launch transaction.
- You receive the token and distributor addresses. Verify both on the explorer and share the distribution link — participants do the rest.
CreatorOrFactorypolicy, so you (the creator) or the factory operator can release an ended epoch's fund. Your only job is talking to participants.