Skip to content

Latest commit

 

History

History
112 lines (82 loc) · 1.39 KB

README.md

File metadata and controls

112 lines (82 loc) · 1.39 KB

PoolTogether V4 Testnet

The V4 testnet deployed contracts and essential hardhat tasks.

Getting Started

Install direnv module.

We use direnv to manage environment variables. You'll likely need to install it.

cp .envrc.example .envrc

To run fork scripts, deploy or perform any operation with a mainnet/testnet node you will need an Infura API key.

Disbursement Address

To disburse and deposit you will need to add a list of address(es) to DISBURSE_ADDRESSES.

Example

export DISBURSE_ADDRESSES='0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000001'

Setup

yarn

New Deployments

yarn deploy:goerli
yarn deploy:mumbai
yarn deploy:fuji
yarn deploy:optimismgoerli
yarn deploy:arbitrumgoerli

Acquire Tokens & Tickets

yarn disburse goerli
yarn disburse mumbai
yarn disburse fuji
yarn disburse optimismgoerli
yarn disburse arbitrumgoerli
yarn deposit goerli
yarn deposit mumbai
yarn deposit fuji
yarn deposit optimismgoerli
yarn deposit arbitrumgoerli

Test Deployment Scripts

yarn node:goerli
yarn node:mumbai
yarn node:fuji
yarn node:optimismgoerli
yarn node:arbitrumgoerli