merkle Rust SDK

The merkle SDK is a great way to access our products.

Install

Add the following to your cargo.toml file:

toml [dependencies] merkle-sdk = { git = "git@github.com:merkle3/merkle-sdk-rs.git" }

Examples

Examples are organized into individual crates under the /examples folder. You can run any of the examples by executing:

```bash

cargo run -p --example

cargo run -p examples-transactions --example transactions ```

Listen to transactions

Get an API key for free at mbs.merkle.io.

```rust use merkle_sdk::prelude::Connection; use futures::StreamExt;

[tokio::main]

async fn main() { let apikey = ""; if let Ok(conn) = Connection::fromkey(apikey).await { let mut stream = conn.intostream(); while let Some(txn) = stream.next().await { println!("{txn:?}"); } } } ```