yarn
Rename .env.local.example
to .env.local
and fill in the appropriate variables.
yarn start
To run on a testnet, make a copy of .env.local.example
named .env.local
, change REACT_APP_CHAIN_ID
to "{yourChainId}"
, and change REACT_APP_NETWORK_URL
to e.g. "https://{yourNetwork}.infura.io/v3/{yourKey}"
.
If deploying with Github Pages, be aware that there's some tricky client-side routing behavior with create-react-app
.