Skip to content

Quick start

Terminal window
labcoat init hello-alkane
cd hello-alkane
labcoat test

The generated project contains Rust contract sources, native integration tests, public configuration, deployment state, and agent instructions.

Terminal window
labcoat up
labcoat status
labcoat wallet init
labcoat wallet addresses

Fund the displayed P2TR address and confirm it:

Terminal window
labcoat fund <address>
labcoat mine 1
labcoat wallet utxos
Terminal window
labcoat compile contracts/Example.rs
labcoat deploy build/Example.wasm --dry-run
labcoat deploy build/Example.wasm

Always deploy the raw .wasm. The deployment flow performs compression inside the commit/reveal envelope and records the resulting Alkanes ID in labcoat.lock.

Terminal window
labcoat simulate Example 1 World
labcoat call Example 1 World
labcoat trace <txid> --wait

Finish by stopping the shared local devnet:

Terminal window
labcoat down