th3nolo / v4-core

Core contracts for PoolTogether v4 🌊 πŸ†

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Documentation
https://v4.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 .envrc

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

Deployment

Testnets

Deployment is maintained in a different repo.

Mainnet

Deployment is maintained in a different repo.

About

Core contracts for PoolTogether v4 🌊 πŸ†

License:GNU General Public License v3.0


Languages

Language:TypeScript 56.4%Language:Solidity 39.5%Language:JavaScript 3.8%Language:Handlebars 0.4%Language:Shell 0.0%