Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
14 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 ...
4
votes
1answer
144 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
11 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 ...
0
votes
1answer
16 views

how to generate multiple ethereum addres using Hd wallet?

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')}) const seed = ...
0
votes
0answers
17 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
50 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
94 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 ...
0
votes
1answer
79 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 ...
2
votes
1answer
144 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
32 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 ...
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

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?
2
votes
1answer
223 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('...
1
vote
1answer
41 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

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, ...
2
votes
0answers
178 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 ...
2
votes
1answer
78 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 ...
1
vote
1answer
169 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 ...
1
vote
2answers
39 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 ...
0
votes
1answer
94 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 ...
1
vote
0answers
183 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
1answer
116 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 (...
3
votes
1answer
51 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 ...
2
votes
2answers
68 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?
2
votes
1answer
1k 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
195 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 ...
6
votes
1answer
285 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
74 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
92 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 ...
2
votes
0answers
194 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 ...
1
vote
1answer
364 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
1answer
87 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
801 views

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

I need a library in golang to implement HD Wallet.
0
votes
2answers
610 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 ...
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.
0
votes
1answer
224 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 ...
1
vote
1answer
276 views

How to use hardened key derivation properly?

I am implementing a wallet for customers' deposits account. I am using ethereumjs-wallet/hdkey. I need to decide which derivation path to use: standard for ethereum would be m/44'/60'/0'/0 but maybe ...
1
vote
1answer
328 views

How can I write a script to move ETH from many wallets associated with a mnemonic to a single wallet? [closed]

Would be grateful to be pointed to any resources that would allow me to do this. Thanks!
2
votes
0answers
216 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 ...
1
vote
1answer
113 views

What kind of HD Wallet is used in test rpc?

EthereumJS TestRPC starts with a HD Wallet: HD Wallet ================== Mnemonic: behave differ train script wedding grant carbon buyer tape make wise soup Base HD Path: m/44'/60'/0'/0/{...
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 ...
2
votes
0answers
51 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 ...
0
votes
1answer
183 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
1answer
82 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, ...
3
votes
1answer
810 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
1answer
273 views

Ethereum HD wallet collision?

I created random HD wallet seed using eth-hd-wallet package, then imported it into Metamask and got expected addresses: 0xF011B485DF2A66A3019dEa82E1EBbf7C716443A1 (m/44'/60'/0'/0/0) ...
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 ...
1
vote
1answer
560 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 ...
2
votes
0answers
339 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 ...
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 ...