Skip to main content
The Pump.fun module provides comprehensive integration with the Pump.fun platform and PumpSwap AMM, enabling users to launch meme tokens, trade on bonding curves, and participate in automated market making.

Core Functionalities

Token Launching

Create and launch new tokens on Pump.fun with metadata upload, social links, and initial liquidity

Bonding Curve Trading

Buy and sell tokens using Pump.funโ€™s bonding curve mechanism with automatic Raydium migration

AMM Operations

Full PumpSwap AMM integration with swapping, liquidity management, and pool creation

RugCheck Integration

Automatic token verification submission to RugCheck for community safety

Installation & Setup

1

Backend Configuration

Ensure your backend server is running for metadata uploads and PumpSwap SDK:
2

Environment Variables

Configure required environment variables in .env.local:
3

Import Module

Import the components and services you need:
Backend Dependency: This module requires a backend service for metadata uploads and PumpSwap SDK interactions. Ensure proper server configuration.

Module Architecture

Core Components

PumpfunLaunchSection - Complete token creation interface
Features:
  • Token metadata input (name, symbol, description)
  • Image upload and processing
  • Social media links integration
  • Initial buy amount configuration
  • Automatic metadata upload to IPFS
  • RugCheck verification submission

Core Hook: usePumpFun

The primary hook for Pump.fun interactions:
Hook Functions:
  • launchToken(params) - Create and launch new token
  • buyToken(mint, amount) - Purchase tokens
  • sellToken(mint, amount) - Sell tokens
  • submitTokenForVerification(mint) - Submit to RugCheck

Services Overview

object

Quick Start Examples

Advanced Features

Intelligent Token Routing

The module automatically detects whether tokens are on Pump.fun bonding curves or have migrated to Raydium:

Bonding Curve Visualization

Social Integration & Verification

Utility Functions

object

Integration with Other Modules

Embedded Wallets

Transaction signing and wallet management for token operations

Data Module

Real-time token prices and portfolio tracking

Thread Module

Social sharing of token launches and trading activity

NFT Module

Token-gated NFT access and community rewards

Combined Workflow Example

Error Handling & Troubleshooting

object

Performance Considerations

Backend Optimization: Use backend services for heavy SDK operations to improve mobile app performance and reduce bundle size.
Rate Limits: Be mindful of API rate limits when making frequent price updates or metadata requests.

API Reference

For detailed API documentation, see:
The Pump.fun module provides everything needed to build a complete meme token ecosystem, from viral token launches to sophisticated AMM trading, all with built-in social features and community verification.