Skip to main content

Boarding the Ark

Boarding Transaction (Non-interactive with Covenants)

The boarding transaction is a unique mechanism within the Ark protocol, leveraging covenants to enable a streamlined funding process for VTXOs (Virtual Transaction Outputs). This method allows Alice to fund a VTXO without requiring interactive steps with the ASP (Ark Service Provider), simplifying the initial funding phase and enhancing the efficiency of the protocol.

Alice initiates the process by creating a boarding transaction. This transaction includes an output that meets the necessary criteria to be accepted as a VTXO in future protocol rounds. The key feature here is the use of a covenant. A covenant in this context is a constraint applied to the transaction output that dictates specific conditions for future spending.

  • Mandatory Output Script: The covenant enforces that the transaction must create an output with a specific script. This script aligns with the conditions of a VTXO, ensuring that the funds can be appropriately utilized in subsequent rounds.

The boarding transaction's primary role is to create VTXO depositing directly from Bitcoin onchain. Alice's UTXO (Unspent Transaction Output) is used as the input for this transaction. The output script structure includes two potential spending paths:

  • ASP Sweeps: ASP can unlock the funds after a timeout period of 4 weeks.
  • Covenant Enforced Spending: The funds MUST be sent to an output according to the covenant, ensuring the creation of a VTXO script:
    • (Alice + ASP) cooperatively, or
    • Alice alone after a 24-hour waiting period
InputsOutputs
Alice’s UTXO(ASP after 4w) or cov((Alice + ASP) or (Alice after 24h))