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

bp-electrum

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

6 releases

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.6 Jun 8, 2024
0.11.0-beta.5 Mar 19, 2024

#915 in Magic Beans

Download history 211/week @ 2024-07-20 344/week @ 2024-07-27 161/week @ 2024-08-03 157/week @ 2024-08-10 656/week @ 2024-08-17 362/week @ 2024-08-24 813/week @ 2024-08-31 526/week @ 2024-09-07 662/week @ 2024-09-14 439/week @ 2024-09-21 166/week @ 2024-09-28 352/week @ 2024-10-05 269/week @ 2024-10-12 134/week @ 2024-10-19 426/week @ 2024-10-26 214/week @ 2024-11-02

1,066 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

~12–22MB
~291K SLoC