kind-as is the reference toolchain for writing Kind contracts in AssemblyScript for Every Protocol.
The fastest way to start is with a template:
bun create everytemplate/kind my-kind
cd my-kind
bun run buildThis sets up a ready-to-build Kind contract project.
After building, you can inspect the generated WebAssembly code:
wasm-objdump --headers build/index.wasmIf you prefer to set things up manually:
bun init my-kind
cd my-kind
bun add @everyprotocol/kind-asCreate an assembly/index.ts file and implement your Kind contract logic.
When you’re ready, compile the contract using the kasc CLI:
bun run kasc assembly/index.ts -o build/index.wasm- kasc: https://docs.every.fun/reference/kasc
- bun: https://bun.sh
- wasm-objdump: https://github.com/WebAssembly/wabt