Rust API
Rust API
Huione's Rust crates are published to crates.io and can be found on docs.rs with the "huione-" prefix.
Some important crates:
huione-program — Imported by programs running on Huione, compiled to BPF. This crate contains many fundamental data types and is re-exported from huione-sdk, which cannot be imported from a Huione program.
huione-sdk — The basic off-chain SDK, it re-exports huione-program and adds more APIs on top of that. Most Huione programs that do not run on-chain will import this.
huione-client — For interacting with a Huione node via the JSON RPC API. huione-cli-config — Loading and saving the Huione CLI configuration file.
huione-clap-utils — Routines for setting up a CLI, using clap, as used by the main Huione CLI. Includes functions for loading all types of signers supported by the CLI.
Last updated