Quick start
Create and test a contract
Section titled “Create and test a contract”labcoat init hello-alkanecd hello-alkanelabcoat testThe generated project contains Rust contract sources, native integration tests, public configuration, deployment state, and agent instructions.
Start the local chain
Section titled “Start the local chain”labcoat uplabcoat statuslabcoat wallet initlabcoat wallet addressesFund the displayed P2TR address and confirm it:
labcoat fund <address>labcoat mine 1labcoat wallet utxosCompile and deploy
Section titled “Compile and deploy”labcoat compile contracts/Example.rslabcoat deploy build/Example.wasm --dry-runlabcoat deploy build/Example.wasmAlways deploy the raw .wasm. The deployment flow performs compression inside
the commit/reveal envelope and records the resulting Alkanes ID in
labcoat.lock.
Interact and inspect
Section titled “Interact and inspect”labcoat simulate Example 1 Worldlabcoat call Example 1 Worldlabcoat trace <txid> --waitFinish by stopping the shared local devnet:
labcoat down