This repo includes the frontend of the application, which can be used to bet ethereum within a lottery simulation. Everything is compiled and run within a testnet, in this case Rinkeby. Truffle was used to deploy the smart-contract, to find the configuration follow the next link: Lottery-Truffle
- Next.js - Framework used for frontend
- TypeScript - Programming Language fo frontend
- Web3.js - Library to manage transactions among betters wihtin Next.js
- MetaMask - Virtual wallet to hold cryptocurrency
- Infura - API which connects projects to the Ethereum Blockchain
- Solidity - Programming Language for smart-contracts
- Truffle - Framework for deploying smart-contracts
- Change smart-contract's address with yours within ./blockchain/lottery.js
- Besides installing dependencies, compile the project with the following command:
npm run compile