Wednesday, November 6, 2024

multi signature – Spending paths for subset of n-of-n multisig

I want to obtain the next.

A gaggle of N folks come collectively and create an n-of-n multisig. Every of them funds this multisig with a customized quantity of bitcoin. Sooner or later sooner or later, they resolve to spend these funds, nonetheless a subset Ok of the preliminary group has disappeared or isn’t reacting anymore.

Is it doable to attain the next habits:

  • The Ok people who find themselves not reacting are getting their initially contributed funds again
  • The remaining (N – Ok) folks, who can be found to signal, agree collectively the place the remaining funds are despatched to. Mainly as if the multisig had been an (N-Ok)-of-(N-Ok) to start with.

I assumed one doable manner (please appropriate me if I’m mistaken) could be to make use of some taproot performance and embody varied spending paths within the merkle tree that permit all doable subsets of customers to spend as described above. This may be achieved by presigning a bunch of transactions upon the creation of the multisig that use these totally different spending paths. These transactions are signed in a manner that outputs returned to the non-reactive customers are outlined forward of time and for the remainder of the funds, the remaining customers must resolve and agree unanimously the place they wish to ship them to when the time for it has come.

Would this work? Even when the reply is sure, with a rising variety of customers N, the combos of subsets explodes which makes this infeasible, so possibly there’s a higher manner.

Thanks very a lot in your suggestions!

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles