Voting application on BNB Chain
Application: https://illerax.github.io/dapp-voting/
Contract: https://testnet.bscscan.com/address/0x0892c7e18354cc66ee328ddcd54d9a07700a89ff
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js
- Configure environment variables
- BNB_TESTNET_RPC_URL
- BNB_TESTNET_PRIVATE_KEY
- BSCSCAN_API_KEY
- Run deploy script
npx hardhat run scripts/deploy.js --network bnbtestnet
npm --prefix frontend start
npm --prefix frontend run deploy