Skip to content

btc/dcr: Private Atomic Swap wallets #3290

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

martonp
Copy link
Collaborator

@martonp martonp commented May 28, 2025

This is a draft that introduces an interface for wallets that support private atomic swaps and implements it for btc and dcr. For the btc wallet, a still unmerged branch of the btcec library is used that adds adaptor signature support to musig2.

The interface will definitely still change, but since @dev-warrior777 is implementing the Monero wallet, it would be good to see if this interface generally works for Monero swaps as well. The communication required between the two parties can be seen in client/asset/btc/simnet_test.go and client/asset/dcr/simnet_test.go.

I will follow up with implementing the required communication between the client and server and the core changes as well.

@martonp martonp force-pushed the privateSwapWallets branch 2 times, most recently from 67f8b01 to 618b2e7 Compare May 28, 2025 18:34
@martonp martonp force-pushed the privateSwapWallets branch from 618b2e7 to ab492cc Compare May 28, 2025 18:52
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.

1 participant