Closed viettienbk closed 1 year ago
My code in Typescript const init_sig = Signer.taproot.sign(seckey, init_redeemtx, 0, { extension: init_leaf }); but it throws error: throw new Error('crypto.getRandomValues must be defined');
const init_sig = Signer.taproot.sign(seckey, init_redeemtx, 0, { extension: init_leaf });
throw new Error('crypto.getRandomValues must be defined');
Same with https://github.com/cmdruid/tapscript/issues/2
My code in Typescript
const init_sig = Signer.taproot.sign(seckey, init_redeemtx, 0, { extension: init_leaf });
but it throws error:throw new Error('crypto.getRandomValues must be defined');