JoinMarket-Org / joinmarket-clientserver

Bitcoin CoinJoin implementation with incentive structure to convince people to take part
GNU General Public License v3.0
714 stars 175 forks source link

[Feature Request] Import other wallet seeds for CJ sweeps only #1059

Open RobertMiranda opened 2 years ago

RobertMiranda commented 2 years ago

An example would be running JoinMarket with Wallet1 as Yield Generator.

Buying coins using Bisq.

Importing the Bisq wallet in JoinMarket as Wallet2 with a recover flag that indicates it's a Bisq wallet to adjust derivation path. Only mixdepth 0 is created. Freezing UTXO's ability.

CJ sweeping the Bisq wallet UTXO(s) out.

chris-belcher commented 2 years ago

This is a lot like the "import private key" feature but importing a seed phrase instead(?) Good idea.

kristapsk commented 2 years ago

I think better way forward is to improve PSBT functionality instead, to be able to import xpub as a watch-only wallet in JM, then generate PSBT using sendpayment and sign it with other wallet. That will anyway be needed to be able to use hardware wallets as a taker using JM tools, see #663.