@mmasood/v4-testnet

1.10.11 • Public • Published

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

/@mmasood/v4-testnet/

    Package Sidebar

    Install

    npm i @mmasood/v4-testnet

    Weekly Downloads

    3

    Version

    1.10.11

    License

    MIT

    Unpacked Size

    35.2 MB

    Total Files

    284

    Last publish

    Collaborators

    • mmasood