A modern Python interface to the Bitcoin Core RPC, offering both synchronous and asynchronous support.
Project description
BitBridge
BitBridge is a modern Python interface to the Bitcoin Core RPC. It provides a seamless way to interact with Bitcoin's underlying protocol, offering both synchronous and asynchronous support. Whether you're building a web application, a backend service, or a data analysis tool, BitBridge makes it easy to integrate Bitcoin functionalities into your Python projects.
Features
-
Synchronous & Asynchronous Support: BitBridge is designed to work in both traditional synchronous environments and modern asynchronous frameworks.
-
Modular Design: Easily extend and integrate BitBridge with other systems, thanks to its modular architecture.
-
Comprehensive RPC Coverage: BitBridge aims to cover all the RPC methods provided by Bitcoin Core, making it a one-stop solution for all your Bitcoin interaction needs.
Installation
pip install BitBridge
Quick Start
from bitbridge import BitBridgeFacade
# Initialize the facade with your RPC server details
bridge = BitBridgeFacade(url="http://127.0.0.1:8332", username="your_username", password="your_password")
# Fetch the best block hash
best_block_hash = bridge.blockchain.get_best_block_hash()
print(best_block_hash)
Status
🚧 Note: BitBridge is currently in its initial development phase.
License
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.
Source Distribution
Built Distribution
Hashes for bitbridge-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9533d8e9690f6354223b2144c4bcde3edb73eea2141a19c48a5feb063f55efa8 |
|
MD5 | 795bd37cc53be9867bb48805ca4ecdf0 |
|
BLAKE2b-256 | 0c06471a8f4aa6423863875f9153671628b780f81bce55e2f3adc742b9c3dd6f |