Labcoat Network and wallets
Labcoat Network is Labcoat’s local, private, resettable Alkanes network. It runs Bitcoin regtest under the hood. It is not Signet.
labcoat up downloads the Qubitcoin executable and its Alkanes and Esplora
WASM modules from the installed CLI’s exact cli-vX.Y.Z release, then starts
one qubitcoind process. The payloads live under a matching version directory:
- macOS:
~/Library/Application Support/Labcoat/runtimes/cli-vX.Y.Z/ - Linux:
${XDG_DATA_HOME:-$HOME/.local/share}/labcoat/runtimes/cli-vX.Y.Z/
Labcoat does not check for an independently newer runtime. Updating the CLI selects a new versioned bundle.
| Service | Purpose |
|---|---|
| qubitcoind | Bitcoin regtest chain plus in-process Alkanes and Esplora indexes; RPC on port 18443 |
Operate the local services
Section titled “Operate the local services”labcoat uplabcoat status --jsonlabcoat logs --service qubitcoind --limit 100labcoat snapshot cleanlabcoat restore cleanlabcoat downOnly one Labcoat Network should run per machine. status reports its
labcoat identity, underlying Bitcoin regtest mode, qubitcoind, chain
height, mempool size, and overall readiness.
Wallet workflow
Section titled “Wallet workflow”labcoat wallet initlabcoat wallet addresses --count 3labcoat fund <p2tr-address> 1labcoat mine 1labcoat wallet utxosThe wallet derives BIP-86, BIP-84, BIP-49, and BIP-44 addresses. P2TR is the primary address for Alkanes operations.
Reset carefully
Section titled “Reset carefully”labcoat reset -y stops Qubitcoin and permanently removes v2 chain, index, and
faucet data. Legacy runtime data and snapshots are left untouched.
Migrating an existing project
Section titled “Migrating an existing project”Change network = "regtest" to network = "labcoat" in labcoat.toml.
Labcoat does not migrate networks.regtest records in labcoat.lock; redeploy
contracts so they are recorded under networks.labcoat. Only rename the
lockfile key manually when you are intentionally preserving the exact same
local chain state. Existing wallets, snapshots, and runtime data remain
compatible.