#bitcoin #plain-text #electrum #onion #tls #server #notifications

bp-electrum

Bitcoin Electrum client library. Supports plaintext, TLS and Onion servers.

10 releases

0.12.0-beta.5 Feb 15, 2025
0.12.0-beta.4 Dec 23, 2024
0.11.1-alpha.1 Feb 19, 2025
0.11.0-beta.9.3 Dec 17, 2024
0.11.0-beta.5 Mar 19, 2024

#4 in #electrum

Download history 113/week @ 2024-11-15 55/week @ 2024-11-22 102/week @ 2024-11-29 103/week @ 2024-12-06 256/week @ 2024-12-13 196/week @ 2024-12-20 47/week @ 2024-12-27 74/week @ 2025-01-03 311/week @ 2025-01-10 50/week @ 2025-01-17 248/week @ 2025-01-24 111/week @ 2025-01-31 73/week @ 2025-02-07 609/week @ 2025-02-14 250/week @ 2025-02-21 136/week @ 2025-02-28

1,090 downloads per month
Used in 2 crates

MIT license

150KB
3.5K SLoC

rust-electrum-client Build Status Latest Version

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, ElectrumApi};

let mut client = Client::new("tcp://electrum.blockstream.info:50001")?;
let response = client.server_features()?;

Dependencies

~11–22MB
~279K SLoC