question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HDNode from chain code and public key

See original GitHub issue

I’m trying to derive addresses from hardware wallets, using a chainCode and publicKey. Currently it seems that only mnemonic phrases, seeds and extended keys. I can’t figure out a way to derive addresses with just a chainCode and publicKey using Ethers.js.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Mrtenzcommented, Dec 18, 2019

I’m working on some refactors currently, but I’ll definitely post it once pushed to GitHub.

Thank you for making Ethers.js, it’s a great library!

1reaction
Mrtenzcommented, Dec 18, 2019

I figured out how to export an xpub from a hardware device, so this can be closed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HD Wallet - Ethers.js
The (compresses) public key for this HDNode. ... The chain code is used as a non-secret private key which is then used with...
Read more >
How to use the @ethersproject/signing-key.SigningKey ... - Snyk
To help you get started, we've selected a few @ethersproject/signing-key examples, based on popular ways it is used in public projects. Secure your...
Read more >
Low-Level API — ethers.js 3.0.0 documentation
HDNode ¶. A Hierarchical Deterministic Wallet represents a large tree of private keys which can reliably be reproduced from an initial seed. Each...
Read more >
HDNode | @findeth/hdnode
Documentation for @findeth/hdnode. ... new HDNode(depth: number, index: number, chainCode: Uint8Array, publicKey: Uint8Array, privateKey?:
Read more >
How to get Master Chain Code - Bitcoin Stack Exchange
The left 256 bits are used for the master private key, the right 256 bits are used for the master chain code. When...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found