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

bp-electrum

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

1 unstable release

Uses old Rust 2015

0.11.0-beta.5 Mar 19, 2024

#2857 in Magic Beans

Download history 402/week @ 2024-03-18 222/week @ 2024-03-25 63/week @ 2024-04-01 168/week @ 2024-04-08 227/week @ 2024-04-15 213/week @ 2024-04-22 41/week @ 2024-04-29 65/week @ 2024-05-06 26/week @ 2024-05-13 249/week @ 2024-05-20

390 downloads per month
Used in 3 crates

MIT license

150KB
3K 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
~270K SLoC