You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reorg of documentation and concept. delet of 'renderedForWeb' directory, uses pandoc --katex in github actions to deploy the md-files as html files to github pages.
Copy file name to clipboardExpand all lines: README.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# bisq MuSig2 Protocol
1
+
# Bisq MuSig2 Protocol
2
2
3
3
This is module inside Bisq2. it implements a new Multisig protocol for Bisq2, this protocol is similar to the protocol used in Bisq1.
4
4
It enables to buy/sell bitcoin from other peers without needing any trust in the other peer or into any coordinator or any third party. Since there is no intermediary to
@@ -13,12 +13,15 @@ Main changes to the Bisq1 protocol are:
13
13
14
14
## overview
15
15
16
-
This project is the handling the cryptographic part of the overall protocol. Even though it is the centerpiece there are more pieces necessary to pull this off.
16
+
This project is the handling the cryptographic part of the overall protocol. Even though it is the centerpiece
this is already implemented in rust, basically the running test link serves as a rust
13
14
implementation of what needs to be implemented in Java with FSM. Please see the [test-case here](https://github.com/bisq-network/bisq-musig/blob/main/protocol/src/lib.rs#L23).
@@ -19,29 +20,29 @@ Bisq2 using the FSM.
19
20
-no substates-
20
21
21
22
3. Seller broadcasts SwapTx
22
-
3.1. Seller broadcasts SwapTx has no additional state fpr the seller
23
-
3.2. Buyer gets informed of chain-services that SwapTx is being detected, then continue with 6.
23
+
1. Seller broadcasts SwapTx has no additional state for the seller
24
+
2. Buyer gets informed of chain-services that SwapTx is being detected, then continue with 6.
24
25
25
-
4. Traders exchange secret keys for P'
26
-
4.1. Seller sends hie partial key to Buyer
27
-
4.2. Buyer receives a partial key from Seller
28
-
4.3. continue with 7.
26
+
4. Traders exchange secret keys for P'\
27
+
1. Seller sends hie partial key to Buyer\
28
+
1. Buyer receives a partial key from Seller
29
+
1. continue with 7.
29
30
30
-
5. Seller or Buyer broadcast WarningTx
31
+
5. Seller or Buyer broadcast WarningTx.
31
32
Note that there are two (slightly) different WarningTxs for seller and buyer
32
-
5.1. S or B presses the button to broadcast WarningTx
33
-
5.2. B or S sees that WarningTx is confirmed on blockchain (seeing in mempool is not enough)
34
-
5.3. continue with 8.
33
+
1. S or B presses the button to broadcast WarningTx
34
+
2. B or S sees that WarningTx is confirmed on blockchain (seeing in mempool is not enough)
35
+
3. continue with 8.
35
36
36
37
6. No additional substates (will be one call to the rust code)
37
38
38
39
7. Traders exchange secret keys for Q'
39
-
7.1. Buyer send private key for Q' to seller
40
-
7.2. Users (Buyer and seller) get informed that the trade is over and funds can be spend.
40
+
1. Buyer send private key for Q' to seller
41
+
2. Users (Buyer and seller) get informed that the trade is over and funds can be spend.
41
42
42
-
8.+9. can be made into one state API-call for the java code.
43
+
8.+9. can be made into one state API-call for the java code.
43
44
Something like checkWarningKeysExchanged(...) could be called and returns true iff keys were present and funds have been transafered to wallet.
44
-
9.1. Users need to be informed about funds being transferred.
45
+
1. Users need to be informed about funds being transferred.
45
46
46
47
10. t1 expired
47
48
time trigger should go off if other trader broadcasted the WarningTx and t1 expired. no substates
0 commit comments