33 releases (19 breaking)

Uses old Rust 2015

0.20.0 May 28, 2024
0.19.0 Dec 20, 2023
0.18.0 Aug 5, 2023
0.17.0 Jul 14, 2023
0.1.0-beta.5 Mar 5, 2020

#1264 in Magic Beans

Download history 4788/week @ 2024-04-02 5940/week @ 2024-04-09 7066/week @ 2024-04-16 5948/week @ 2024-04-23 5049/week @ 2024-04-30 5386/week @ 2024-05-07 5882/week @ 2024-05-14 5847/week @ 2024-05-21 6823/week @ 2024-05-28 6692/week @ 2024-06-04 7304/week @ 2024-06-11 5826/week @ 2024-06-18 3827/week @ 2024-06-25 4296/week @ 2024-07-02 5000/week @ 2024-07-09 5193/week @ 2024-07-16

19,276 downloads per month
Used in 53 crates (31 directly)

MIT license

150KB
3.5K SLoC

rust-electrum-client

Build Status Latest Version MSRV Badge

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

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

Dependencies

~8–18MB
~204K SLoC