thomas779 / tokenomics-vesting-schedules

chart vesting schedules for token, equities, or shares. Built using Python (pandas, matplotlib and numpy).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Something cleaner can be done here, but for a fixed emissions curve this should work.

Installation process:

  1. create local environment
# just on the first time do this
python3 -m venv .venv      # sets up the venv first time

# do this every time before starting the server
source .venv/bin/activate

# OR this if you use fish as a shell
source .venv/bin/activate.fish
  1. Install required packages
pip install -r requirements.txt
  1. Run the file
python3 vesting_csv.py

Definitions:

  • token_quantity: percentage of total distributed tokens
  • start_month: month where tokens start to unlock
  • lock_period: how long tokens are locked for
  • unlock_period: token_quantity / lock_period
  • lists with NULL values mean cliff month active

To-do:

  • convert txt to csv
  • chart the emissions schedule

About

chart vesting schedules for token, equities, or shares. Built using Python (pandas, matplotlib and numpy).


Languages

Language:Python 99.9%Language:PowerShell 0.1%Language:Shell 0.0%