In this guide, Metsumi will walk you through the steps to create a launchpad platform for launching tokens with Meteora’s Dynamic Bonding Curve Program.

Features

Integrated with Meteora DBC

Built-in integration for Meteora’s DBC program to create token pools with your DBC config key. You can configure your DBC config key on launch.meteora.ag and get started within minutes.

Advanced Token Analytics

Productin-grade search functionalities and real-time data from websocket APIs. Provide up-to-date information including token price, volume and holder count on your launchpad platform without worrying about the nitty-gritty details of indexing data.

Built-in Trading Interface

Ready-to-use trading interface with all the features you need for users to trade your tokens without leaving the platform. Comprises of with Trading View’s charts and open source Jupiter APIs that includes volume analysis and trading marks.

Tech Stack

  • Next.js
  • TypeScript
  • Tailwind CSS
  • Solana Web3.js
  • Dynamic Bonding Curve SDK
  • Cloudflare R2 for storage

Prerequisites

  • Node.js >= 18.0.0
  • pnpm >= 10.0.0

Setup

1

Clone and Setup Meteora Invent

Meteora Invent is a toolkit consisting of everything you need to invent innovative token launches on Meteora. Run the following command in your terminal to get started.
Terminal
git clone https://github.com/MeteoraAg/meteora-invent.git
Once you’ve cloned the repository, you’ll have a new project directory with a meteora-invent folder. Run the following to install pnpm and the project dependencies.
Terminal
cd meteora-invent
pnpm install
2

Setup Environment Variables

Copy the .env.example file to .env and configure the environment variables.
cp scaffolds/fun-launch/.env.example scaffolds/fun-launch/.env
# Cloudflare R2 Storage
R2_ACCESS_KEY_ID=your_r2_access_key_id
R2_SECRET_ACCESS_KEY=your_r2_secret_access_key
R2_ACCOUNT_ID=your_r2_account_id
R2_BUCKET=your_r2_bucket_name

# Solana RPC URL
RPC_URL=your_rpc_url

# Pool Configuration
POOL_CONFIG_KEY=your_pool_config_key
Getting R2 Credentials
  1. Go to Cloudflare Dashboard
  2. Navigate to R2
  3. Create a new bucket or select an existing one
  4. Go to “Manage R2 API Tokens”
  5. Create a new API token with the following permissions:
    • Account R2 Storage: Edit
    • Bucket: Your bucket name
  6. Copy the Access Key ID and Secret Access Key
  7. Your Account ID can be found in the Cloudflare dashboard URL or in the Account Home page
Getting RPC URL You can get your RPC URL from any 3rd party provider like Triton or Helius.
Getting Pool Config Key You can get your pool config key from Meteora Launch or execute an action with Metsumi to create a DBC config in Meteora Invent.
3

Start the development server

pnpm --filter @meteora-invent/scaffold/fun-launch dev
4

Build the project

pnpm --filter @meteora-invent/scaffold/fun-launch build