Skip to content

g0drlc/Token2022-Lauchpad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Token2022 Token Launchpad

Overview

The Token2022 Token Launchpad is a decentralized platform built on Solana that enables seamless token creation, fundraising, and distribution using SPL-Token2022. It supports advanced token features such as transfer hooks, confidential transfers, and expanded metadata.

Features

  • Token Creation: Deploy new SPL-Token2022 tokens with customizable parameters.
  • Fundraising Mechanism: Supports fixed-price sales, auctions, and bonding curve models.
  • Liquidity Provision: Integrates with Raydium, Meteora, and Jupiter for automatic liquidity.
  • Vesting & Lockups: Ensures structured token distribution.
  • Multi-Signature & Governance: Supports multisig wallets for secure token management.

Installation & Setup

Prerequisites

Ensure you have the following installed:

Clone the Repository

git clone https://github.com/g0drlc/Token2022-Launchpad.git
cd token2022-launchpad

Install Dependencies

yarn install  # or npm install

Smart Contract Deployment

Build and Deploy

anchor build
solana program deploy ./target/deploy/token_launchpad.so

Initialize Program

solana program invoke --keypair ./keypair.json \
  --program-id <PROGRAM_ID> \
  --data '<encoded_init_data>'

Usage

Creating a Token Sale

yarn run create-sale --token <TOKEN_MINT> --price 1 --amount 100000

Adding Liquidity

yarn run add-liquidity --token <TOKEN_MINT> --amount 50000 --dex Raydium

Claiming Tokens

yarn run claim --wallet <WALLET_ADDRESS>

API Endpoints

Endpoint Method Description
/create-sale POST Create a new token sale
/buy-tokens POST Purchase tokens from a sale
/claim-tokens GET Claim purchased tokens

Security & Audits

The smart contract follows best practices for security, including:

  • Reentrancy protection
  • Access control via multisig and admin roles
  • Comprehensive unit and integration tests

Contributing

We welcome contributions! To contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-name).
  3. Commit your changes (git commit -m 'Add feature').
  4. Push the branch (git push origin feature-name).
  5. Open a pull request.

License

This project is licensed under the MIT License.

Contact

For support, reach out via:

  • X (Twitter): @x80drlc
  • Telegram: @g0drlc
  • GitHub Issues: Open an issue in this repository.

Note: Ensure that program and contract IDs are properly configured before deployment.

Now we are trying my best

Releases

No releases published

Packages

No packages published