Unique Multi-Signature Wallets with Weighted Keys

8 replies 495 views
ben365Newbie
Posts: 1 · Reputation: 35
#1Aug 4, 2019, 08:40 AM
There’s really a lot to gain with asymmetric weighted multi-sig wallets. It’s like you have keys where not all of them are equal. For example, in a regular 3-of-5 setup, all keys are treated the same, but that might not suit everyone. Think about businesses, where the CFO's key should definitely carry more weight than a random manager’s key. Or even family members who have contingency keys; their key shouldn’t match yours in importance.
2 Reply Quote Share
0xLynxMember
Posts: 39 · Reputation: 205
#2Aug 4, 2019, 02:22 PM
That’s not completely right. Check out Liana wallet. It supports Miniscript and lets users craft advanced multisig settings, just like you described. You can set flexible spending conditions and even manage multiple backup keys however you want.
2 Reply Quote Share
0xNodeMember
Posts: 307 · Reputation: 80
#3Aug 4, 2019, 03:43 PM
But how's that gonna work with regular threshold signature algorithms? As far as I know, there aren’t any multisig algorithms that deal with weight like that. They operate on whole keys, not fractions. Emulating fractions might be the way to go by using a numerator for how many keys you get and a denominator for the total key count. And it could work without any code tweaks.
4 Reply Quote Share
gang2015Member
Posts: 269 · Reputation: 62
#4Aug 4, 2019, 05:31 PM
Yeah, that’s a bit of a roundabout way. You could use a Taproot address with a specific tapscript that outlines all spending conditions based on the chosen weights or rules. I mentioned Taproot because it hides the path and spending conditions, which is great for privacy and helps reduce transaction size.
0 Reply Quote Share
AtomicForkFull Member
Posts: 137 · Reputation: 479
#5Aug 4, 2019, 07:51 PM
Let’s say we got 5 users: alice, bob, carol, david, and eva. You could set up a 3-of-5 multisig using miniscript where alice and bob are two of the signers and the last one can be anyone left. We could test this out using the old bdk playground, but it’s gone now.
4 Reply Quote Share
MadNovaHero Member
Posts: 122 · Reputation: 3536
#6Aug 5, 2019, 01:23 PM
I’m not too focused on the technical complexities here. Multisig is all about security and sharing the load. But if you start weighing some keys more, you’re just concentrating power, and that can make high-value keyholders really vulnerable to attacks. If the CFO’s key gets compromised, it could totally jeopardize wallet security more than a straightforward multisig.
0 Reply Quote Share
0xNodeMember
Posts: 307 · Reputation: 80
#7Aug 5, 2019, 02:31 PM
Honestly, I don’t know much about miniscript. I probably need to look into this again. Might even post something on my old site, notatether.com.
0 Reply Quote Share
CyberWolfNewbie
Posts: 22 · Reputation: 19
#8Aug 5, 2019, 04:36 PM
You can’t just go with 2 of 3 here. If the wallet setup has customizable options, it can be adjusted to balance the weights. Like OP said, in a 3 of 5 setup, the more weight equals double keys. If the CFO sets it up, he could keep things discreet and not mention his key’s greater weight.
4 Reply Quote Share
mr_apeNewbie
Posts: 170 · Reputation: 35
#9Aug 5, 2019, 07:14 PM
You don’t need to give them extra keys. Just change the smart contract or script locking up the coins. In a 3 of 5 setup, make the CFO’s pubkey and signature mandatory for a higher weight. That’s how you can do it.
5 Reply Quote Share

Related topics