Forked from: https://github.com/OpenZeppelin/openzeppelin-contracts.git
yarn install
yarn test
yarn testDeploy
Create .env
file at the root directory.
@Windows:
echo NULL > .env
@Linux:
touch .env
Write your 12-word secret prase (or mnemonic) In the .env
file. If you don't have, you can create one by using Metamask wallet (Chrome extension).
For example:
MNEMONIC: avocado avocado avocado avocado avocado avocado avocado avocado avocado avocado avocado avocado
Warning! DO NOT disclose your mnemonic.
yarn deploy
Write your deployed contract address and Txhash in .env
file. For example:
CONTRACT_ADDRESS: 0x511DB00D13Cb58B07213Fc640F1Da20E0da0765C
TXHASH: 0x3213f92e9b3a001ece18c1b72731392ef05486595c606bd9c5df0618b8a18e34
yarn evaluate
If you deployed your own contract, modify index.js
file at the root directory.