Launching a market
Launching takes one transaction. There is no bonding-curve phase, no threshold to cross, no migration: the Uniswap v4 pool exists and its liquidity is locked from that first block.
What you choose
| Field | Constraint |
|---|---|
| Name | 48 characters max |
| Ticker | 2 to 10 characters |
| Image | URI, 256 characters max |
| Description | 512 characters max |
| Basket | One of the baskets the deployment's registry holds (the planned ones are AI, Mega Tech and Index; the bridge rail's example manifest registers Index alone) — fixed at launch, held by the market's vault, which StockFun's owner can upgrade |
| Anti-snipe whitelist | Up to 20 addresses that pay the normal 5 % during the first ten blocks when they trade through the StockFun router; public, immutable after launch. The factory takes it; the app's launch form names none, and says so |
The limits are counted in bytes. They and the whitelist cap are the default settings, which StockFun's owner can change for the markets created afterwards.
Since the eighth audit loop, on 2026-10-06, the app's launch form offers only the baskets it has read from the chain, and reads the chosen one again from the factory just before sending: if its name or its stocks and weights differ from what the form shows, nothing is sent. See The dapp.
The basket is the choice that matters, and it is irreversible: it determines which stocks the treasury will buy and airdrop to holders, for the market's entire life.
What it costs
A flat creation fee, 0.001 ETH by default, plus gas. That is all. The fee is a setting
of StockFun's owner (setCreationFee); zero would make creation free.
The creator's buy in the opening block is optional. You can launch without spending a cent more, or buy at the launch price in the same transaction — the only moment that price is available to you alone. That buy pays the normal 5 %, not the anti-snipe tax. The factory takes it as the ETH sent above the creation fee; the app's launch form sends the fee alone, so this buy, like a whitelist, is made by calling the factory directly.
What happens in the transaction
- The token and the market's
TreasuryVaultare deployed - The creation fee goes to the team wallet
- The ETH/TOKEN pool is registered with the hook, then initialised at the opening tick
- Both liquidity positions are deposited and locked
- Your buy, if you make one
Technical detail in The two-position launch.
What you control, and who controls the rest
You control the name, ticker, image, description, basket and anti-snipe whitelist — and you earn the creator line of every trade, 2 % by default, for the market's whole life. You have no power over the treasury: its stocks go to the token's holders at each airdrop, you included if you hold the token.
No function changes the basket composition once chosen, or your token's supply, and nothing pauses a market. The tax and its split, 5 % and your 2 % by default, are settings of StockFun's owner, which apply to every market from the next swap. The token and the liquidity lock cannot be upgraded; the market's vault and the hook can, by StockFun's owner, with immediate effect: see Trust model.
Two more powers belong to StockFun's owner: emergency mode moves a vault's assets at once, without notice, and the end mode recovers the liquidity of every pool, 30 days after it is announced. See Emergency mode.
What you do not receive
No tokens. Creator allocation is zero on every market without exception, including yours. The entire supply goes into locked liquidity.
If you want to hold your own token, you buy it like everyone else — with the advantage of buying in the launch transaction itself, at the launch price and without the anti-snipe tax.