Expand description
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()?;
Re-exports§
pub use client::*;
Modules§
- client
- Electrum Client
- raw_
client - Raw client
- socks
- SOCKS proxy clients
Structs§
- Batch
- Helper structure that caches all the requests before they are actually sent to the server.
- Config
- Configuration for an electrum client
- Config
Builder - Config Builder
- Request
- A request that can be sent to the server
- Socks5
Config - Configuration for Socks5
Enums§
Traits§
- Electrum
Api - API calls exposed by an Electrum client