Further to the following question:
Can the same set of private keys be used multiple times in a multisig wallet?
I tried to create a multisig wallet with keys (A and (B or C)) in Sparrow wallet using the policy suggested by @Vojtěch Strnad. However, it threw an "invalid output descriptor" error. If I try to create a simple 2 of 4 multisig wallet, Sparrow wallet generates the following descriptor:
wsh(sortedmulti(2,Keystore1,Keystore2,Keystore3,Keystore4))
This appears to be a different notation. What should the descriptor be in Sparrow wallet for a multisig wallet supporting keys (A and (B or C)) ? The Sparrow wallet GUI doesn't seem to provide options to create more complex wallets such as this.
wsh(...)
around the miniscript compiler output? It can only be used inside P2WSH for now.wsh(and_v(or_c(pk(B),v:pk(C)),pk(A)))
, possibly replacing the A/B/C with the kind of key expressions that Sparrow uses (which I'm unfamiliar with).