Expand description
Board flow:
- user creates a builder using BoardBuilder::new
- user creates the funding tx which pays to BoardBuilder::funding_script_pubkey
- user sets the funding output in BoardBuilder::set_funding_details
- user generates signing nonces using BoardBuilder::generate_user_nonces
- user sends all board info to the server
- server creates a builder using BoardBuilder::new_for_cosign
- server cosigns using BoardBuilder::server_cosign and sends cosign response to user
- user validates cosign response using BoardBuilder::verify_cosign_response
- user finishes the vtxos by cross-signing using BoardBuilder::build_vtxo
Modules§
Structs§
- Board
Builder - A request for the server to cosign an board vtxo.
- Board
Cosign Response - Partial signature the server responds to a board request.
- Board
Funding TxValidation Error
Constants§
- BOARD_
FUNDING_ TX_ VTXO_ VOUT - The output index of the board vtxo in the board tx.