Examples of canisters written directly in WebAssembly, without a higher-level language or CDK. They show what a canister looks like at the lowest level — useful for understanding the Internet Computer interface specification and for building canisters from languages that compile to Wasm.
Prerequisites and dev-container setup are covered in the repository README.
counter— a counter canister hand-written in WebAssembly Text Format (WAT); the compiled module is only 389 bytes.
If you base your application on one of these examples, we recommend you familiarize yourself with and adhere to the security best practices for developing on the Internet Computer. The examples provided here may not implement all the best practices.