Design & media

Btc Sovereign Tracker

Try it

Track BTC self-custody metrics — COLDCARD Q vault health, mempool fee estimation, UTXO management, and on-chain verification. Designed for sovereign holders...

What it does

Track BTC self-custody metrics — COLDCARD Q vault health, mempool fee estimation, UTXO management, and on-chain verification. Designed for sovereign holders who verify, don't trust.

The skill document

BTC Sovereign Tracker

Track and verify your Bitcoin self-custody setup. This skill monitors COLDCARD Q vault health, fetches real-time mempool fees, inspects UTXOs, and verifies on-chain balances — all read-only. Never exposes private keys. Trust, but verify (Gebud 3).

Prerequisites

  • curl and jq on PATH
  • Bitcoin address(es) to monitor (watch-only, no private keys)
  • Optional: local Bitcoin Core or Electrum server for full privacy

Core Commands

Mempool Fee Estimation

Get current fee rates from mempool.space:

curl -s https://mempool.space/api/v1/fees/recommended | jq .

Response: {"fastestFee": N, "halfHourFee": N, "hourFee": N, "economyFee": N, "minimumFee": N}

Fees are in sat/vB. Multiply by tx size (~140 vB for segwit) to get total fee in sats.

Address Balance & UTXOs

Check balance and UTXOs for a watch-only address:

ADDR="bc1q..."  # watch-only address
curl -s "https://mempool.space/api/address/$ADDR" | jq '{balance: .chain_stats.funded_txo_sum - .chain_stats.spent_txo_sum, tx_count: .chain_stats.tx_count}'
curl -s "https://membpool.space/api/address/$ADDR/utxo" | jq '.[] | {txid: .txid, vout: .vout, value: .value}'

Privacy note: mempool.space is a third party. For maximum sovereignty, run your own mempool instance or use a local Bitcoin Core node with bitcoin-cli.

Block Height & Network Health

curl -s https://mempool.space/api/blocks/tip/height

Compare against your local node to verify chain sync.

Price Oracle (CoinGecko)

curl -s "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd,eur,sek" | jq .

COLDCARD Vault Health (via ZK-Bankir)

Query the ZK-Bankir treasury endpoint for BTC vault status:

ZK_HOST="${ZK_BANKIR_HOST:-http://localhost:3000}"
curl -s "$ZK_HOST/api/v1/treasury/btc" -H "Accept: application/json" | jq .

Expected:

{
  "asset": "BTC",
  "balance": "1.5",
  "address": "bc1q...",
  "vault": "COLDCARD Q",
  "type": "watch-only"
}

UTXO Consolidation Planning

List all UTXOs and identify dust or consolidation candidates:

ADDR="bc1q..."
curl -s "https://mempool.space/api/address/$ADDR/utxo" | jq '
  [.[] | {
    txid: .txid[0:8],
    vout: .vout,
    value_sats: .value,
    value_btc: (.value / 100000000),
    dust: (.value < 10000)
  }] | sort_by(.value_sats)
'

UTXOs below 10,000 sats (~$10) are dust and may cost more to spend than they're worth during high-fee periods.

Usage Patterns

Daily Sovereignty Check

When the user asks for a BTC sovereignty status:

  1. Mempool fees — current fee environment (low/medium/high)
  2. Address balance — confirmed balance vs expected
  3. Block height — chain tip verification
  4. BTC price — current fiat value
  5. Vault health — COLDCARD status from ZK-Bankir

Pre-Transaction Fee Planning

When the user considers a transaction:

  1. Fetch current recommended fees
  2. Calculate fee ranges: economy (~0.5h), hour (~2h), half-hour (~30min), fastest (~next block)
  3. Show fee in sats and fiat equivalent
  4. Flag if any UTXOs would become dust after spending

UTXO Management Audit

When the user asks about UTXO health:

  1. List all UTXOs sorted by value
  2. Flag dust UTXOs (value < fee to spend)
  3. Recommend consolidation targets (fewer UTXOs = lower future fees)
  4. Warn if address reuse detected

Sovereignty Principles

This skill follows ZK-Bankir's Gebuden:

  • §1 Sovereignty First — prefers local node over third-party APIs when available
  • §3 Trust, but Verify — cross-checks mempool.space with CoinGecko and ZK-Bankir
  • §5 Watch-Only by Default — never requires, stores, or transmits private keys
  • §7 Privacy Per Design — warns when using third-party APIs, recommends local alternatives

Configuration

VariableDefaultDescription
BTC_WATCH_ADDRESS(required)Bitcoin address to monitor (watch-only)
MEMPOOL_APIhttps://mempool.space/apiMempool API base (change for self-hosted)
COINGECKO_APIhttps://api.coingecko.com/api/v3Price API base
ZK_BANKIR_HOSThttp://localhost:3000ZK-Bankir server for vault status

Troubleshooting

SymptomLikely CauseFix
Empty UTXO listAddress has no transactionsVerify address on a block explorer
Rate limit on mempool.spaceToo many requestsUse local mempool instance or add delays
ZK-Bankir BTC endpoint 404Server not runningStart ZK-Bankir or use direct mempool queries
Dust warnings on all UTXOsHigh fee environmentWait for lower fees before consolidating

Security

  • Read-only — queries on-chain data, never signs transactions
  • No key exposure — all addresses are watch-only public keys
  • Third-party aware — clearly labels when using external APIs vs local node
  • COLDCARD Q remains air-gapped — this skill queries balances through ZK-Bankir's watch-only API

Related skills

Query Bitcoin (BTC L1) blockchain data with USD pricing — wallet balances, address info, transaction details, UTXO analysis, fee estimation, mempool stats, and live network health. Uses Mempool.space REST API (https://mempool.space/docs/api/rest). No API key required.

Evaluate potential BTC bottom zones with AgentKey-powered crypto market, sentiment, on-chain, ETF flow, and technical confluence signals.Powered by AgentKey.

Pull structured portfolio data for any wallet address — holdings, P&L, win rate, and dev tokens — across Solana, BSC, Base, and Ethereum.

26 installs1 stars

Donation reminder for BTC-vision.org — checks monthly funding progress and sends a contextual Lightning tip request.

Query real-time buy/sell trades from smart money, KOL, and followed wallets on Solana, BSC, Base, and Ethereum via gmgn-cli.

26 installs1 stars

Full-stack, multi-chain blockchain assistant covering BTC, ETH, BSC, Solana and major L2s. Reads charts and on-chain data, traces wallet and contract fund flows, weighs DeFi/staking yields against risk, and writes or audits Solidity smart contracts. Use it when you want to analyze price action, track an address, size up a yield strategy, or check a contract for exploits. Replies in the language you use (Chinese by default).

1 installs