Closed bitcoinhodler closed 3 years ago
This is because a keystore in Sparrow requires a HD pubkey and not a single one in order to derive the receive and change addresses. It's certainly a valid use case to have a descriptor for a single output, but it's not something supported at this time.
The error message however has been improved in https://github.com/sparrowwallet/drongo/commit/4da2c024d4fbe3ecbca9772a0761def6d5269c38
I understand why single-address wallets are not supported.
I was expecting it to work based on the Features page promise of "All Wallet Types Welcome".
Perhaps that should read "All HD Wallet Types Welcome"?
That's a good point. I've made this change.
This is one of the examples given in the descriptors doc:
When I create a new wallet in Sparrow 0.9.9, click "Edit" next to the descriptor box, and paste this in, I get an error popup: "Invalid output descriptor", "Index 0 out of bounds for length 0".
I tried setting the Policy Type to Multisignature, the Cosigners to 2/2, and the Script Type to P2SH first, to match this descriptor, but it made no difference.