metaflux 0.9.0

Short alias for the metaflux-client SDK — re-exports the entire metaflux-client public API.
Documentation

metaflux

crates.io docs.rs

A short alias for metaflux-client — the Rust SDK for the MetaFlux derivatives L1.

This crate re-exports the entire metaflux-client public API. Depend on metaflux and use it exactly as you would metaflux_client:

[dependencies]
metaflux = "0.1"
use metaflux::{Client, wallet::Wallet};

# async fn run() -> Result<(), Box<dyn std::error::Error>> {
let wallet = Wallet::from_hex(&std::env::var("MTF_PRIVATE_KEY")?)?;
let client = Client::new("https://devnet-gateway.mtf.exchange")?;
let markets = client.rest().info().markets().await?;
println!("{} markets available", markets.len());
# let _ = wallet; Ok(())
# }

For documentation, examples, and the full feature surface, see the metaflux-client crate.

License

MIT — see LICENSE.