Skip to content

Latest commit

 

History

History
93 lines (51 loc) · 2.35 KB

DepositReceipt.md

File metadata and controls

93 lines (51 loc) · 2.35 KB

Interface: DepositReceipt

Represents a deposit receipt. The receipt holds all information required to build a unique deposit address on Bitcoin chain.

Table of contents

Properties

Properties

blindingFactor

blindingFactor: Hex

An 8-byte blinding factor. Must be unique for the given depositor, wallet public key and refund public key.

Defined in

src/lib/contracts/bridge.ts:198


depositor

depositor: ChainIdentifier

Depositor's chain identifier.

Defined in

src/lib/contracts/bridge.ts:192


extraData

Optional extraData: Hex

Optional 32-byte extra data.

Defined in

src/lib/contracts/bridge.ts:223


refundLocktime

refundLocktime: Hex

A 4-byte little-endian refund locktime.

Defined in

src/lib/contracts/bridge.ts:218


refundPublicKeyHash

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.

Defined in

src/lib/contracts/bridge.ts:213


walletPublicKeyHash

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.

Defined in

src/lib/contracts/bridge.ts:205