34 releases (20 breaking)

0.21.0 Aug 6, 2024
0.20.0 May 28, 2024
0.19.0 Dec 20, 2023
0.18.0 Aug 5, 2023
0.1.0-beta.5 Mar 5, 2020

#1 in #electrum

Download history 4512/week @ 2024-07-24 4901/week @ 2024-07-31 6087/week @ 2024-08-07 7425/week @ 2024-08-14 8081/week @ 2024-08-21 7094/week @ 2024-08-28 7180/week @ 2024-09-04 7234/week @ 2024-09-11 6823/week @ 2024-09-18 6822/week @ 2024-09-25 6079/week @ 2024-10-02 7073/week @ 2024-10-09 8866/week @ 2024-10-16 6180/week @ 2024-10-23 6697/week @ 2024-10-30 6500/week @ 2024-11-06

29,782 downloads per month
Used in 54 crates (30 directly)

MIT license

150KB
3.5K SLoC

rust-electrum-client

Build Status Latest Version MSRV Badge

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()?;

Dependencies

~8–18MB
~209K SLoC