Implementation of OP_CHECKLOCKTIMEVERIFY in bitcore-lib

(Piotr Misiurek) #1

Hi guys,

I started to use bitcore-lib to write some code for bitcore transactions.

In current case I created a multi-sig address which require 2 of 3 signatures. I would also like to add an condition, that this address UTXOs can be used only after specific date. I read about OP_CHECKLOCKTIMEVERIFY that requires nLockTime form transactions that want to use our UTXOs.

I didn’t find any info how to use it in bitcore-libs in the docs and the forum.

Is that possible to use OP_CHECKLOCKTIMEVERIFY with bitcore-lib? Any tips how to?