Python Library to Generate Nakamoto Coefficient
Project description
Nakamoto Coefficient
A Python library for measuring the Nakamoto Coefficient of a Sector. Based on the post "Quantifying Dectralization"
Features:
- Nakamoto Coefficient Measurement
- Gini Coefficient Measurement
- Lorenz Curve Plot on Plotly
- Decentralization Plot (Lorenz + Nakamoto Features)
- Custom + Built In Sectors (See Sectors section)
Installation Instructions
$ pip install nakamoto
Sectors
Custom Sectors
This module allows passing a numpy array of data to be processed in order to measure inequality distribution (gini) and decentralization
(nakamoto coefficient). We use CustomSector
for that. Check out the examples.
Repository
Measures Github contributions of all who contribute to a specific repository and determines how decentralized the repository is and the minimum number of developers needed to compromise it.
Market
Measures volume by cryptocurrency exchange using data from CoinMarketCap for a specific currency. Measures how centralized exchanges are in respect to a particular volume of a cryptocurrency and minimum exchanges needed to centralize volume.
Client
Measures decentralization by client usage. Currently scrapes data for combined EVM nodes. Future versions aim to separate the data and have more coins.
Geography
Measures miner decentralization by country. Sames as Client
, measures for combined EVM nodes. Future versions aim to separate
the data and have more coins.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.