pull down to refresh

it's not the wallet that has the script

I'm pretty sure modern wallet software (especially any wallet software that can make multisigs) mostly uses descriptors. When you make a backup in something like Sparrow or Nunchuk or Liana, it will do so as a descriptor. I think it's okay to tell people that a wallet = a descriptor.

The only thing that matters is the keys.

If you have a multisig, this is not true. Without some idea of how to compose the keys, having the keys won't help you when it comes time for spending. You need to have the descriptor.

Sure, as far as validators go, they just want to see a locking script and an unlocking script, but if they are your coins, and you want to succesfully generate an unlocking script, you need a bit more information than just a quorum of keys. You have to know how to create the signature.

Finally, I wanted an easy way to distinguish between a spending policy and the keys which may be required by the spending policy. Wallet software pretty much follows the rule of one spending policy = one wallet.

For instance, in Sparrow, you might create two different spending policies: one that is a multisig and another that is a single sig. It's even possible that the key you use in the single sig is also part of the quorum for the multisig. Sparrow will show these two you as two separate wallets. I think this is a good way to do things.

Wallet software ties one and only one specific spending policy to a wallet. I've never yet used a wallet that let you have multiple spending policies within a single wallet.

it's important to remember that the only thing that matters are the keys. wallet software gets used to construct keys,

I totally flubbed that explanation, by using wrong word.

s/keys/signatures

if you can't sign, u can't spend. only thing that matters is the signatures

You need to have the descriptor.

that's true. the descriptor points to the private sig, same way it points to the public address

I've never yet used a wallet that let you have multiple spending policies within a single wallet.

yah, because the sig construction follows the same pattern as the address construction.

reply