Expand description
Cross-platform Autonomi client logic and browser WASM bindings. Cross-platform Autonomi client logic and browser bindings.
The manifest, protocol, payment, and immutable-data modules are portable
Rust shared by native clients and the browser WASM package. The
browser-wasm feature additionally provides the web-sys WebRTC Direct
host adapter. Higher-level browser integration is owned by the companion
ant-client-browser-sdk project.
Re-exports§
pub use manifest::parse_browser_manifest;pub use manifest::validate_browser_payment_network;pub use manifest::BrowserManifest;pub use manifest::BrowserManifestEndpoint;pub use manifest::PublicFileDescriptor;pub use manifest::BROWSER_MANIFEST_VERSION;pub use payment::storage_payment_total;pub use payment::verify_storage_quote;pub use payment::VerifiedStorageQuote;
Modules§
- manifest
- Cross-platform validation for browser bootstrap and public-file metadata.
- payment
- Verification and payment planning shared by native and browser clients.
- protocol
- Browser-facing WebRTC Direct wire profile.
Structs§
- Browser
Chunk Info - One native self-encryption chunk descriptor exposed to the browser.
- Browser
Encrypted File - Result of native public-file self-encryption for a browser upload.
- Browser
Payment Network - Public EVM identity transmitted by manifests and HELLO responses. RPC endpoints belong to the node operator or client application and never form part of this wire record.
- Browser
Quote Artifact - JSON-safe form of the native EVM payment quote returned over WebRTC.
- Browser
Record - One content-addressed record ready for network upload.
- Browser
Record Info - Metadata for a content-addressed record staged outside WASM memory.
- Browser
Staged File - Result of streaming self-encryption whose record bytes live in browser storage.
- WebRtc
Direct Endpoint - Parsed, certificate-pinned direct endpoint.
Enums§
- Browser
Error - Browser immutable-data processing error.
Constants§
- BROWSER_
PROTOCOL_ NAME - Protocol name authenticated by the node HELLO response.
- BROWSER_
PROTOCOL_ VERSION - Current browser request/response protocol version.
- MAX_
BROWSER_ FILE_ BYTES - Maximum file size accepted by the browser API (1 GB decimal).
- WEBRTC_
DIRECT_ DATA_ CHANNEL - Ordered WebRTC
DataChannellabel used by Autonomi nodes.
Functions§
- content_
address - BLAKE3-address bytes using the same lowercase hexadecimal representation as the native chunk protocol.
- decode_
public_ data_ map - Decode and normalize a native public DataMap.
- decrypt_
public_ file - Reconstruct a public file with native self-encryption after verifying every encrypted record against its DataMap destination address.
- encrypt_
public_ file - Encrypt a complete public file with the native
self_encryption 0.36implementation and append its MessagePack DataMap as a public record. - parse_
webrtc_ direct_ multiaddr - Parse and validate a signaling-free WebRTC Direct multiaddress.
- verify_
record - Verify raw record bytes against a lowercase or uppercase hexadecimal BLAKE3 address.