This UI is useful for deploying a new set of Prize Pool contracts using the v3 PoolTogether protocol.
This app is live here.
You can easily deploy a prize pool suite of contracts using this app.
To run the project against a local node you can use the pooltogether-contracts. With those contracts you can bootstrap a local Buidler EVM instance with test data so that you can develop the app locally.
Locally, in three seperate terminals run:
npx hardhat node --fork https://eth-mainnet.alchemyapi.io/v2/$ALCHEMY_API_KEY
yarn dev
npx cypress open
Install dependencies:
$ yarn
Make sure you have direnv
installed and copy .envrc.example
to .envrc
:
$ cp .envrc.example .envrc
Fill in your own values for .envrc
, then run:
$ direnv allow
To run the local server, run:
$ yarn dev