Rust client library for talking to Bitcoin Core nodes using JsonRPC.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
src
tests
.gitignore
.travis.yml
Cargo.toml
LICENSE-Apache-2.0
LICENSE-MIT
README.md
rust-toolchain

README.md

Bitcoin RPC Client

Build Status Crates.io

This crate provides a Rust interface to the Bitcoin JSON-RPC API.

It is currently work-in-progress as not all RPC calls are implemented.

Features

  • Does not use macros
  • Automatic retry mechanism if bitcoin-core is not yet ready
  • Provides trait of all RPC methods for easy mocking (BitcoinRpcApi)

Usage

Check examples/ but basically, given a URL and the username/password for the node, you can construct a client and call the desired RPC method.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.