Create an asset and launch a token
The difference between creating a plain asset and launching a token with a pool, and what each publishes.
Two ways to make an asset#
Create an asset (ISSUANCE) | Launch a token (LAUNCH) | |
|---|---|---|
| What you get | A plain asset, whole supply minted to you | A token plus a public bonding-curve pool |
| Published | The asset identifier and a salted commitment to the supply | Every launch parameter, permanently, and the fee paid |
| Not published | The supply and the holder | Who launched it |
| Name or ticker | A local label in your wallet only; other wallets do not see it | Public, set at launch |
| Trading | Direct exchange with another person | Anyone can trade in the pool |
Create an asset#
The wallet stores the issuance secret and salt before it submits. Keep your backup up to date: lose the secret and you lose the ability to prove the supply cap commitment. Make a new backup after creating each asset.
Launch a token#
- Choose the parameters: name, ticker, decimals, the quote asset, the size of the curve supply, the starting virtual quote reserve, the fee settings and the graduation threshold.
- The wallet previews the launch. The preview completes the parameters with a fresh launch salt and shows the identifiers that will result, including the token asset and pool.
- Submit. The launch uses exactly the previewed parameters.
Public forever: name, ticker, decimals, metadata hash, quote asset, curve supply, virtual quote reserve, fee settings, graduation threshold, launch salt, the asset and pool identifiers, and the launch fee asset and amount. The ledger requires a proof for every launch; with a zero fee the wallet spends one of its own notes back to itself.
A launch and the creator's first buy are two separate transactions. Whoever is ordered first at a new pool gets the launch price; see Ordering risk.
Parameter bounds#
| Parameter | Bound |
|---|---|
| Name | 1 to 32 bytes of text, no outer spaces, no control or invisible characters |
| Ticker | Capital letter, then 1 to 11 capital letters or digits |
| Decimals | 0 to 18, display only |
| Pool fee | 0 to 1,000 basis points (up to 10%) |
| Share of the fee kept by the protocol | 0 to 10,000 basis points |
| Graduation threshold | 0 (never graduates) or a positive amount |
Names and tickers are not unique. Anyone can launch a token with the same name as yours. Always compare the asset identifier.
The module imposes no minimum on launch parameters, so choose a virtual reserve that suits the token. A launch fee is charged in XLH when the network sets one.