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
2
votes
2answers
502 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. ...
3
votes
2answers
923 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 ...
0
votes
2answers
30 views

truffle migrate fails silently

I'm trying to deploy a truffle project to testnet. When I run truffle migrate --reset --network rinkeby --verbose-rpc, this is output: You can improve web3's peformance when running Node.js versions ...
1
vote
1answer
47 views

How to generate multiple ethereum addresses using HDWallet?

const mnemonic= 'clown shiver beach wheel this mixture emotion illness fatigue amateur talent bitter' console.log(`0x${hdwallet.derive(`m/44'/60'/0'/0/0`).getAddress().toString('hex')}`) ...
0
votes
1answer
114 views

Using HD wallet for exchange customer

I have an assignment from my prof to make an ethereum exchange. Is it possible to use HD wallet to generate multiple public address for all the customers? if so, what is the easiest implementation?
3
votes
2answers
4k 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?
0
votes
0answers
26 views

Ethereum HD wallet BIP44

1) What are the standards for HD Wallet Ethereum? 2) Is bip44 used? 3) How to use BIP44 in Ethereum correctly, because there is no 'Change' in it, and many 'address' are not required in it
2
votes
1answer
102 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 ...
0
votes
2answers
205 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 ...
1
vote
0answers
51 views

Generate Ethereum address using Bitwasp/BIP32 library

I am new in cryptocurrencies. I am using PHP library Bitwasp/Bitcoin-lib (https://github.com/Bit-Wasp/bitcoin-lib-php) to generate addresses for bitcoin. I am validating my outputs here. I was ...
4
votes
1answer
684 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.
0
votes
0answers
33 views

Supporting multiple HDwallets with truffle/drizzle

I have a dapp using truffle/ drizzle that implements regular user auth format (Login, id, tokn, etc). If I wanted to support each user having access to their own hd wallet, how would I do that with ...
0
votes
0answers
16 views

Ethereum hd wallets making transactions like bitcoin wallets

I'm working on an exchange where every user has given a unique address, generated via ethereum hd wallets. How can i use a single master private key to transfer available funds from different ...
2
votes
2answers
1k 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.
5
votes
2answers
4k views

What is a HD wallet for Ether and how to create one using nodejs?

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 basically is that you can create a account using geth console (private ...
4
votes
1answer
1k 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 ...
3
votes
1answer
110 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 ...
0
votes
0answers
25 views

Can I avoid metamask popups with calls to a server-side js script in order to pay for transactions?

I have a dapp that allows a user to input some info via the GUI, and this info is stored to the blockchain(testnet for now) when the user presses a button. This naturally incurs a cost, which causes ...
2
votes
1answer
78 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 ...
2
votes
1answer
194 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 ...
1
vote
1answer
88 views

Lost coin during hard drive upgrade

I purchase one ether coin and sent it to my wallet stored on my apple computer. I bought a new computer and had them clone my hard drive and bring everything over to my new mac. My wallet is on the ...
2
votes
0answers
215 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 ...
0
votes
1answer
147 views

User ether.js mnemonic for bitcoin

I'm using Ether.js for my react native app to create mnemonic. i want use Wallet.fromMnemonic(code, path) to get key pairs but when i send bitcoin Derivation Path i get and ethereum private key which ...
8
votes
2answers
8k 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 ...
2
votes
1answer
247 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 ...
1
vote
0answers
36 views

Is there a way to figure out if 2 (or more) address is belong to same HD Wallet account or not?

I'm a new to Wallet concept, I know that a HD Wallet structure is created from a root seed as Mnemonic Code, from that HD Wallet help to generate child keys as the meaning of multiple difference ...
1
vote
0answers
204 views

Signing a message with HDWalletProvider?

This works fine: const provider = new Web3.providers.HttpProvider('http://localhost:8545'); const web3 = new Web3(provider); await web3.eth.sign(message, address); But when I switch to this ...
2
votes
0answers
43 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] = ...
2
votes
1answer
2k 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 ...
1
vote
1answer
47 views

Cannot send transactions

I have a online shop where users can recieve ETH and do shopping. So to have a secure wallet, I have created an offline service which generates xpub and xpriv which I use to generate addresses in my ...
2
votes
1answer
302 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('...
2
votes
0answers
68 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 ...
2
votes
1answer
580 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, ...
1
vote
1answer
242 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 ...
2
votes
0answers
248 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 ...
1
vote
2answers
43 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 ...
1
vote
1answer
121 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 ...
2
votes
1answer
143 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 (...
2
votes
2answers
73 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?
3
votes
1answer
55 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 ...
3
votes
2answers
966 views

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

I need a library in golang to implement HD Wallet.
3
votes
1answer
2k 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 ...
0
votes
1answer
255 views

How Do I Create A New Ethereum Account/Address In My DApp

i am starting to learn how to create a Dapp and i am trying to create a way for users to login without having to use metamask. I am using truffle-hdwallet-provider which works fine for creating an ...
0
votes
1answer
226 views

geth + truffle-hd-wallet accounts not listed properly

I have setup a latest single node geth for my learning. I am also using truffle-hd-wallet in my app. While in my app i do not get the correct coinbase account on using 'web3.eth.getCoinbase()'; the ...
0
votes
1answer
1k 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 ...
6
votes
1answer
332 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, ...
1
vote
0answers
81 views

Need help to figure out HD paths , append byte and the network params for these coins: [closed]

I am making an HD wallet on Android. I plan to support all major tokens/coins out there. I have setup the base of HD wallets and am getting pub/priv xpub/xpriv keys at HD path. Imagine a function ...
0
votes
1answer
106 views

Can we create a HD-Wallet with many sub-wallets but a single shared transfer()-method?

Can we create a HD-Wallet-Contract with a transfer()-method for specific business-logic and make it inheritable or shareable for sub wallets? Let's say we have this HD-Wallet and sum sub wallets that ...
1
vote
1answer
467 views

Ethereum Derivation path(m'/44'/60'/0/'0/n)

when we create ethereum HD wallet through a mnemonic phrase, we always need derivation path. is it fix for a particular currency or we can put whatever we like (ex- m/0/n, m/4/3/n or anything else)?
0
votes
2answers
687 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 ...