Bitcoin

Overview

Zafeguard Bitcoin components for the full transaction lifecycle — address derivation, UTXO selection, signing, and broadcasting.

Overview

Zafeguard ships 7 Bitcoin components covering the full lifecycle of Bitcoin transactions: address derivation → UTXO selection → fee estimation → signing → broadcasting.

All network I/O (UTXO fetching, fee estimation, broadcast) goes through the JSON-RPC endpoint you configure on the component.


Categories

GroupComponentsPage
TransactionsBUILD, SIGN, BROADCAST, COMPUTE_SIGNATURE_HASHTransactions →
Wallets & AddressesCOMPUTE_ADDRESS, GET_BALANCE, GET_DERIVATION_PATHWallets & Addresses →

Typical Bitcoin workflow

GET_BITCOIN_DERIVATION_PATH


COMPUTE_PUBLIC_KEY  ──▶  COMPUTE_BITCOIN_ADDRESS


GET_BITCOIN_ACCOUNT_BALANCE (guard check)


BUILD_BITCOIN_TRANSACTION
        │ messageHashes[]      │ unsignedTransaction
        ▼                      │
SIGN_WITH_KEY_SHARE (×N)       │
        │ signatures[]         │
        └──────────┬───────────┘

        SIGN_BITCOIN_TRANSACTION
                   │ signedTransaction

        BROADCAST_BITCOIN_TRANSACTION
                   │ txid

              [Confirmed]

Connecting to Bitcoin

Bitcoin components that require network access accept a jsonRpcUrl pointing to a Bitcoin JSON-RPC node, an Electrum server, or a block explorer API (e.g. Blockstream Esplora).

STRING_CONSTANT ("https://blockstream.info/api")

        ▼ jsonRpcUrl
BUILD_BITCOIN_TRANSACTION

Public RPC endpoints enforce rate limits per IP address and can fail under concurrent load.

Always use a private or self-hosted Bitcoin node (Bitcoin Core RPC or a dedicated Esplora instance) for production workflows.

NetworkExample endpoint
Mainnet (Blockstream)https://blockstream.info/api
Testnet (Blockstream)https://blockstream.info/testnet/api
Self-hosted Esplorahttps://your-esplora.example.com
Bitcoin Core RPChttp://user:pass@127.0.0.1:8332

On this page