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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d5739a6c262ea99b33cbd19e95f347c662915617b7966eef099aa55097539e7 |
|
MD5 | a63bae837664c5ba6d9f7e130e39246b |
|
BLAKE2b-256 | 45be3becd0267b13516ac9c7886cd9303828c904a75225cf489f707fe796f689 |