mto-contracts
v1.0.10
Published
how to do a quick test
Downloads
26
Readme
MTO contracts
how to do a quick test
install hardhat prerequisites
Node version 16.*, then:
npm install set up env variables
create .env file from .env.sample
start unit tests
npx hardhat testdeploy all contracts on localhost network
- start hardhat node
npx hardhat node- deploy contracts
npx hardhat run --network localhost scripts/deploy_gateway.js- verify contracts
npx hardhat verify --network localhost <DEPLOYED_CONTRACT_ADDRESS> <TOKEN_ADDRESS>