open-index/open-npm huggingface dataset:
npm package: @mmasood/utilities
Description: Shared utility functions across PoolTogether apps
Author: PoolTogether Inc.
Latest version: 0.7.2

# PoolTogether utilities

A collection of various utility functions used across the PoolTogether applications.

## NOTE

Make sure you keep `peerDependencies` and `devDependencies` versions in sync!

## How to use

1. `yarn add @mmasood/utilities`
2. `import * as Utils from '@mmasood/utilities'` OR `import { functionYouWantToUse } from '@mmasood/utilities'`

## Local development

Local development works best with yalc
`yarn global add yalc`

In pooltogether-utilities:
`yarn start`

In the app you're importing pooltogether-utilities:
`yalc link @mmasood/utilities`

When you save changes inside the utilities `src` folder, the package will rebuild and be pushed to all other projects that have run `yalc link @mmasood/utilities`.

## TODO:

- moooooore tests
npm package: @mmasood/v4-pool-data
Description: ![CI](https://github.com/pooltogether/v4-pool-data/actions/workflows/main.yml/badge.svg)
Author: PoolTogether Inc.
Latest version: 1.11.12

![CI](https://github.com/pooltogether/v4-pool-data/actions/workflows/main.yml/badge.svg)

# v4 Pool data

A [Contract List](https://github.com/pooltogether/contract-list-schema) of the latest v4 PoolTogether deployments on mainnets and testnets.

# Installation

```bash
yarn add @mmasood/v4-pool-data
```

# Use

```js
import { mainnet, testnet } from '@mmasood/v4-pool-data';
```

`mainnet` consists of all of the deployments on mainnets (ex. Ethereum, Polygon, etc.)
`testnet` consists of all of the deployments on testnets (ex. Rinkeby, Mumbai, etc.)
npm package: @mmasood/v4-testnet
Description: The V4 testnet deployed contracts and essential hardhat tasks.
Author: PoolTogether Inc.
Latest version: 1.10.11

# PoolTogether V4 Testnet
The V4 testnet deployed contracts and essential hardhat tasks.

# Getting Started
Install `direnv` module.

We use [direnv](https://direnv.net/) to manage environment variables.  You'll likely need to install it.

```sh
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**
```.sh
export DISBURSE_ADDRESSES='0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000001'
```

# Setup
```.sh
yarn
```

## New Deployments
```.sh
yarn deploy:goerli
```

```.sh
yarn deploy:mumbai
```

```.sh
yarn deploy:fuji
```

```.sh
yarn deploy:optimismgoerli
```

```.sh
yarn deploy:arbitrumgoerli
```

## Acquire Tokens & Tickets

```.sh
yarn disburse goerli
```

```sh
yarn disburse mumbai
```

```sh
yarn disburse fuji
```

```sh
yarn disburse optimismgoerli
```

```sh
yarn disburse arbitrumgoerli
```

```sh
yarn deposit goerli
```

```sh
yarn deposit mumbai
```

```sh
yarn deposit fuji
```

```sh
yarn deposit optimismgoerli
```

```sh
yarn deposit arbitrumgoerli
```

## Test Deployment Scripts

```.sh
yarn node:goerli
```

```.sh
yarn node:mumbai
```

```.sh
yarn node:fuji
```

```.sh
yarn node:optimismgoerli
```

```.sh
yarn node:arbitrumgoerli
```