electrum_jsonrpc 0.2.7

Simple library for interaction with Electron client daemon through json-rpc.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Simple library for interaction with Electron client daemon through json-rpc

```rust
 use electrum_jsonrpc::Electrum;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = Electrum::new(
        "dummy_login".to_string(),
        "dummy_password".to_string(),
        "http://127.0.0.1:7000".to_string(),
    )?;

    let resp = client.get_help().await?;

    Ok(())
}
```