Represents a deposit receipt. The receipt holds all information required to build a unique deposit address on Bitcoin chain.
• blindingFactor: Hex
An 8-byte blinding factor. Must be unique for the given depositor, wallet public key and refund public key.
src/lib/contracts/bridge.ts:198
• depositor: ChainIdentifier
Depositor's chain identifier.
src/lib/contracts/bridge.ts:192
• refundLocktime: Hex
A 4-byte little-endian refund locktime.
src/lib/contracts/bridge.ts:218
• refundPublicKeyHash: Hex
Public key hash that is meant to be used during deposit refund after the locktime passes.
You can use computeHash160
function to get the hash from a public key.
src/lib/contracts/bridge.ts:213
• walletPublicKeyHash: Hex
Public key hash of the wallet that is meant to receive the deposit.
You can use computeHash160
function to get the hash from a public key.