Have questions or want the latest news?
Join the PoolTogether Discord or follow us on Twitter:
Documentation
https://v4.docs.pooltogether.com
Deployments
The project is made available as a NPM package.
$ yarn add @pooltogether/v4-peripheryThe repo can be cloned from Github for contributions.
$ git clone https://github.com/pooltogether/v4-periphery$ yarnWe use direnv to manage environment variables. You'll likely need to install it.
cp .envrc.example .envrcWe use Hardhat and hardhat-deploy
To run unit tests:
$ yarn testTo run coverage:
$ yarn coverageMainnet fork tests have been implemented to test the functionalities of the TWAB Rewards contract.
To start the mainnet fork RPC server, run:
$ yarn start-forkTo run the mainnet fork tests for the TWAB Rewards contract, run:
$ yarn twab-rewards-forkIf you wish to run both at the same time, run:
$ yarn run-twab-rewards-forkThis command is used in the Github Actions workflow located in .github/workflows/fork.yml.
Deployment is maintained in a different repo.
Deployment is maintained in a different repo.