Skip to main content

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

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bitbridge-0.0.1.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

bitbridge-0.0.1-py3-none-any.whl (7.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page