Skip to content

Commit

Permalink
Update RFC/src/RFC-0240_AtomicSwap.md
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Robinson <simian@tari.com>
  • Loading branch information
SWvheerden and philipr-za authored Oct 29, 2021
1 parent 15a690e commit 32fce94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RFC/src/RFC-0240_AtomicSwap.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ To do an Atomic swap from BTC to XTR we need 4 wallets, 2 BTC wallets, and 2 XTR

As an example, Alice wants to trade some of her XTR for Bob's BTC. Alice and Bob need to agree on an amount of XTR and BTC to swap. Once an agreement is reached, the swap is executed in the following steps:

* Alice chooses a random string, \\( \preimage \\), as the pre-image and hashes it with SHA256. She then sends the hash
* Alice chooses a set of random bytes, \\( \preimage \\), as the pre-image and hashes it with SHA256. She then sends the hash
of the pre-image, \\( \hash{\preimage} \\), to Bob along with her BTC address.

* Bob sends her a public version of his [script key], \\( K_{Sb} \\), for use in the XTR transaction, which we can refer
Expand Down

0 comments on commit 32fce94

Please sign in to comment.