Skip to content

Concave-Community/ohm-fork-data

Repository files navigation

ohm-fork-data

Requirements

  • Install Python 3.8
  • Install Poetry

Setup (without Docker)

git clone https://github.com/Concave-Community/ohm-fork-data
cd ohm-fork-data
poetry install
poetry shell

Get snapshot data for forks

Assumes you are still in poetry shell from above.

python ohm_fork_data/get_snapshot.py

Get Farm Data

Now only support curve - 3pool, but more is on the way

python stable_farm_data/get_curve_official_pool_snapshot.py

Get historical data

Assumes you are still in poetry shell from above.

python ohm_fork_data/get_data.py

Setup (with Docker)

Pre-requisite

  1. docker
  2. docker-compose

Install Snapshot data

docker-compose build && docker-compose up snapshot-data

Install Historic data

docker-compose build && docker-compose up historic-data

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages