Anyone know much about miniscript?
I like this miniscript I wrote. Has an anti kidnapping 4032 (~4 week) zenHodl period where funds simply can not be spent and then becomes a 3 of 3 and later a 2 of 2 multisig and years later a single sig…
I don’t think there will be a better security model than this, but I don’t trust the miniscript precisely because I wrote it and have tested it…seems to work as expected. But not sure how to reason about possible shortcomings of this script:
andor(multi(3,keyA,keyB,keyC),older(4032),andor(multi(2,keyAA,keyBB),older(32768),and_v(v:pk(keyAAA),after(1200000))))
Easier on the eyes below:
andor(
multi(3, keyA, keyB, keyC),
older(4032),
andor(
multi(2, keyAA, keyBB),
older(32768),
and_v(
v:pk(keyAAA),
after(1200000)))
)
资料修改成功