cmdruid / tapscript

A humble library for working with Tapscript and Bitcoin Transactions.

Home Page:https://www.npmjs.com/package/@cmdcode/tapscript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sign transaction error

viettienbk opened this issue · comments

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');

Same with #2