39 releases (23 breaking)
| 0.24.1 | Nov 4, 2025 |
|---|---|
| 0.24.0 | Jul 31, 2025 |
| 0.23.1 | Apr 22, 2025 |
| 0.23.0 | Feb 4, 2025 |
| 0.1.0-beta.5 | Mar 5, 2020 |
#1 in #electrum
55,272 downloads per month
Used in 64 crates
(29 directly)
170KB
4K
SLoC
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()?;
rust-electrum-client
Bitcoin Electrum client library. Supports plaintext, TLS and Onion servers.
Minimum Supported Rust Version (MSRV)
This library should compile with any combination of features with Rust 1.75.0.
Dependencies
~7–20MB
~215K SLoC