Implements an absolute timelock (CLTV) script combined with a forfeit closure. The script requires waiting until a specific block height/timestamp before the forfeit closure conditions can be met.
CHECKLOCKTIMEVERIFY DROP CHECKSIGVERIFY CHECKSIG
const cltvMultisigTapscript = CLTVMultisigTapscript.encode({ absoluteTimelock: 144, pubkeys: [new Uint8Array(32), new Uint8Array(32)] }); Copy
const cltvMultisigTapscript = CLTVMultisigTapscript.encode({ absoluteTimelock: 144, pubkeys: [new Uint8Array(32), new Uint8Array(32)] });
Implements an absolute timelock (CLTV) script combined with a forfeit closure. The script requires waiting until a specific block height/timestamp before the forfeit closure conditions can be met.
Example