Example project that shows creation of ERC-20 token on Subtensor EVM. Uses Hardhat and OpenZepplin.
This example project shows the following concepts:
- Hardhat setup (see file hardhat.config.ts)
- Contract deployment to local network and/or testnet
- Reading balance and a few parameters of deployed ERC-20 token
yarn install
yarn run build
yarn run deploy-testnet
yarn run balance-testnet
Note: Requires a local network running, see the EVM Demo repository for more instructions.
yarn install
yarn run build
yarn run deploy-local
yarn run balance-local