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

Multi Signature with PSBT #60

Open
MaxHillebrand opened this issue Jul 4, 2019 · 2 comments
Open

Multi Signature with PSBT #60

MaxHillebrand opened this issue Jul 4, 2019 · 2 comments
Labels

Comments

@MaxHillebrand
Copy link
Member

Problem

If one key is secure, then three keys must be thrice as secure. Right. Right?
Anyway. Multi Signature is one of the most powerful scripts in Bitcoin, a premiere wallet should support such a brilliant feature.

Solution

This might be a rather complex change, however, I'd say that PSBT is a very good tool to accomplish the task! Wasabi already utilizes HWI, and I think it includes the ability to generate an unsigned multisig PSBT. It might be more difficult to implement the signing of such multisig transactions...

Cold Card [ping @peter-conalgo] and Wasabi [ping @nopara73] are already a great combination, and it will be unbelievable when Wasabi can support the software part of the air-gapped multisig. I'll investigate the details of what must be included in the implementation, but I think it's "only" to specify the multisig input and outputs, plus all the PSBT details...

We can use the ColdCard Electrum branch as code reference.

Consideration

Schnorr MuSig will fundamentally change the concept of multi signatures, and since it will be upgraded to the protocol in #twoweeks, it might be justified to wait until this and focus developer time elsewhere...
But I think that supporting script based multisig is useful already, especially considering PSBT.

And I due think it's good to start with the comparatively easy setup of the hardware multisig, and later working on hot wallet.

@lontivero
Copy link

@MaxHillebrand we cannot have multisig in wasabi because the keys discovery is based on our compact filters and they only know about segwit p2wpkh scripts. If tomorrow MuSig is implemented as a p2wpkh script (i think that's the idea) then it will be easy to implement.

@nopara73 nopara73 transferred this issue from WalletWasabi/WalletWasabi Jul 4, 2019
@nopara73 nopara73 added the ideas label Jul 4, 2019
@MaxHillebrand
Copy link
Member Author

I did not know that, but I thought that BIP158 also includes p2wsh transactions?
For Schnorr MuSig there will be a new SegWit v1 that includes a tapscript spending condition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants