Skip to content

Comprehensive ICO smart contract suite featuring token presale, staking, vesting, yield farming, and DeFi mechanisms with Uniswap integration for EVM chains

Notifications You must be signed in to change notification settings

ninjabcsolution/ico-smart-contract

Repository files navigation

ICO Smart Contract Suite

A comprehensive smart contract ecosystem for conducting Initial Coin Offerings (ICOs), token management, and DeFi operations on EVM-compatible blockchains.

📋 Description

This project provides a complete suite of smart contracts for launching and managing cryptocurrency tokens with advanced features including:

  • Token Presale System: Modular presale contracts with role-based access control for conducting secure token sales
  • ERC20 Token with Tax Mechanism: Custom token implementation featuring buy/sell taxes, anti-whale protection, and automatic liquidity provision through Uniswap
  • Staking Platform: Flexible staking contracts supporting multiple duration tiers, dynamic APR adjustments, and reward distribution
  • Vesting Mechanisms: Linear and monthly vesting schedules for controlled token distribution
  • DeFi Features: Yield farming and vault contracts for enhanced token utility

🎯 Key Features

Token Management

  • ERC20 compliant token with extended functionality
  • Anti-whale mechanism to prevent large wallet accumulation
  • Blacklist/whitelist system for address management
  • Automatic tax distribution to charity and development wallets
  • Uniswap V2 integration for decentralized trading

Presale System

  • Secure token sale management
  • Role-based access control (Admin, Owner)
  • Modular architecture for flexibility
  • Support for multiple payment tokens

Staking & Rewards

  • Multiple staking duration options (30, 90, 180, 270 days)
  • Variable APR rates
  • Compound interest calculations
  • Emergency withdrawal functionality
  • Real-time reward claiming

Security Features

  • OpenZeppelin contracts integration
  • Reentrancy protection
  • Access control mechanisms
  • Pausable functionality

🚀 Deployment

The contracts can be deployed to various networks:

  • Ethereum Mainnet
  • Binance Smart Chain (BSC)
  • Goerli Testnet
  • Other EVM-compatible chains

🛠 Technology Stack

  • Solidity ^0.8.17
  • Hardhat - Development framework
  • OpenZeppelin Contracts - Security and standards
  • Uniswap V2 - DEX integration
  • Ethers.js - Ethereum library

📦 Smart Contracts

  1. CWF.sol - Main ERC20 token with tax and anti-whale features
  2. Presale.sol - Token presale management contract
  3. Staking.sol - Staking and rewards distribution
  4. LinearVesting.sol - Linear token vesting schedule
  5. YieldFarming.sol - Yield farming mechanisms
  6. Vault.sol - Secure token vault
  7. PaymentToken.sol - Payment token implementation

🔐 Security

  • Implements OpenZeppelin's battle-tested contracts
  • Reentrancy guards on all critical functions
  • Role-based access control for administrative functions
  • Comprehensive test coverage

📄 License

MIT License - See LICENSE file for details

👥 Author

Ninja Solution


This project is designed for educational and production use. Always conduct thorough audits before mainnet deployment.

About

Comprehensive ICO smart contract suite featuring token presale, staking, vesting, yield farming, and DeFi mechanisms with Uniswap integration for EVM chains

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published