Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 703 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 703 Bytes

Subtensor EVM Erc20 token example

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

Running on Testnet

yarn install
yarn run build
yarn run deploy-testnet
yarn run balance-testnet

Running Locally

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