Skip to content

ChzenChzen/electrum_jsonrpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple library for interaction with Electron client daemon through json-rpc

 use electrum_jsonrpc::Electrum;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error + Sync + Send>> {
    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(())
}

About

Library for making json-rpc calls to electrum daemon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published