bitcoinjs – In search of JS/Node.js code instance to signal a transaction (with a number of UTXOs) with solely the prolonged personal key


For anybody that may be on this, there’s a nice BIP32 library from the identical individuals who created the bitcoinjs-lib and it has the instruments to derive your personal keys from the prolonged master-private-key.

const t = bip32.fromBase58(extPrivateKey, zenCashNetwork);

const derivedIndex = `${utxo.AddrType}/${utxo.AddrIndex}`;

const wifKey = t.derivePath(derivedIndex).toWIF();

In our case, we would have liked this to signal a ZenCash transaction

Supply hyperlink

Leave a reply