mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-18 12:24:31 -05:00
Move alice/bob definition comment
This commit is contained in:
parent
1f89ea122e
commit
30767ec755
10
README.md
10
README.md
@ -3,6 +3,11 @@ XMR to BTC Atomic Swap
|
|||||||
|
|
||||||
This repository is a proof of concept for atomically swapping XMR for BTC.
|
This repository is a proof of concept for atomically swapping XMR for BTC.
|
||||||
|
|
||||||
|
We define:
|
||||||
|
|
||||||
|
- Alice to be the actor that initially holds XMR.
|
||||||
|
- Bob to be the actor that initially holds BTC.
|
||||||
|
|
||||||
In the best-case scenario the protocol looks like this:
|
In the best-case scenario the protocol looks like this:
|
||||||
|
|
||||||
1. Alice and Bob exchange a set of addresses, keys, zero-knowledge proofs and signatures.
|
1. Alice and Bob exchange a set of addresses, keys, zero-knowledge proofs and signatures.
|
||||||
@ -18,11 +23,6 @@ When doing so she leaks her Monero secret key `s_a` to Bob through the magic of
|
|||||||
|
|
||||||
![BTC/XMR atomic swap protocol](https://github.com/comit-network/xmr-btc-swap/blob/readme/BTC_XMR_atomic_swap_protocol.svg)
|
![BTC/XMR atomic swap protocol](https://github.com/comit-network/xmr-btc-swap/blob/readme/BTC_XMR_atomic_swap_protocol.svg)
|
||||||
|
|
||||||
We define:
|
|
||||||
|
|
||||||
- Alice to be the actor that initially holds XMR.
|
|
||||||
- Bob to be the actor that initially holds BTC.
|
|
||||||
|
|
||||||
The repository is structured as a library and a single test function that executes the swap.
|
The repository is structured as a library and a single test function that executes the swap.
|
||||||
The library has the following modules:
|
The library has the following modules:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user