This is an ERC-20 token demo deployed on the Monad Testnet. This project provides scripts to deploy, batch transfer, and burn tokens using Hardhat.
Before using this project, ensure you have the following installed:
- Node.js (v16 or later)
- A Monad Testnet wallet with testnet funds
- Clone this repository:
git clone https://github.com/htr-tech/MonPaws-Monad.git cd MonPaws-Monad - Install dependencies:
npm install
- Configure environment variables:
- There is an
.envfile in the project root. - Add your wallet private key in the variables:
PRIVATE_KEY=0x...
- There is an
Run the following command to compile the contract:
npm run compileTo deploy the token to the Monad Testnet:
npm run mintAfter deployment, the contract address will be saved in the .env file.
Burn a specified amount of tokens:
npm run burnYou will be prompted to enter the amount of tokens to burn.
Batch transfer tokens to multiple addresses specified in airdrop.txt:
npm run dropFormat airdrop.txt as follows:
0xRecipientAddress1, amount1
0xRecipientAddress2, amount2