let we guess a number between 1 and 6
- node v14.0
- ganache
npm install -g truffle
metamask
-- chrome extension
add some contract code
npm install
will install dependencies from openzeppelintruffle compile
will compile the contracttruffle migrate
will deploy the contract to the current networktruffle test
will test the contract test file
change web code
cd web && npm insatll && npm run dev
change contractAddress(your contract address)
and adminAddress(your wallet address)
in web/lib/web3.js