Start here
A fast onboarding path from install to your first generated contract.
Install the CLI
bun add contractspec -DAdd core libraries
bun add @contractspec/lib.contracts @contractspec/lib.schemaInitialize your project
start-here-init
bunx contractspec initCreate your first contract
start-here-create
contractspec create --type operationGenerate implementation
start-here-build
contractspec build src/contracts/mySpec.ts
contractspec validate src/contracts/mySpec.ts