- User can enter lottery with ETH based on USD fee (let say the entry fee is $50, this will be payed in ETH base on its current price)
- An admin will choose when the lottery is over
- The lottery will select a random winner
You need to add a .env
file with the following content (modified with your personal datas).
ETHERSCAN_TOKEN
is your api key from Etherscan to verify your contracts.
export PRIVATE_KEY=0x123412341234
export WEB3_INFURA_PROJECT_ID=123412341234
export ETHERSCAN_TOKEN=123412341234