cd Lottery
npm install
cd Front
npm install
1/ Create .env in Lottery folder and put your TEST account. Don't use your real account.
PRIVATE_KEY=**** **** **** **** **** **** **** **** **** **** **** ****
INFURA_URL=******
2/ Call deploy script in order to deploy the smart contract on Goerli Testnet
cd Lottery
npm run deploy
3/ Copy the interface and your account address from terminal
Put copied information and pasted it in /src/utils/lottery.js
npm start
Go to localhost:3000
With Mocha
cd Lottery
npm run test