24 releases (12 breaking)
Uses old Rust 2015
0.13.0 | Mar 11, 2023 |
---|---|
0.12.0 | Sep 5, 2022 |
0.10.1 | Jun 8, 2022 |
0.9.0 | Mar 24, 2022 |
0.1.0-beta.5 | Mar 5, 2020 |
#1160 in Magic Beans
20,552 downloads per month
Used in 31 crates
(22 directly)
140KB
3K
SLoC
rust-electrum-client

Bitcoin Electrum client library. Supports plaintext, TLS and Onion servers.
lib.rs
:
This library provides an extendable Bitcoin-Electrum client that supports batch calls, notifications and multiple transport methods.
By default this library is compiled with support for SSL servers using rustls
and support for
plaintext connections over a socks proxy, useful for Onion servers. Using different features,
the SSL implementation can be removed or replaced with openssl
.
A minimal
configuration is also provided, which only includes the plaintext TCP client.
Example
use electrum_client::{Client, ElectrumApi};
let mut client = Client::new("tcp://electrum.blockstream.info:50001")?;
let response = client.server_features()?;
# Ok::<(), electrum_client::Error>(())
Dependencies
~7–11MB
~170K SLoC