Module sign

Source
Expand description

§Transaction Signing Utilities

This module provides logic signing the transactions used in the Clementine bridge.

Structs§

TransactionRequestData
Data to identify the deposit and kickoff.

Functions§

create_and_sign_txs
Creates and signs all transaction types that can be signed by the entity.
get_kickoff_utxos_to_sign
Deterministically (given same seed) generates a set of kickoff indices for an operator to sign, using the operator’s public key, deposit block hash, and deposit outpoint as the seed. To make the output consistent across versions, a fixed rng algorithm (ChaCha12Rng) is used.