Skip to main content

Crate anda_web3_client

Crate anda_web3_client 

Source
Expand description

Web3 client implementations for Anda engine contexts.

This crate provides concrete anda_engine::context::Web3ClientFeatures implementations. Everything is feature-gated so the default build pulls no runtime dependencies:

  • client: the generic Web3 client::Client backed by ic-agent, ic-cose, and local key derivation (crypto) — for non-TEE environments.
  • tee: the TEE gateway-backed tee::TeeClient, which pulls the ic_tee_* crates.
  • full: enables both.

The module names above are not intra-doc links because each is behind the feature that gates it, so they do not resolve in a default-feature build.

Re-exports§

pub use client::*;

Modules§

client
Generic Web3 client builder and runtime implementation. Concrete Web3 client for ICP, COSE, HTTPS, and signing operations.
crypto
Deterministic key derivation shared by the generic client. Deterministic key derivation for the non-TEE Web3 Client.
tee
TEE gateway-backed Web3 client. TEE gateway-backed Web3 client. Enabled by the tee feature.