Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atomic swaps #618

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

Atomic swaps #618

wants to merge 17 commits into from

Conversation

GeneFerneau
Copy link
Contributor

No description provided.

@GeneFerneau
Copy link
Contributor Author

Relies on grin/#3643

@GeneFerneau GeneFerneau force-pushed the atomic branch 8 times, most recently from 40d3ba0 to 4c77a88 Compare May 26, 2021 03:24
@GeneFerneau GeneFerneau force-pushed the atomic branch 7 times, most recently from 597f320 to ecb5ffd Compare May 27, 2021 16:38
@GeneFerneau GeneFerneau changed the title [DRAFT] Succinct atomic swaps Succinct atomic swaps May 27, 2021
@GeneFerneau GeneFerneau marked this pull request as ready for review May 27, 2021 17:28
@GeneFerneau GeneFerneau marked this pull request as draft May 31, 2021 16:45
@GeneFerneau GeneFerneau force-pushed the atomic branch 7 times, most recently from 113aabb to 544192e Compare June 11, 2021 20:19
@GeneFerneau GeneFerneau changed the title Succinct atomic swaps Atomic swaps Jul 6, 2021
@GeneFerneau GeneFerneau force-pushed the atomic branch 4 times, most recently from 56be1a0 to a71105b Compare July 7, 2021 00:54
V5 Slate version with added features:

Participant Data:

* tau_x: Final step secret key for shared output rangeproofs
* tau_one: Step one partial public key for shared output rangeproofs
* tau_two: Step two partial public key for shared output rangeproofs
Add functionality to build a multisig input if the output is multisig
Add V5 slate types for multisig and atomic swap transaction flows
Add enum to select the transaction flow for a blank Slate
Add functionality for building a multisig transaction with a shared
output
Add functions for getting and storing atomic secret in the wallet backend
Add functions for creating and checking an atomic identifier

Use for deriving atomic nonce's from a wallet's keychain
Add foreign API to receive and complete the second round of an atomic
swap transaction. Used for both the main and refund transaction
Add function to complete the third round of the atomic swap, where
the adaptor signature `s` is recovered. The adaptor signature is used
with the full signature to recover the atomic nonce.
Add foreign and owner APIs to complete an atomic swap main/refund transaction
Add function to recover an atomic secret from a finalize transaction
excess kernel signature, the initiator's partial signature, and
the responder's adaptor signature
@GeneFerneau GeneFerneau force-pushed the atomic branch 3 times, most recently from 92f0503 to a6ecbd9 Compare July 7, 2021 22:46
@GeneFerneau GeneFerneau force-pushed the atomic branch 4 times, most recently from d6971dc to af7cb8b Compare July 9, 2021 23:13
@GeneFerneau GeneFerneau marked this pull request as ready for review July 9, 2021 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant