Fullstack web3 application template
Install dependencies:
npm installRun local geth node:
npm startOpen a new terminal and deploy the smart contract in the local network:
npm run deploy:localOutput of deployment will display contract address.
Create .env.local file.
Copy contract address and use as REACT_APP_DEV_CONTRACT value.
Run the front end:
cd frontend
npm startAdd local network to Metamask wallet:
- Click "Add Network"
- Network Name: Local Network
- New RPC URL: http://127.0.0.1:8545/
- Chain ID: 31337
- Currency Symbol: GO
- Add Front end tests
- Implement Mythril