0

I am trying to create a Bitcoin Cash HD wallet through mnemonic phrase, but I don't know any npm package that is compatible with HD wallets and Bitcoin Cash. Could someone help me build the BCH HD Wallet?

  • bitcore-lib-cash? – MCCCS Jul 11 '18 at 14:22
  • bitcore-lib-cash does not support HD wallet – rahul saini Jul 12 '18 at 7:52
  • is there a way to create HD Wallet with all address starting with q (new address format ) – rahul saini Jul 12 '18 at 7:54
0

Use Bitbox

From http://www.bitbox.earth/docs/gettingstarted:

Visual Mnemonic & HD Path

Generate any number of BIP 44 accounts. Toggle their addresses between cashaddr/base58 as well as mainnet/testnet. Easily view the private key in wallet import format (WIF) and extended public (xpub) and private (xpriv) keys. Vary the amount of entropy from 16 bytes up to 32 bytes creating shorter/longer mnemonics. Set a custom mnemonic and/or HD Derivation Path. Optionally use a password.

  • i did the same below is my code... var hdPrivateKey = new bitcore.HDPrivateKey('testnet','xprv8ZgxMBicQKsPdsKyyKSwTJtBXWB1rbDwEAxW3xV6xwNeCHs3n9kvFsCZim8KKMgc3wVGRJR4kJ82t9mRRr8TZ3Ybpxqp8brRA7aMVDJgCt2'); console.log("hdPrivateKey", hdPrivateKey); var orderPrivateKey = hdPrivateKey.deriveChild("m/44'/145'/0'/0").privateKey; every time i am getting different orderPrivateKey from the same derivation path. i dont know why it is happning it should be same every time as i am using same derivation path – rahul saini Jul 13 '18 at 8:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.