Building out the frontend for a simple voting smart contract.
- React
- Typescript
- Web3
- Material UI
- Use Ganache to run a local network
- Use Metamask to connect to the port Ganache is running on. GUI default should be 7545, CLI default should be 8545.
- Make sure the account being used has some eth in it
- Compile the contracts
$ truffle compile
$ truffle migrate
- Build the client
$ cd client
$ yarn
- Run the client
$ cd client
$ yarn start