CHIP-0035 store-coin spends & delegation
The protocol-level anchoring + payment contracts are Protocol · On-chain anchoring and Protocol · DIG CAT payment & pricing. This page is the spend-builder reference.
A store is a CHIP-0035 DataLayer singleton on Chia mainnet: minting it and advancing its root are store-coin spends. This page is the protocol-level view of how those spends are built and how authority over a store is delegated.
The canonical wasm builder
Every store-coin spend — mint, root advance (commit), metadata update, melt, ownership/delegation change — is constructed by the canonical CHIP-0035 wasm builder (@dignetwork/chip35-dl-coin-wasm, re-exported by the SDK at /spend). It is the single source of spend bundles across the CLI, the hub, and any integrating app, so every surface produces byte-identical spends.
The split is always build (wasm) → sign (wallet) → broadcast. Nothing hand-rolls a puzzle or coin spell. → Building spends
The capsule price in $DIG is included atomically in the same spend as the root advance — there is no separate payment transaction. → On-chain anchoring → costs