Skip to main content

Module intent

Module intent 

Source
Expand description

Bridge / federation helpers — V1 single-signature BTC deposit address.

Operators import BTC to one watch-only (or hot) address, then submit shield(...) on Ethereum after observing the expected ShieldIntent on disk or queue. (Extracted from privacybtc-bridge; the unused commitment-tree import was dropped.)

Structs§

BtcDepositConfigV1
Operator-configured Bitcoin deposit destination (single-sig).
ShieldIntentV1
JSON artifact the user exchanges with the operator (or stores for polling).

Enums§

BridgeError

Functions§

build_shield_intent_v1
Builds the V1 shield intent JSON struct.
bundle_content_sha256
Stable content hash for an OrchardStoredBundle (serialized JSON, pretty=false).