Skip to main content

Crate ic_platform

Crate ic_platform 

Source
Expand description

Controlled dependencies for external Candid protocols and IC runtime integration.

Principal is always available. candid selects bounded decoding; executor selects the shared CDK executor without a Candid dependency. candid-parser selects native host parsing and binding generation only. agent selects native IC transport and identities, with consumer-owned policy. bls selects BLS keys, signatures and verification with upstream allocation support. canister-sig-creation selects canister public-key formats and hashing. signature-verification selects upstream canister-signature verification. cdk selects Platform entrypoint macros and the qualified upstream CDK runtime. ic0 selects qualified raw system calls without Candid or an executor. management-canister-types selects external management HTTP/history/snapshot/status DTOs. icrc-ledger-types selects external ledger DTOs without storage integration. Consumers retain protocol schemas, resource limits and lifecycle policy.

Structs§

Principal
Generic ID on Internet Computer.

Enums§

PrincipalError
An error happened while encoding, decoding or serializing a Principal.