This Python project provides tools to fetch and analyze data from Bitcoin blockchain blocks. It allows users to navigate through blocks, visualize key statistics, and detect potential anomalies in block times and mining fees as selfish mining attacks.
- Fetch block data using the Blockchain.com API.
- Navigate through blockchain blocks forward and backward.
- Select blocks for deeper analysis.
- Visualize various block attributes such as mining fees, number of transactions, and block sizes.
- Perform automatic or manual analysis of block sequences to detect trends or anomalies.
Ensure you have Python 3.x installed on your system. You will also need the following packages:
requestsfor making API calls.matplotlibandnumpyfor data visualization.
- Clone the repository to your local machine:
git clone https://github.com/dyurn/blockchain.git
- Navigate to the project directory
cd blockchain - Install the required Python packages:
pip install requests matplotlib numpy
Contributions to the Blockchain Analyzer are welcome! Here's how you can contribute:
-
Fork the repository. This allows you to freely experiment with changes without affecting the original project.
-
Create a new branch for your feature (
git checkout -b feature/your_feature_name). This keeps your changes organized and separate from the main project. -
Commit your changes (
git commit -am 'Add some feature'). This records your modifications in your local repository. -
Push to the branch (
git push origin feature/your_feature_name). This uploads your branch to your GitHub repository. -
Create a new Pull Request. This notifies the maintainers of the project that you wish to merge your changes into the main project.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Thomas Bottinelli: thomas.bottinelli@esme.fr
- Daniel Eung: daniel.eung@esme.fr
- Alex Xu: alex.xu@esme.fr
- GitHub: dyurn
- With Contributions by: Michel Khazzaka