0
I use the "bitcoincashjs" or "bch-lib" and want to add a new opcode "OP_CHECKDATASIG" to output.How to do?
const utxo = {
'txId' : 'b76e4563bfe2e9e40355e3791e060b774ceb9ba04bef70df151763f82acb69a0',
'outputIndex' : 0,
'address' : '1bbLNcTwoffAjuWTyBuu4vSwNUBNMgYgHL',
'script' : '76a9147f27b2a0a88bc84d3db72f22ea82d52c99a6a0e088ac',
'satoshis' : 2000
};
const transaction = new bch.Transaction()
.from(utxo)
.to('1bbLNcTwoffAjuWTyBuu4vSwNUBNMgYgHL', 1500)
.sign(privateKey);