Skip to content

This project demonstrates how to build an ERC20 token and launch a presale (ICO) campaign on the Ethereum blockchain. The token is written in Solidity and deployed on the Sepolia Testnet for testing before going live on the Ethereum Mainnet. The project integrates with popular wallets such as MetaMask, Phantom, Coinbase, WalletConnect, and Rainbow.

License

Notifications You must be signed in to change notification settings

Large-Diamond/erc20-token-smart-contract

Repository files navigation

ERC20 Token Presale Smart Contract

Build ERC20 Token and Launch a Token Presale

The goal of this exercise is to build Ethereum-based ERC20 token and start a token pre-sale campaign (ICO). The code of token will be written in Solidity. Before we get started, MetaMask must be installed. Throughout this project, we will use Sepolia Testnet.

Requirements

MetaMask, Phantom, Coinbase, WalletConnect, Rainbow wallet.

Network

Sepolia Testnet for testing Ethereum Mainnet for deployment

Token features

  • Type: ERC20
  • Name: ERC20 Token
  • Symbol: ECT
  • Decimal: 18
  • Total Supply: 100 billion

Presale features

  • Presale Supply: 10 billion (10%)

  • Presale Period: 30 days

  • Presale Stage: 4

  • Softcap: 500000 USDT

  • Hardcap: 1020000 USDT

  • Price and token amounts for each stage:

    Stage Price Token Amount
    1 0.00008 USDT 3 billion
    2 0.00010 USDT 4 billion
    3 0.00012 USDT 2 billion
    4 0.00014 USDT 1 billion
  • Options for buying tokens: ETH, USDT, USDC, DAI

  • Claim time: After second public sale ends

  • Minimum amount for buying tokens: 100 USDT

Investors who bought tokens before sofcap reached are listed on early investors and can get bonus tokens after presale ends if unsold tokens exist.

Funtion lists and descriptions

If you want to know more about the functions, please refer to the function description.

License

MIT

About

This project demonstrates how to build an ERC20 token and launch a presale (ICO) campaign on the Ethereum blockchain. The token is written in Solidity and deployed on the Sepolia Testnet for testing before going live on the Ethereum Mainnet. The project integrates with popular wallets such as MetaMask, Phantom, Coinbase, WalletConnect, and Rainbow.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published