feat: Counter over glowcap's byte-fed Host, one request/response per round

An in-memory client and canister-shaped server exchange CapTP frames
in Syrup byte-string envelopes, as update calls will carry them.

Generated-by: Claude Code (claude-opus-5-5)
This commit is contained in:
dckc committed 2026-11-18 05:37:48 -06:00
commit 6348422012
8 files changed
+272

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
{
description = "A Counter in an Internet Computer canister, called over OCapN";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
# dfx is not in nixpkgs; install it with dfxvm (see README).
devShells.${system}.default = pkgs.mkShell {
buildInputs = with pkgs; [
zig_0_17
nodejs_22
wasm-tools
];
};
};
}