/hardhat-viem-demo

This is demo project on how to use hardhat to compile and deploy the contract. The contract is deployed on the Sepolia testnet.

Primary LanguageTypeScript

Test Token

This is a simple ERC20 token contract that is used to demonstrate how to use hardhat to compile and deploy the contract. The contract is deployed on the Sepolia testnet.

Install

npm install

Setup ENV

Before running the test or deploy, you need to setup the environment variables. You can copy the .env.example file to .env and fill in the values.

cp .env.example .env

Compile

npm run compile

Test

npm run test

Deploy:Sepolia

npm run deploy:sepolia

Generate:ABI

npm run generate:abi

Clean

npm run clean