btcd icon indicating copy to clipboard operation
btcd copied to clipboard

Support Output Descriptors

Open zoop-btc opened this issue 1 year ago • 3 comments

I would propose to create a library for handling output descriptors similar to what btcutil/hdkeychain does. It is a standard which a lot of wallets follow and it would be useful to be able to import such wallets or export them in this format.

zoop-btc avatar Mar 10 '24 17:03 zoop-btc

That would be super cool. I think a portion of the implementation may end up living within btcwallet as well: https://github.com/btcsuite/btcwallet

Roasbeef avatar Mar 26 '24 02:03 Roasbeef

If anyone's interested in picking it up FYI @benma hacked on a Go implementation of Miniscript (part of output descriptors see BIP379). It's explicitly not production ready but might be a good starting point for anyone undertaking this effort: https://github.com/benma/miniscript-go.

darosior avatar Jul 04 '24 15:07 darosior

We've partially ported his initial work in a draft PR that lives here: https://github.com/btcsuite/btcd/pull/1987

Roasbeef avatar Jul 12 '24 23:07 Roasbeef