Skip to content

kasc

Compile a kind contract to WebAssembly

Install

bun
bun a -g @everyprotocol/kind-as

Usage

Compile a kind contract to WebAssembly

kasc --help
Usage: kasc [options] <file>
 
Compile a kind contract to WebAssembly
 
Arguments:
  file                Input AssemblyScript source file (.ts)
 
Options:
  -o, --out <path>    Output .wasm file
  -t, --text <path>   Also emit a text-format .wat file
  --shrink <level>    Shrink level (0–2) (default: "0")
  --optimize <level>  Optimization level (0–3) (default: "3")
  --debug             Build with debug info (default: false)
  --lib <lib>         Use a custom library
  -V, --version       output the version number
  -h, --help          display help for command
©2025 every