Registry / networking / bitcoin-remote

bitcoin-remote

JSON →
library0.1.22rscratesunverified

Low-level, Bitcoin Core–compatible JSON-RPC helper crate providing HTTP status mapping, RPC error codes, auth-cookie management, parameter-conversion tables, and UniValue-based request/reply utilities.

# Cargo.toml [dependencies] bitcoin-remote = "0.1.22"
INSTALL
IMPORT
SIG · BITCOIN-REMOTE
B
bitcoin-remote
networkingrustv0.1.22
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use bitcoin_remote::Client;

Connect to a Bitcoin Core node and call RPC methods.

use bitcoin_remote::Client; let client = Client::new("http://localhost:8332", "user", "pass").unwrap(); let block_count: u64 = client.call("getblockcount", &[]).unwrap();
Debug
Known issues
gotchaRequires a running Bitcoin Core instance with RPC enabled.
fix
Ensure bitcoind is running with server=1 and rpcuser/rpcpassword set.
affects: >=0.1.0
Upgrade
Version history
0.1.22latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
34
OpenAI (training)
1
Resources
bitcoin-remote — cargo add bitcoin-remote · libregistry