Ensure your development environment is ready. Follow these instructions to check. We recommend node v10.19 (v12.14 didn't work w/ create-eth-app).
Clone this repository and run yarn
. Also cd into frontend
and run yarn
.
This project uses buidler. See available commands by running npx buidler
.
yarn start:node
- Deploy contracts to the local network:
yarn deploy:local
- Start the frontend app:
yarn start:app
- In your browser, connect MetaMask to your local Ethereum network:
-
Select
http://127.0.0.1:8545
from the MetaMask network dropdown -
Import an account generated by Buidler EVM (in step 1) using the private key (output from the terminal)
Run yarn test
to run the test suite.