Skip to content

plucena-coti/erc20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ERC20 TestToken

A simple ERC20 token deployed on COTI Mainnet for testing purposes.

Contract Details

  • Token Name: TestToken
  • Token Symbol: TT
  • Decimals: 18
  • Initial Supply: 1,000,000 TT (minted to deployer)
  • Deployed Address: 0x37b0FeDCD18121516D591e29D44EeA5bB904bB30

Features

  • Standard ERC20 functionality (transfer, approve, transferFrom)
  • Mint function (owner only)
  • Burn function (any holder)

Prerequisites

  • Node.js v18+
  • npm or yarn

Installation

npm install

Configuration

  1. Copy .env.example to .env:
cp .env.example .env
  1. Add your private key to .env:
SIGNING_KEYS=0xYOUR_PRIVATE_KEY_HERE

Compile

npx hardhat compile

Deploy

Deploy to COTI Mainnet:

npx hardhat run deploy.js --network coti-mainnet

The deployed contract address will be saved to .env as TEST_TOKEN_ADDRESS.

Network Configuration

Network RPC URL Chain ID
COTI Mainnet https://mainnet.coti.io/rpc 2632500

Contract Verification

View on CotiScan: https://mainnet.cotiscan.io/address/0x37b0FeDCD18121516D591e29D44EeA5bB904bB30

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors