-
truffle test
-
truffle migrate --network bsctest (then copy the contract address. My contract address is: 0x4DC238F68FC2EA589101f8E6e85E53C8D7E3Cab0)
-
truffle run verify Lottery@contract address --network bsctest
-
For more BNB Test: https://testnet.binance.org/faucet-smart
-
Install Truffle Hdwallet provider: https://www.npmjs.com/package/@truffle/hdwallet-provider (v2.0.0)
-
To find the wallet: https://testnet.bscscan.com/
-
My Smart Contract: https://testnet.bscscan.com/address/0x4E00087197F07094314a6B6FfD54D35b2C2f6074
-
Login and generate BscScan api-key: https://bscscan.com/myapikey
2022 @ Donations address: 0x808ee9973ff652b3Bd2Df33A2eF1AE182335f3f6