{"repo":"Blockchain-Technology-Lab/consensus-decentralization","free":true,"listed":false,"github":"https://github.com/Blockchain-Technology-Lab/consensus-decentralization","clone":"git clone https://github.com/Blockchain-Technology-Lab/consensus-decentralization.git","description":"Tool that analyzes blockchain decentralization on the consensus layer by looking at the block production distributions of various blockchain systems.","language":"Python","stars":29,"topics":["blockchain","decentralization","block-producers","blockchain-technology","consensus-layer"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Consensus Blockchain Decentralization This repository provides a CLI tool for analyzing the block production of various blockchains and measuring their subsequent levels of decentralization. Please refer to the project's documentation pages for details on its architecture, required input, produced output, and more. Currently, the supported blockchains are: - Bitcoin - Bitcoin Cash - Cardano - Dogecoin - Ethereum - Litecoin - Tezos - Zcash We intend to add more ledgers to this list in the future. Installation To install the tool, simply clone this project: git clone https://github.com/Blockchain-Technology-Lab/consensus-decentralization.git The requirements file lists the dependencies of the project. Make sure you have all of them installed (preferably within a virtualenv ) before running the scripts. To install all of them in one go, run the following command from the root directory of the project: python -m pip install -r requirements.txt Run the tool Place all raw data (which could be collected from BigQuery for example) in the raw block data directory, each file named as raw data.json (e.g. bitcoin raw data.json ). By default, there is a (very small) sample input file for some supported projects. To use the samples, remove the prefix sample . For more extended raw data and instructions on how to retrieve it, see here. Run python run.py --ledgers ... --timeframe to produce a csv of the mapped data. Note that both arguments are optional, so it's possible to omit one or both ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Blockchain-Technology-Lab","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Blockchain-Technology-Lab/consensus-decentralization/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}