mStable-contracts
mStable-contracts copied to clipboard
feat: local fork setup
Testing branch for setting up a local hardhat node
- ensure NODE_URL is set to an RPC (e.g. Alchemy)
- call with
yarn forknode:start
to start a node - open new terminal window and run
yarn forknode:prepare --account
to prepare a given account (initially it transfers some MTA to the given address, more can be added)
This is useful for testing the frontend.
Need to add local rpc node to Metamark with the following:
RPC URL: http://127.0.0.1:8545/
Chain ID: 31337
Currency Symbol GO
(Not important but good to keep the visual difference between mainnet and test)