libsv / go-bt

The go-to Bitcoin Transaction (BT) Go library.
https://pkg.go.dev/mod/github.com/libsv/go-bt
ISC License
65 stars 26 forks source link

[FEATURE] Multisig Support #6

Open betatester899 opened 3 years ago

betatester899 commented 3 years ago

Greetings

first of all thank you for creating this awesome library. I just started diving into Bitcoin development (and Golang) recently and this library, on top of others, is a big help when getting things done the Bitcoin way. However, one feature that has now come to my attention, as I am trying to solve some more complex problems is Multi Signature Transactions. Would it be possible for you guys to implement those into the library?

So far I've found an old repository from 2014 (https://github.com/soroushjp/go-bitcoin-multisig) that does it, but it's outdated and many dependencies are broken. It can perhaps serve as a starting point on how to implement things. I thought about trying to implement it myself, however, I am still to green when it comes to Bitcoin, and I think to keep things secure and usable in the long run, it's probably better if I ask you guys.

jadwahab commented 3 years ago

hey @betatester899, thanks for reaching out. We actually had some code doing some multisig stuff with electrumsv in the past but got rid of it/commented it out when the p2sh stuff got messy and so was removed. We will be adding bare multisig and accumulator multisig bscripts and doing things properly sometime soon.

betatester899 commented 3 years ago

Epic! Looking forward to it.