0.1.3 • Published 1 year ago

@losslessproject/testnet v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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:rinkeby
yarn deploy:mumbai
yarn deploy:fuji

Acquire Tokens & Tickets

yarn disburse rinkeby
yarn disburse mumbai
yarn disburse fuji
yarn deposit rinkeby
yarn deposit mumbai
yarn deposit fuji

Test Deployment Scripts

yarn node:rinkeby
yarn node:mumbai
yarn node:fuji