Friday, November 22, 2024

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

I wish to obtain the next.

A bunch of N individuals 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 determine to spend these funds, nonetheless a subset Ok of the preliminary group has disappeared or shouldn’t be reacting anymore.

Is it doable to realize the next habits:

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

I believed one doable manner (please right me if I’m flawed) could be to make use of some taproot performance and embody varied spending paths within the merkle tree that enable 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 completely 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 determine 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 mixtures of subsets explodes which makes this infeasible, so perhaps 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