yarn
Note: start this in a separate terminal window. This process needs to run continuously
yarn chain
Before deploying the contract, make sure that env variables point the script to deploy on localhost.
export REACT_APP_NETWORK="localhost"
Deploy the contract to the local blockchain
yarn deploy
Next, we will create the actual plots. the following command will create up to 1000 plots. For development purposes, it's recommended that you exit out of the process (ctrl+c) after 10 or so plots. You won't need all 1000 plots for local development
yarn create-plots
First, create a new .env
file in the packages/react-app
directory by copying example.env
(Reach out to Dev Guild facilitators for the related API keys)
Then start the web app locally on http://localhost:3000
yarn start
Metamask points to localhost:8545
's 1337 chain ID as default. This needs to be changed to the chain ID hard hat uses, 31337. Update the chain ID at:
Metamask > Settings > Networks > Localhost > Chain ID