Global Feed Post Login
Replying to Avatar Dr. Bitcoin, MD

Anybody really knowledgeable about miniscript?

I think this wallet script does most everything anyone could want, modulo minor tweaks.

The fact it took me like 15 minutes to write makes me feel like I’m making some major mistake:

andor(multi(3,keyA,keyB,keyC),older(4032),andor(multi(2,keyAA,keyBB),older(32768),and_v(v:pk(keyAAA),after(1200000))))

This fields a wallet that has 1) a 4 week zenHODL anti-kidnapping period where funds can not be spent, 2) a 3 of 3 multisig for blocks 4032-32768 (like 6 months or so), a 2 of 2 multisig after that until 3) block 1,200,000 where it degrades to a single sig wallet.

What am I missing?

Avatar
Houndsfield's Unit 3mo ago

I have no clue about the syntax but I like the idea. This doesn't sound like it would be that hard to incorporate into wallet software, but would certainly be use as your own risk.

Reply to this note

Please Login to reply.

Discussion

No replies yet.