Closed dykstranet closed 2 years ago
I don't know bitcoinjs-lib
well enough to debug, but you can use my open-source software buidl
to accomplish this exact goal (and with 0 dependencies):
https://twitter.com/mflaxman/status/1321503036724989952
I plan to update this guide with instructions for using many alternative Signers, with appropriate disclaimers. Coldcard and Keystone are still my default recommendations, but it is now possible to use many others. bitcoinjs-lib
instructions/script would be welcomed.
Thankyou @mflaxman for the speedy reply. I'll have a look at buidl.
Here is the bitcoinjs-lib solution that works: https://github.com/bitcoinjs/bitcoinjs-lib/issues/1789#issuecomment-1092406302.
That is neat, I love to have more language libraries that can do this.
When I add more signers I'd like to add a link to this post, but from my quick reading of the code this is effectively blind-signing?
Even if it did display the outputs for verification prior to signing (would be easy enough to add), there's still no change validation, right? That's an essential feature in signing.
My goal is to have a tails usb stick that can take seed words as input and sign a transaction all while offline. The backup will therefore remain a "cold" wallet.
I'm trying to use the paper wallet seed words to sign a multisig transaction.
I got the following error:
Error: Can not sign for this input with the key 'xxx'
Looking for guidance and if I can get a working version, I'll document and make pull request. Hope I can help and thanks for your help!