Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pooltogether/pool-tokenomics-testnet
https://github.com/pooltogether/pool-tokenomics-testnet
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pooltogether/pool-tokenomics-testnet
- Owner: pooltogether
- Created: 2022-04-28T16:41:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-04T16:53:12.000Z (over 2 years ago)
- Last Synced: 2024-04-23T21:42:37.001Z (9 months ago)
- Language: TypeScript
- Size: 1.87 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PoolTogether Tokenomics Testnet
This is a testnet for the new PoolTogether POOL tokenomics.
This testnet requires two OpenZeppelin Defender tasks to run properly:
- [Draw Beacon autotask](https://github.com/pooltogether/v4-testnet-beacon-autotask)
- [Tokenomics Arb Bot autotask](https://github.com/pooltogether/tokenomics-testnet-arb-autotask)# 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:rinkeby
``````.sh
yarn deploy:mumbai
``````.sh
yarn deploy:fuji
```## Acquire Tokens & Tickets
```.sh
yarn disburse rinkeby
``````sh
yarn disburse mumbai
``````sh
yarn disburse fuji
``````sh
yarn deposit rinkeby
``````sh
yarn deposit mumbai
``````sh
yarn deposit fuji
```## Test Deployment Scripts
```.sh
yarn node:rinkeby
``````.sh
yarn node:mumbai
``````.sh
yarn node:fuji
```