The SPV Nodes Interactive GUI is a graphical user interface (GUI) for interacting with Simplified Payment Verification (SPV) nodes in a blockchain network. It enables users to query blockchain data efficiently without running a full node, making it lightweight and resource-efficient.
- User-friendly GUI for blockchain interactions
- Efficient SPV-based queries without requiring a full blockchain node
- Blockchain data visualization
- Interactive and responsive design
- Backend API for blockchain data management
Ensure that you have the following installed on your system:
- Python 3.8 or later
pip(Python package manager)Graphviz(for visualization)
-
Clone the repository
git clone https://github.com/your-repository/SPV-Nodes-Interactive-GUI.git cd SPV-Nodes-Interactive-GUI -
Install dependencies
pip install -r requirements.txt
-
Ensure Graphviz is installed
- Download and install from Graphviz Official Site.
- Verify installation:
dot -V
To launch the GUI, execute the following command:
python frontend.pyTo start the backend server:
python Backend/backend_api.pySPV-Nodes-Interactive-GUI/
│-- frontend.py # Main GUI script
│-- Backend/ # Backend components
│ │-- backend_api.py # API server for blockchain interaction
│ │-- block.py # Block structure
│ │-- blockchain.py # Blockchain logic
│ │-- blockchain_data.json # Blockchain data storage
│ │-- full_node.py # Full node simulation
│ │-- main.py # Entry point for backend
│ │-- merkle_tree.py # Merkle tree implementation
│ │-- network_simulation.py # Network simulation logic
│ │-- spv_client.py # SPV client functionality
│ │-- transaction.py # Transaction structure
│-- requirements.txt # Required Python dependencies
│-- Procfile # Deployment configuration
│-- README.md # Documentation
│-- image.jpg # UI reference image (if applicable)
└── .git/ # Version control
If you encounter issues, try the following:
- Ensure Python and dependencies are installed properly.
- Check that Graphviz is installed and accessible in your system's PATH.
- Run the script in a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install -r requirements.txt python Backend/backend_api.py python frontend.py