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

bp-electrum

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

7 releases

new 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.7.1 Aug 19, 2024
0.11.0-beta.5 Mar 19, 2024

#3 in #electrum

Download history 478/week @ 2024-08-26 842/week @ 2024-09-02 374/week @ 2024-09-09 702/week @ 2024-09-16 391/week @ 2024-09-23 202/week @ 2024-09-30 424/week @ 2024-10-07 147/week @ 2024-10-14 138/week @ 2024-10-21 453/week @ 2024-10-28 148/week @ 2024-11-04 61/week @ 2024-11-11 124/week @ 2024-11-18 62/week @ 2024-11-25 115/week @ 2024-12-02 79/week @ 2024-12-09

380 downloads per month
Used in 3 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–21MB
~273K SLoC