A block explorer coded in python, built with flask and requests.
Explore the docs »
·
Report Bug
·
Request Feature
Table of Contents
A blockchain explorer written in python which is meant to interface with my other project Python Blockchain
Here's why:
- To provide a front-end to more easily view the chain data
- For fun and learning
- because I have no friends
Be sure to read this readme in full before trying to get set up or submitting any issues to the repo.
Install the requirements with
- pip
pip install -r requirements.txt
- Clone the repo
git clone https://github.com/ock666/python-blockchain-explorer.git
- Install the requirements
pip install -r requirements.txt
- Run explorer.py to start the webpage.
python3 explorer.py
- Start the block explorer with:
python3 explorer.py
-
Provide the address of a blockchain node to the explorer.py CLI
-
Navigate to 127.0.0.1:5000 or $your_local_IP_address:5000
-
The web interface should load immediately, if not check the console window for any errors.
search the chain for block index, transaction hash, or public address to see details of the requested information.
View block data including transactions in blocks.
View details pertaining to an address on the chain, including sent and received transactions, and balance.
View transaction data.
- Create templates for block, address, and transaction views.
- Write functions to return chain data.
- Implement CSS styling.
- Come up with some more ideas for the roadmap.
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this project better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Your Name - Oskar Petersen - oskargjerlevpetersen@gmail.com
Project Link: https://github.com/ock666/python-blockchain-explorer