The canister is freestanding wasm32 importing only ic0. Each caller principal gets a CapTP session: start carries op:start-session, deliver carries later frames, and each reply carries the canister's frames. The client peer is wasm too, driven from Node by @icp-sdk/core. It holds answer releases so they ride ahead of the next call instead of costing an update call of their own: handshake, fetch, and each send are one update call apiece. Generated-by: Claude Code (claude-opus-5-5)
15 lines
281 B
JSON
15 lines
281 B
JSON
{
|
|
"version": 1,
|
|
"canisters": {
|
|
"counter": {
|
|
"type": "custom",
|
|
"build": "zig build canister",
|
|
"wasm": "zig-out/bin/counter.wasm",
|
|
"candid": "counter.did"
|
|
}
|
|
},
|
|
"networks": {
|
|
"local": { "bind": "127.0.0.1:4959", "type": "ephemeral" }
|
|
}
|
|
}
|