Skip to content

Repository files navigation

BNB Token Launchpad 🚀

A decentralized token launchpad platform built on Binance Smart Chain (BSC) that allows users to create, launch, and trade BEP-20 tokens with bonding curve pricing.

Screenshot_1

✨ Features

  • 🪙 Token Creation: Launch your own BEP-20 tokens on BSC with custom metadata
  • 💹 Bonding Curve Trading: Buy and sell tokens with automated pricing
  • 🔗 Multi-Wallet Support: Connect with MetaMask, Trust Wallet, and other BSC-compatible wallets
  • 📊 Real-time Trading: Live trading interface with price charts
  • 👤 User Profiles: Track created tokens and trading history
  • 🌐 Social Integration: Add Twitter, Telegram, and website links to your tokens
  • Blockchain: Binance Smart Chain (BSC)
  • Web3: Wagmi, Viem, Ethers.js, ConnectKit
  • Trading Charts: TradingView Charting Library
  • State Management: React Context API
  • Real-time: WebSocket for live updates

📦 Installation

  1. Clone the repository
git clone <repository-url>
cd Four.meme-token-launchpad-fork
  1. Install dependencies
npm install
# or
yarn install
  1. Set up environment variables Create a .env.local file in the root directory:
NEXT_PUBLIC_BSC_RPC_URL=https://bsc-dataseed1.binance.org
NEXT_PUBLIC_BSC_TESTNET_RPC_URL=https://data-seed-prebsc-1-s1.binance.org:8545
NEXT_PUBLIC_CHAIN_ID=56
NEXT_PUBLIC_CONTRACT_ADDRESS=your_contract_address_here
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=your_walletconnect_project_id
NEXT_PUBLIC_API_URL=your_backend_api_url
  1. Add BNB Icons ⚠️ Place BNB icon images in:
  • public/assets/images/tools/bnb.svg

See ICON_REQUIREMENTS.txt for details.

  1. Run the development server
npm run dev
# or
yarn dev

Open http://localhost:3000 in your browser.

🚀 Deployment

Prerequisites

  • Deploy the token launchpad smart contract to BSC
  • Set up your backend API
  • Configure environment variables for production

Build for Production

npm run build
npm run start

📖 Documentation

🔐 Smart Contract

The platform requires a deployed token launchpad smart contract on BSC. The contract should implement:

  • Token creation with metadata
  • Bonding curve buy/sell mechanism
  • Fee distribution
  • Event emissions for tracking

Contract ABI is available in src/contracts/TokenLaunchpad.json

🌐 Networks

BSC Mainnet

BSC Testnet

📂 Project Structure

├── src/
│   ├── app/              # Next.js app pages
│   ├── components/       # React components
│   │   ├── buttons/      # Button components
│   │   ├── cards/        # Card components  
│   │   ├── creatToken/   # Token creation UI
│   │   ├── trading/      # Trading interface
│   │   └── ...
│   ├── contracts/        # Smart contract ABIs and web3 functions
│   ├── contexts/         # React context providers
│   ├── config/           # Configuration files
│   └── utils/            # Utility functions
├── public/
│   └── assets/           # Static assets (images, icons)
└── ...

📞 Support

Built with ❤️ for the BSC ecosystem

About

This is bnb token launchpad. four.meme fork

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages