Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

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
0 votes
1 answer
102 views

How can I get a private key from a mnemonic phrase? in python or other [duplicate]

I have a mnemonic phrase for my wallet. I want to use it in Python. Is there a way to I get a private key from a mnemonic phrase? I want to get litecoin wallet's private key
omsseung's user avatar
0 votes
2 answers
49 views

HD wallet sending ERC-20 tokens from two child addresses

Imagine that my privacy conscious wallet always creates a new child address to receive tokens. And imagine I was sent 2 USDC from Alice and 2 USDC from Bob. My mental model is that the USDC token ...
Luke Puplett's user avatar
0 votes
0 answers
138 views

HD Wallet Generate independent Phrase Mnemonic

I want to generate a independent Mnemonic Phrase, but with the code generate the same Mnemonic Phrase: import threading from hdwallet import BIP44HDWallet from hdwallet.cryptocurrencies import ...
Dan Gonzalez's user avatar
0 votes
2 answers
73 views

Sorting through HD wallets

I created a random HD address using my seed phrase a while back. lets call it 0x1....I then send funds to the wallet and continued using it normally. I have since lost the devise i had generated the ...
Kilonzo's user avatar
  • 11
1 vote
0 answers
160 views

Python script Same seed combination doesn't derive same address

This script runs great but for some reason, it doesn't derive the same results as iancoleman.io m/44'/60'/0'/0/0 with the same seed words combination..can anyone spot it? import itertools import ...
mull's user avatar
  • 21
0 votes
1 answer
106 views

How is my wallet determined by the mnemonic phrase?

I have such a question after studying BIP44 path. The last parameter in it is address_index - the wallet number that can be obtained using the seed created from this phrase. Whereas the metamask opens ...
Mod diller's user avatar
3 votes
1 answer
919 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
1 vote
1 answer
78 views

How does a recovered HD wallet know how much of an ERC20 token you have in total?

My mental model so you can put me on the right track: A HD wallet is a mathematical tree construct from a seed key. The idea being that new key pairs, and therefore Ethereum addresses, can be created ...
Luke Puplett's user avatar
1 vote
2 answers
42 views

Is it possible to distinguish users, who send tokens/eth on single address?

I know that the easiest way is to generate new address for every user and then withdraw token/eth from it, but this requires additional tx fee payment. Is there any way how I can determine users by ...
unicorns4re4live's user avatar
0 votes
1 answer
26 views

Move tokens from multiple HD addresses

I am trying to find information regarding how to move funds (USDT for example) from multiple HD wallets in a single transaction to pay only once and not have to pay for each one separately. From what ...
SamYan's user avatar
  • 101
0 votes
1 answer
109 views

