Launchpad Instructions

The Launchpad Program powers the creation of new tokens on Tradersdex before they migrate to the main Swap AMM.

TDEXxqqkyJ4Jh8UtLB5BzYoxbJKHwo3FFGKc5GeS1H6

Core Functions

Function

initialize_pool

buy

sell

migrate_to_swap


Design Notes

  • Curve Types: Support for both SOL and WSOL quote assets, with or without creator fees.

  • Creator Fees: Automatically routed to the creator’s wallet when enabled.

  • IPFS Enforcement: All pools with metadata require a valid IPFS uri, and name/symbol must each be at least 2 characters long.

  • Logs & Indexing: Every buy/sell emits a log_trade_internal instruction to make on-chain indexing and analytics straightforward.

Last updated