Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit b7984b6

Browse files
committed
fix: lints and formatting
1 parent 3418d17 commit b7984b6

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

docs/technical/bitcoin-bridge.md

+9-6
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ it is broadcast to bitcoin for confirmation.
4646
The deposit process is initiated by the user,
4747
who sends 10[^fees] BTC to a P2TR address, where:
4848

49-
[^fees]: The user must pay the bitcoin network fees for both the Deposit Request and Deposit Transactions.
49+
[^fees]:
50+
The user must pay the bitcoin network fees for both
51+
the Deposit Request and Deposit Transactions.
5052

5153
1. The key path spend is unspendable, following
5254
[BIP 341](https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki#constructing-and-spending-taproot-outputs)
@@ -124,12 +126,13 @@ sequenceDiagram
124126
The user requests a withdrawal on Strata and an operator is assigned to
125127
fulfill the request on bitcoin:
126128

127-
1. The user initiates a withdrawal request, in response to which the corresponding
129+
1. The user initiates a withdrawal request, in response to which the corresponding
128130
amount of Strata BTC is burned.
129-
1. After the burn is confirmed, the assigned operator creates and signs a Withdrawal Transaction
130-
(WT) on the bitcoin blockchain where they spend 10 BTC from the bridge address' UTXO set,
131-
while subtracting the operator's fee (5% of the bridge denomination) and the mining fee
132-
(minimum 10 satoshis per vByte),
131+
1. After the burn is confirmed, the assigned operator creates and signs
132+
Withdrawal Transaction (WT) on the bitcoin blockchain where they spend 10 BTC
133+
from the bridge address' UTXO set,
134+
while subtracting the operator's fee (5% of the bridge denomination)
135+
and the mining fee (minimum 10 satoshis per vByte),
133136
and requests the other $N-1$ operators to sign
134137
the Withdrawal Transaction.
135138
1. Once all the signatures have been aggregated, the transaction is submitted to

0 commit comments

Comments
 (0)