What does the ` sign means in BIP44?

from the [BIP44 specification][1], the HD derivation path is defined as : m / purpose' / coin_type' / account' / change / address_index What does the ' sign means in it?
Camila326's user avatar
  • 115
0 votes
2 answers
397 views

HD Wallet with multiple addresses for privacy

The main objective is confidentiality, not allowing others to know how much one holds in their balance. by enabling a user to receive tokens in their balance with each transaction using a unique ...
Eduardo Furtado's user avatar
3 votes
1 answer
1k 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
0 votes
1 answer
125 views

Why i am getting different public key values from same private key?

I have been exploring ethereum-cryptography library to build HD wallet features for my demo application. I have used HDkey library to generate master private key from master seed. The code is below ...
Rohit's user avatar
  • 3
0 votes
0 answers
282 views

How to derive all HD paths from an Ethereum wallet?

Child wallet addresses, also called HD paths (hierarchical deterministic), belonging to the same seed phrase are deterministic in Metamask hot wallets and Ledger hardware wallets. That is, the 0x ...
user610620's user avatar
  • 1,528
0 votes
0 answers
116 views

Why does ETH and BNB(or BSC) coins have same coin number on derivation path at ioncolman.io?

I see that Ethereum and Binance smart chain coins are both set to 60 with the same derivation path, So what is that reason? While it seems to be different coins.
mjdimn's user avatar
  • 1
1 vote
1 answer
127 views

Are HD wallet addresses accesible from just the public key?

In other words, can I infer the infinite number of addresses of an external HD wallet (an HD wallet that I do not own) from just its public key?
Daniel Martinez's user avatar
1 vote
1 answer
866 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
1 vote
0 answers
91 views

Web3j How to Load Bip32ECKeyPair from xprivate_key and xpublic_key

I've used PyWallet from (https://github.com/ranaroussi/pywallet) to create an HD Wallet for Ethereum { "coin": "ETH", "seed": "virtual option economy rose hello ...
Elinoter99's user avatar
1 vote
0 answers
38 views

how do exchanges move their users assets?

do big exchanges move their users assets from HD wallets different dresses to a main wallet address ? to eventually move it to cold wallet ? if the answer is YES how do they do it? that's a lot of on ...
pardis.ti's user avatar
0 votes
1 answer
448 views

Truffle deployment/migration error with Infura - contract got deployed once but could not be deployed again

I am stuck when deploying a Smart Contract to rinkeby testnet by running (on macOS 12.1) this: sudo truffle migrate --reset --network rinkeby The contract compiles and I can deploy it locally, but ...
DatamineR's user avatar
  • 101
0 votes
0 answers
63 views

exchange gather all hd wallet adresses fund

every exchange has a HD wallet that stores the fund an assets of their clients but sometimes in order to keep peoples coins safe the exchanges have to move their assets to more secure wallet like ...
pardis.ti's user avatar
0 votes
0 answers
396 views

Ethereum NFT minting successful, but still gives this error

I am trying to build a Ethereum NFT minting website where the website users can mint NFTs on blockchain without an external wallet (e.g. Metamask). I asked a question here before and got reply as to ...
Paul Groove's user avatar
0 votes
0 answers
86 views

How is the account state updated on HD wallet transactions where the address are different everytime

I am implementing an HD wallet in ethereum (BIP-39 and BIP-44), so let's say I generated an account A with a private key PrK and public key PlK. From them I derive many keys and hence addresses Addrs-...
jesantana's user avatar
  • 101
2 votes
1 answer
618 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
0 votes
1 answer
197 views

How to keep track of nonces with HD Wallet Provider (or any other tools)?

I'm trying to send trades with a list of let's say 5 different addresses created with HDWallet Provider using a seed phrase (or mnemonic). I do want to know what is the current nonce of each of the ...
Hiperfly's user avatar
  • 459
0 votes
3 answers
2k views

Retrieving the private/ public key with web3js for a specific wallet provided by truffle/hdwallet-provider

I can't find a way to retrieve the private key / public key / public address for a web3 account loaded via a provider. I have tried the web3.eth.accounts command but I am not getting the private key / ...
J. Does's user avatar
  • 141
0 votes
1 answer
620 views

RuntimeError: abort([object Object]). Build with -s ASSERTIONS=1 for more info

I saw a similar question but does not solve my issue. here is my contract code based on my research. // SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <=0.8.4; contract Lottery { /...
Yilmaz's user avatar
  • 1,600
1 vote
0 answers
225 views

Why the contract verification using truffle is failing?

I have deployed a smart contract on BSC test net and it is successfully being verified using the following code truffle run verify PancakeFactory --network testnet but it fails if I do it like this ...
Azeem Lodhi's user avatar
2 votes
1 answer
503 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
1 vote
1 answer
426 views

Receiving ETH payments

As someone more familiar with bitcoin than ethereum I'd like to ask what would be the best way to accept ETH payments as a merchant? With bitcoin I can do following and my question is if it makes ...
premek.v's user avatar
  • 111
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,843
0 votes
1 answer
864 views

How to recover ERC777 tokens from a ERC20 account

I have transferred some ERC777 tokens to an ERC20 Ethereum account on my Ledger wallet. The transaction was successful and confirmed by etherscan. However, I cannot find the tokens in my Ledger ...
Yih Neng Lee's user avatar
0 votes
1 answer
82 views

Metamask: Will imported account be lost after seed restoration?

Since metamask is a HD wallet, in case of storing some imported accounts in my wallet and after wallet restoration, metamask will only be able to restore derived pairs with the exception of imported ...
Daniel Martinez'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
1 vote
0 answers
476 views

Ethereum account for HD Wallet key generated with xpub key only using bitcoinj

Accordingly to the BIP32/BIP44 specification recommendations I generating HD Wallet addresses using bitcoinj library (DeterministicKey instances) with the path like M/44'/60'/0'/0/0 using xpub key ...
Andrew's user avatar
  • 141
0 votes
0 answers
24 views

is there a way to create a ens ethereum address to be readable one using cryptography? [duplicate]

I would like to generate address which are readable to people using cryptography and supporting ethereum transactions without problems, I don't want to use ens ethereum because I will have to pay for ...
andrew007's user avatar
1 vote
1 answer
789 views

How to program a website to accept Ethereum payments

Assume I have a site and I want to give unique address to each of my users that generated by an HD wallet. If each user, send a little amount to his/her address,that it was less than transaction fee, ...
Hamid Naghipour's user avatar
0 votes
1 answer
163 views

how to send one transaction from multiples seed wallets? [duplicate]

I would like to know if there is posible to group 3 wallet balances derived from a seed phrase and send one tx. Example : The user received 1 ETH to address A, 1 ETH on address B, ETH on address C. ...
andrew007's user avatar
1 vote
1 answer
2k views

derivation path for ethereum?

how are you doing! I would like to know what happens if from a ethereum seed I derive a wallet using BIP49, BIP84 derivation path and then send ethereum from another wallet which is BIP32 or BIP44, ...
andrew007's user avatar
1 vote
1 answer
146 views

can sign derived wallet transactions with main's wallet private key of seed phrase?

I would like to sign a transaction from a wallet which is derived from a seed, and sign it, with it's parent first address and private key derived from the seed, can I sign any tx of any derived ...
andrew007's user avatar
0 votes
1 answer
261 views

Trezor - How to see the balance on a particular address?

Trezor uses MEW or MyCrypto to display the balance of my Ethereum accounts. However, I cannot enter a particular address and have the website search for that wallet in my HD derivation path. I know ...
zeh's user avatar
  • 101
1 vote
2 answers
783 views

HD paths on MyEthereumWallet

I hae some coins on MyEthereumWallet, that I can see in block explorer, but can not access it. I think that the mnemoic and password is correct. My assumption is that I messed up something with the HD ...
ottpeter's user avatar
1 vote
0 answers
40 views

RE: Universal Wallet

I would like to create a multi currency wallet as a POC. I am currently able to make a wallet for Ethereum (Like balance, tx and all) but would like to create it for other as well (like Bitcoin). I ...
Hackeerrrr's user avatar
0 votes
1 answer
875 views

How to avoid gas fee by sending ETH automatically from HDwallet addresses to my specific ETH address

I have created ETH HD wallet and want to send all coins received on those HD wallet address to an admit ETH wallet , this is easy but problem stands as I want to send the ether without any gas fees. I ...
Redmen Ishab's user avatar
0 votes
1 answer
484 views

If Wallet and address generated using EthHDWallet, can we get its recovery using ethereumjs-utils/hdkey getWallet() method by provideing seed?

Generated wallet address using: let mnemonic = request.body.seed; const wallet = EthHdWallet.fromMnemonic(mnemonic); let address = wallet.generateAddresses(1); console.log(wallet, address); How can ...
Rudrika's user avatar
  • 407
0 votes
1 answer
409 views

Why HD wallet instance returns two xpub-xpriv key pairs inside Root and HDKey?

I have implemented address generation using HDWallet as shown in the snippet below: let Seed = generateMnemonic(); const wallet = EthHdWallet.fromMnemonic(Seed); console.log("Wallet" + JSON....
Rudrika's user avatar
  • 407
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
0 votes
1 answer
90 views

Building a deterministic wallet without random seed phrase instead multiple static inputs

If I want to be able to create a private key given inputs x,y,z and these inputs are constant, if I add enough entropy as a salt would it be secure to create a key this way (in terms of brute force ...
Brian's user avatar
  • 101
0 votes
2 answers
3k views

ethers.js - How to derive child addresses + private keys from HD private key

I have a HD private key which I have derived from my mnemonic using the ethers library. I would now like to derive child addresses and corresponding private keys from it. Does anybody know how I can ...
wild_nothing's user avatar