cp .env.sample .env
And then populate .env with your endpoints
$ yarn dev
To test the webapp with a local mainnet fork with some pre-filled tokens you can run:
./run_mainnet_fork.sh
The webapp will start in DEV mode and will be available at: http://localhost:3000
The local RPC client (ganache-cli) will be available at: http://localhost:8545
[Important]:
WEB3_INFURA_PROJECT_ID
and ETHERSCAN_TOKEN
variables in the .env file.WEB3_PROVIDER_HTTPS
and WEB3_PROVIDER_WSS
variables in the .env file with your alchemy keyUSE_LOCAL_RPC
variable to TRUE on .env file.Install brownie >= 1.13.2
pip install "eth-brownie>=1.13.2"
Connect to your local mainnet-fork:
brownie console
$ yarn build
$ yarn start
Code style follows prettier conventions (yarn prettier
). Commit messages follow the Conventional Commits spec.