Skip to main content

Questions tagged [hd-wallets]

Hierarchical deterministic wallets (or "HD Wallets") are wallets which can be shared partially or entirely with different systems, each with or without the ability to spend coins.

Filter by
Sorted by
Tagged with
52 votes
3 answers
30k views

Can someone explain the meaning of derivation path in wallet in plain English (such as m/44'/60'/0'/0)?

Like m / purpose' / coin_type' / account' / change / address_index which gives say a value of m/44'/60'/0'/0 What is the meaning of "m", purpose, coin type, etc.
vyap56's user avatar
  • 660
34 votes
3 answers
54k views

How can I get a mnemonic phrase from a private key?

I have a private key for my wallet and also a keystore for it. I want to use it in MEWConnect. Is there a way to get a mnemonic phrase from a private key?
Incrediblez7's user avatar
15 votes
2 answers
25k views

What is the difference between m/44'/60'/0'/0 and m/44'/60'/0'?

When linking MyEtherWallet with a hardware wallet, there is a dropdown to select the HD derivation path. I understand that m/44'/60'/0'/0 is the default. For some reason Ledger uses m/44'/60'/0'. I'm ...
Randomblue's user avatar
  • 2,620
14 votes
4 answers
10k views

What Hierarchical Deterministic (HD) wallets are available for Ethereum?

A Hierarchical Deterministic (HD) wallet has some nice features such as easier backup (instead of needing to backup multiple keystore files and the passwords for each of them). Are there any ...
12 votes
2 answers
15k views

What is an HD wallet for Ether and how to create one using node.js?

I know the basics of blockchain and how to use geth. However, I'm curious to know how to build a wallet using nodejs. What I understand is that you can create a account using geth console (private ...
Shivam Nema's user avatar
9 votes
4 answers
15k views

Web3 create account from mnemonic + passphrase

I'm trying to create an ethereum account using web3-js by providing a mnemonic + passphrase (created with BIP39-js) but can't seem to find an implementation of web3.eth.accounts.create() that accepts ...
pmcoelho's user avatar
  • 103
6 votes
2 answers
1k views

Are mnemonic seeds or hierarchical deterministic wallets standardized?

Some wallets for Bitcoin and Ethereum will give you a list of about 15 words to write down instead of giving you a private key. From what I understand, the list of words is derived from the key, and ...
ZMitton's user avatar
  • 2,770
6 votes
3 answers
1k views

Getting Addresses using a Path causes the error: Could not derive hardened child key

I am using ethereumjs-wallet npm package to generate a unique wallet address for each user. However instead of using the mnemonic/seed, a public extended key xpub will be used instead to keep the ...
Nyxynyx's user avatar
  • 1,167
6 votes
1 answer
717 views

Is possible to continue the BIP32/BIP39 algorithm from a Pk and Sk pair and "climb" to the mnemonic seed?

A few days reading about the BIP algorithm and the generation of the key pairs. Found that on the BIP 32 Paper: Child key derivation (CKD) functions Given a parent extended key and an index i, ...
CPereez19's user avatar
  • 2,835
5 votes
2 answers
3k views

Ethereum HD Wallet implementation in Golang, is there any library in go?

I need a library in golang to implement HD Wallet.
Sumit Sahu's user avatar
5 votes
1 answer
6k views

How to set truffle-hdwallet-provider as the Web3 currentProvider inside a web page

https://github.com/trufflesuite/truffle-hdwallet-provider/blob/master/README.md provides sample usage for the deployment configuration inside tuffle.js. I need a sample that update the Web3 ...
Muhammad Altabba's user avatar
5 votes
1 answer
211 views

How compatible are ICAP addresses with HD wallets?

A Hierarchical Deterministic (HD) wallet has some nice features such as easier backup (instead of needing to backup multiple keystore files and the passwords for each of them). Since ICAP addresses ...
eth's user avatar
  • 85.9k
4 votes
2 answers
3k views

How to connect truffle using HDWallet provider to Websocket-powered node?

I am using truffle-hdwallet-provider to connect to the node that operates over https and it works perfectly. Now I want to connect to websocket-powered node but keep my HD Wallet provider. I cannot ...
Alex G.P.'s user avatar
  • 1,277
4 votes
1 answer
9k views

Convert BIP-39 mnemonic to Ethereum private key in Python

How do I convert a BIP-39 mnemonic to an Ethereum private key in Python (via BIP-44 key derivation)? All the libraries I found that gave me the intended result depend on the two1 package, which ...
Niklas B.'s user avatar
  • 211
4 votes
1 answer
3k views

Different address with single mnemonic phrase

I'm trying to implement ethereumjs-wallet library to my code. But when I decided to compare generated accounts with accounts generated with the same mnemonic here, I got absolutely different accounts, ...
Vlad's user avatar
  • 103
4 votes
0 answers
1k views

How to export extended (master) public key from MetaMask

I want to export extended public key for watch-only access to all ethereum addresses in the MetaMask HD wallet at once. It's very usefull for tracking of all portfolio/wallets in one place, especially ...
Artyom Krivolapov's user avatar
3 votes
1 answer
2k views

What is the difference between HD Node and Wallet in ethers.js?

I am now implementing HD Wallet using ethers.js library. And I noticed something strange. async function getWalletFromMnemonic(mnemonic: string): Promise<Wallet> { return ethers.Wallet....
Primrose's user avatar
3 votes
1 answer
2k views

Ethereum HD address generator

I'm writing a library for Ethereum BIP44 address trees and comparing it against https://iancoleman.io/bip39/ using the same mnemonic phrase. Given this mnemonic (just a test) report dash combine ...
tzumby's user avatar
  • 61
3 votes
1 answer
322 views

Hierarchial deterministic wallets on Android

Is there some implementation which lets me create Hierarchical Deterministic Wallets for Ethereum on Android ? I am looking for some library which lets me create the same.
jgm's user avatar
  • 515
3 votes
1 answer
964 views

How do you calculate a privatekey/public key from an xprv/pbub?

I am trying to understand how HD wallets work in Ethereum. Currently I have managed to generate a child extended private and public key (xpub and xpriv) from my BIP32 Root Key. However, I can't find ...
Jean Claude Dusse's user avatar
3 votes
1 answer
146 views

How to use key derivation and 'coin selection' to increase privacy, like in Bitcoin?

In Bitcoin, you can have increased privacy by never re-using addresses. A single private key can generate many addresses if you are using a key derivation scheme. In Ethereum, instead of UTXOs you ...
skyw's user avatar
  • 33
3 votes
0 answers
852 views

Mnemonic and HD Path in Ganache and ethereumjs-tx gives different private key and address

I am having difficulty reproducing the private key and address using the mnemonic and HD path provided by Ganache. Mnemonic weird farm vast surge upper truth answer end radar impact mind jeans HD ...
Nyxynyx's user avatar
  • 1,167
3 votes
0 answers
106 views

Does ethereum wallets have HD addresses like Bitcoin? How do I generate my own seed? [duplicate]

Bitcoin has HD wallet addresses where you can generate a 12 word seed which generates all the addresses moving forward. Does Ethereum have something like this in the mist wallet? How can someone get ...
Patoshi パトシ's user avatar
3 votes
0 answers
78 views

Is it possible to spend from multiple addresses and broadcast just one tx? [duplicate]

In bitcoin I can combine UTXO from multiple addresses into a single transaction. In Ethereum it seems that if I want to spend from multiple addresses I need to do N transactions. This makes HD wallets ...
Advanced's user avatar
  • 375
2 votes
1 answer
925 views

Unable to Generate Same Account from MetaMask Mnemonic in EthereumJSWallet

I've been unable to generate the Account I see in MetaMask in EthereumJSWallet even if I use the same mnemonic. Due to the lack of documentation, I may be misunderstanding how to do so. I have run ...
3mrsh's user avatar
  • 93
2 votes
1 answer
3k views

Total metamask balance

I am curious how to get the total current balance of my metamask wallet with as many "accounts" inside it as it bears in the moment? As I can understand metamask is the HD wallet and all my addresses ...
loarrin's user avatar
  • 23
2 votes
2 answers
170 views

Is there any way to fund a new account privately via a randomising pool?

It isn't currently possible to create a new HD wallet account and privately fund it, is it? I'm aware of this thread, but I'm not asking about SNARKs. Instead, I'm curious if there's any way to send ...
Paul Razvan Berg's user avatar
2 votes
2 answers
489 views

generate unique mnemonic with password(only)

I am trying to create an exodus like wallet, where for the first time user just need to enter the password to register on wallet. The method I thought, running PBKDF2 on the password with empty salt ...
Vikram Kumar's user avatar
2 votes
1 answer
219 views

How to get the sum of tokens on all Ethereum addresses generated by one private key?

I need a tool that automatically show all wallet addresses generated with one private key. Ideally, it would be to manage tokens on any of the addresses from one place. This is implemented in the web ...
 Captain's user avatar
2 votes
2 answers
4k views

Ethereum HD wallet library for Java

Is there any Ethereum HD wallet java library? I find a popular java library on Github, web3j, which doesn't support HD wallet yet.
soulmachine's user avatar
2 votes
1 answer
6k views

Get Private and Public Key from BIP44 Master Private Key

I am confused about getting the private key corresponding to the address for derivation path m/44'/60'/0'/0'/0' Question 1: Is the following code correct in getting the address and private key? Why ...
Nyxynyx's user avatar
  • 1,167
2 votes
1 answer
507 views

What is the easiest/safest way to build my own Ethereum wallet (BIP44 HD)

I would like to build my own BIP-44 Hierarchical Deterministic wallet to store my ethers and to make transactions (receive/send). I'm not interested to use an wallet app. I don't care about the ...
J. Does's user avatar
  • 141
2 votes
1 answer
768 views

HD wallet public to public key derivation and non-hardened keys

This question is about hierarchical deterministic wallets and the bip32 standard which, as I understand it, allows you to deterministically derive child private/public key pairs from a master seed ...
Sean Thoman's user avatar
2 votes
1 answer
2k views

Extended private key vs private key

I am trying to make an hd wallet based on nodejs. So to have a secure wallet I have created wallet in my offline machine const hdkey = require('ethereumjs-wallet/hdkey'); const bip39 = require('...
Yur Gasparyan's user avatar
2 votes
1 answer
468 views

How to combine a MultiSigWallet with the advantages of a HD Wallet?

For a token sale we want to use the MultiSigWallet from ConsenSys where all team members will registered as signer while every transaction needs to be signed by at least 2 team members. Otherwise we ...
delete's user avatar
  • 327
2 votes
1 answer
547 views

Generate / recover HD wallet with username/password only

Is there any way to generate HD wallet based on username/password combination only? I understand that I can easily generate and recreate the wallet in a deterministic way based on a mnemonic phrase (...
dawka's user avatar
  • 31
2 votes
2 answers
101 views

Can hd wallets have different withdrawal permission levels?

Specifically, is it possible for a wallet to have a key which can spend an ERC721 collectible, but its child keys not?
Paul Razvan Berg's user avatar
2 votes
2 answers
579 views

Do we need to spend Gas to move ERC20 token inside a bip32/HD wallet

I just wondering to know in order to move erc20 token inside a bip32/HD wallet from child to parent to we need to spend any gas? (example: imagine I made a HD wallet which supporting ERC20 tokens and ...
Hamed's user avatar
  • 21
2 votes
1 answer
646 views

What coin type does Binance Smart Chain use for it's BNB coin?

According to the SLIP-0044 each coin should use unique coin type (a numeric ID) when generating addresses to be used in it's network. Recently, I was experimenting with using the same seed value to ...
Slava Fomin II's user avatar
2 votes
0 answers
60 views

Unable to send large transactions on ethereum private chain

I have a small contract pragma solidity ^0.4.17; contract A10test{ mapping(uint=>string) public data; uint public revisionNo=0; function setdata(string _data) public { data[revisionNo] = ...
ahmed's user avatar
  • 21
2 votes
0 answers
260 views

What exactly is an extended public/private key?

How do they differ per derivation level? For example is the extended public key of the master node equivalent for all intents and purposes as a depth 3 node's extended public key? Therefor can I ...
arshbot's user avatar
  • 387
2 votes
0 answers
92 views

Can I use a Bitcoin client to sign a message with an Ethereum address?

If an Ethereum address is a point on the Bitcoin EC, then one can use the private key that matches that address to sign a message using bitcoin software. I'd like someone to prove they have the ...
Dave Scotese's user avatar
2 votes
0 answers
820 views

How to initiate ethereum transaction in HD wallets using python?

I've managed to generate HD wallet for ethereum where I have Master Key, xpriv, xpub (156 in lengh) keys but for signing a transaction I need private key of address(64 Characters). How could we ...
the_cyber_lord's user avatar
2 votes
2 answers
829 views

How to programmatically generate sub addresses using the root address in hd wallet?

And without using the private key. I've been digging into the ConsenSys's eth-lightwallet, although it uses a derived private key to generate the address which would expose the root private in danger. ...
Yuanfei Zhu's user avatar
1 vote
2 answers
2k views

How to create a own ethereum wallet

Is that possible to develop a own ethereum wallet without metamask that should connect to main ethereum network. Just like in blockchain.info user clicks the account by just giving email address and ...
Trinu's user avatar
  • 125
1 vote
1 answer
2k views

Can you get the seed phrase of a HD wallet from the private key of one of the wallets?

Let us say I have a HD wallet. Can I get it’s seed phrase from the private key of one of its wallets? Also are seed phrases just easy to remember private keys? If so does that mean that from the seed ...
YulePale's user avatar
  • 1,853
1 vote
1 answer
2k views

How can I restore a mnemonic seed with one missing word?

Anyone know how to restore an ethereum wallet from a seed that's missing only one word? I'm able write a program that will narrow down the possible seeds to like 1500 candidates which are considered ...
pepe's user avatar
  • 11
1 vote
1 answer
113 views

How to push new wallet into Ethereum blockchain?

Imagine that I generated normally encrypted(by Ethereum standards) wallet keys(private, public). How to push this generated wallet into Ethereum node? Is it possible to push new wallet into node, ...
vellmur's user avatar
  • 265
1 vote
1 answer
933 views

Load an HD (Hierarchical Deterministic) Wallet

I'm trying to find a way to programmatically generate Ethereum addresses based on an initial seed and then extract any funds that land in those addresses. Here's what I've tried: Generated a 24 word ...
Maros's user avatar
  • 141
1 vote
1 answer
887 views

Why does the BIP44 derivation path generate the same address in MetaMask as the Ledger Live derivation path?

Looking at MetaMask's source code (commit 99ed42), I can see that the derivation paths for Ledger Live and BIP44 differ slightly: const LEDGER_LIVE_PATH = `m/44'/60'/0'/0/0`; const BIP44_PATH = `m/44'/...
Paul Razvan Berg's user avatar