Skip to main content
A launch is one call to the factory. You pick a launch config and a quote asset, and send the launch fee as value. For a guided walkthrough of the same call, see launching from the factory. Anyone can launch today. canLaunch(address) answers whether a wallet may, in one call.

Launch configs

Configs live in an append-only list, so an id never changes meaning. The owner can edit or disable one, and a disabled config reverts with LaunchConfigDisabled, so read the list when you build the form rather than caching ids. There is one config today, id 0.

Launching with pinned terms

Read previewLaunchEconomics right before launching and pass the result as expectedEconomics. If the owner changes the config in between, the launch reverts with LaunchEconomicsMismatch instead of settling on terms you did not read.
Past a metadata limit the launch reverts with MetadataTooLong.

Launch addresses

The launch deployer derives the curve and token through CREATE2 from your salt, the wallet that started the transaction, and the launch’s own terms. So both addresses are known before you send, and nobody else can take them by sending your salt first. Reusing a salt on identical terms reverts. To mine a vanity address, search salts offline and confirm with predictLaunchAddresses on the launch deployer. It takes the full launch deployment struct and returns (token, curve).

Exempting wallets from the opening tax

An overload adds a final address[] of wallets exempt from the snipe tax. At most 32 entries, past which it reverts with ExemptionListTooLong. The list is fixed at creation. The launching wallet and the creator fee recipient are always exempt.

Launching and buying in one transaction

A launch followed by a separate buy leaves a gap anyone can trade in first. The launch-and-buy router does both in one call. It holds callers to the factory’s launch gate (NotApprovedLauncher otherwise) and records the launch under the wallet that started the transaction.
  • creatorFeeRecipient must be set. Zero reverts with ZeroAddress.
  • The buy’s recipient is exempted for you, so at most 31 extra exemptions.
  • minTokensOut still applies if the curve fills only part of the buy.
  • The value must be exactly the fee plus quoteIn on an ETH launch, or just the fee on an ERC-20 launch, else NativeValueMismatch(sent, expected).

Quote assets

Pass the zero address for ETH, or an approved ERC-20. Approval is set by the owner; an unapproved asset reverts with PairTokenNotApproved. 71 assets are approved today, including USDG and tokenized stocks. Each asset carries its own economics, sized in its own decimals. Only offer an asset that passes both reads below, and format amounts with its decimals rather than 18.