Skip to content

HarmonyZKDAO/lossless-core

Repository files navigation

PoolTogether Brand


PoolTogether V4 Core Smart Contracts

Tests Coverage Status built-with openzeppelin GPLv3 license

Have questions or want the latest news?
Join the PoolTogether Discord or follow us on Twitter:

Discord Twitter

Documention
https://docs.pooltogether.com

Deployments

Overview

Periphery and supporting contracts:

Getting Started

The project is made available as a NPM package.

$ yarn add @pooltogether/pooltogether-contracts

The repo can be cloned from Github for contributions.

$ git clone https://github.com/pooltogether/v4-core
$ yarn

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

cp .envrc.example .envrv

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

Testing

We use Hardhat and hardhat-deploy

To run unit & integration tests:

$ yarn test

To run coverage:

$ yarn coverage

Fork Testing

Ensure your environment variables are set up. Make sure your Alchemy URL is set. Now start a local fork:

$ yarn start-fork

Setup account impersonation and transfer eth:

$ ./scripts/setup.sh

Deployment

Testnets

Deployment is maintained in a different repo.

Mainnet

Deployment is maintained in a different repo.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published