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

bp-electrum

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

8 releases

0.12.0-beta.4 Dec 23, 2024
0.11.0-beta.9.3 Dec 17, 2024
0.11.0-beta.9.2 Oct 31, 2024
0.11.0-beta.8.1 Sep 10, 2024
0.11.0-beta.5 Mar 19, 2024

#3 in #electrum

Download history 396/week @ 2024-09-24 293/week @ 2024-10-01 296/week @ 2024-10-08 155/week @ 2024-10-15 109/week @ 2024-10-22 503/week @ 2024-10-29 91/week @ 2024-11-05 63/week @ 2024-11-12 141/week @ 2024-11-19 82/week @ 2024-11-26 79/week @ 2024-12-03 92/week @ 2024-12-10 355/week @ 2024-12-17 87/week @ 2024-12-24 42/week @ 2024-12-31 78/week @ 2025-01-07

579 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
~271K SLoC