This fork is maintained by Metalabel and contains a few small opinionated changes to accommodate our needs. See METALABEL.md for more info ✌️
yarn hardhat node
- Network name:
Localhost
- New RPC URL:
http://{{LOCALHOST URL - ie 127.0.0.1}}:8545
- Chain ID:
1337
Make sure to have node installed, need >= 12. Can find the installation here. A node version manager can also be useful, you can read more about it here.
Install yarn: npm install --global yarn
Confirm the installation: yarn --version
Run yarn install
to add packages
Follow the hardhat network setup instructions in the Metamask network config section up above. If you do not have metamask installed, you can find it here.
Add funds to your wallet, you can find the instructions below in the Commands section.
Setup your .env.local file. Copy over the .env.local.sample file and fill in the values. Message someone else to get the values.
If you are getting an error on the yarn hardhat node
command, you may need to clear out the artifacts/cache. Run yarn hardhat clean
, then try again.
// Send funds to local wallet
yarn hardhat seedAccount --network localhost {{YOUR_WALLET_ADDRESS}}
// Create split with random recipients
yarn hardhat createSplit --network localhost --size {{SIZE}}