Charms workflows for Bitcoin app contracts, spell proving, and UTXO asset operations.
Integrate and operate Charms for programmable Bitcoin assets. Use this skill when a task requires Charms app development, spell creation and proof generation, commit and spell transaction submission, spell inspection on existing transactions, wallet charm inventory, or API and wallet integration.
bash, curl, and jq.charms CLI.wasm32-wasip1 target.bitcoin-cli connected to a node (testnet4 for quick iteration).Use this skill for concrete implementation and operations, not generic protocol theory.
wallet listtx show-spellserverscripts/check-charms-prereqs.sh appscripts/check-charms-prereqs.sh spellscripts/check-charms-prereqs.sh walletscripts/check-charms-prereqs.sh servercharms app new.charms spell check.charms spell prove.ins and outs line up with transaction reality.charms server and call /spells/prove in JSON or CBOR mode.# App scaffold and build
charms app new my-token
cd my-token
app_bin="$(charms app build)"
charms app vk "$app_bin"
# Spell validation and proving
cat ./spells/mint-nft.yaml | envsubst | charms spell check --app-bins="$app_bin" --prev-txs="$prev_txs"
cat ./spells/mint-nft.yaml | envsubst | charms spell prove --app-bins="$app_bin" --prev-txs="$prev_txs" --funding-utxo="$funding_utxo" --funding-utxo-value="$funding_utxo_value" --change-address="$change_address"
# Wallet and tx inspection
charms wallet list --json
charms tx show-spell --chain bitcoin --tx "$tx_hex" --json
# API server
charms server --ip 0.0.0.0 --port 17784