asset-canister
Installation
SKILL.md
Asset Canister
What This Is
The asset canister hosts static files (HTML, CSS, JS, images) directly on the Internet Computer. This is how web frontends are deployed on-chain. Responses are certified by the subnet, and HTTP gateways automatically verify integrity, i.e. that content was served by the blockchain. The content can also be verified in the browser -- not a centralized server.
Prerequisites
@icp-sdk/canisters(>= 3.5.0),@icp-sdk/core(>= 5.0.0) — for programmatic uploads
Canister IDs
Asset canisters are created per-project. There is no single global canister ID. After deployment, your canister ID is stored in .icp/data/mappings/ (per environment).