Labcoat documentation
Labcoat is a Rust-first CLI for building Alkanes smart contracts on Bitcoin. It owns project scaffolding, native tests, WebAssembly compilation, the local devnet, wallets, deployments, contract calls, simulation, and decoded traces.
labcoat init hello-alkanecd hello-alkanelabcoat testlabcoat upPick your path
Section titled “Pick your path”- Install Labcoat on macOS or Linux.
- Follow the quick start from an empty directory to a deployed contract.
- Integrate an AI agent through MCP or JSON envelopes.
- Read the generated CLI reference.
The supported interface
Section titled “The supported interface”The labcoat binary is the public interface. Internal Rust crates may evolve,
but CLI commands, labcoat/v1/* JSON envelopes, and MCP tools are designed for
automation.
Every JSON error includes a stable code, a human-readable message, and a recovery hint naming the next useful command.