Establish a dev node #1
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To start the dev node:
address-local.txttext file (gitignored) in the project root and put your public key there (it will be used for setting ETH balance)yarn devAfter dev node is started, watch console for WETH and TW domain addresses and put appropriate env vars to the front-end:
REACT_APP_CHAIN_ID (default is 0x7a69 for local node)
REACT_APP_DOMAIN_ADDRESS
REACT_APP_WETH_ADDRESS
Also switch metamask to using the local node (default port is 8545 and default chain ID is 31337)