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 build
This sets up a ready-to-build Kind contract project.
After building, you can inspect the generated WebAssembly code:
wasm-objdump --headers build/index.wasm
If you prefer to set things up manually:
bun init my-kind
cd my-kind
bun add @everyprotocol/kind-as
Create 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