yarn install
You have to copy .env.mainnet.local.example
to .env.mainnet.local
and fill in your Infura API key (needed for WalletConnect). The same goes for the .env.rinkeby.local.example
file. The files with .local
ending are ignored by git and can contain sensible information like the Infura API key.
yarn dev
runs the development server and takes the data from the .env.mainnet.
files (configured for ethereum mainnet). Or you run yarn rinkeby
which reads the .env.rinkeby.
files which are configured for rinkeby testnet.
yarn build
builds the app for production and reads the .env.mainnet.
files (configured for ethereum mainnet). Or you run yarn build:rinkeby
for a production build which reads the .env.rinkeby.
files which are configured for rinkeby testnet.
yarn lint
yarn test:e2e
You probably get the best dev experience using VSCode and the following plugins for syntax highlighting, linting, auto-formatting, etc.: