People who code: we want your input. Take the Survey

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
1answer
13 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 { /...
0
votes
0answers
11 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 ...
1
vote
0answers
46 views

Build own BIP44 HD wallet: looking for the easiest and safest way

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 of the language, ...
0
votes
1answer
22 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 ...
1
vote
1answer
93 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 ...
0
votes
0answers
9 views

How to validate my mnemonic before my hardware wallet is broken? (SafePal)

I just bought a SafePal wallet, I really like it. But I am pretty sure that it will get broken at some point. So I started to get afraid what if I broke my SafePal, bought another one, and turned out ...
0
votes
0answers
31 views

How to sign a transaction

I'm having the hardest time simply calling a method on a smart contract using the web3.js library. I'm communicating with the Rinkeby blockchain through the Infura gateway. Following are what I've ...
0
votes
1answer
124 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 ...
0
votes
1answer
21 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 ...
2
votes
1answer
42 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 ...
1
vote
0answers
52 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 ...
0
votes
0answers
13 views

Blockchain service for creating HDWallets

I am currently building a project on the blockchain that allows users to creates custodial wallets. I am currently using the https://docs.cryptoapis.io/ to create this but unfortunately, they do not ...
0
votes
0answers
64 views

Blockchain.info Wallet Restoration Using Xprv Key

I have a partial backup of my wallet.json from blockchain.info - it contains my xprv key, which gives me my Bitcoin wallet fine However, When I try and restore my Ethereum addresses from this key ...
0
votes
0answers
20 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 ...
0
votes
0answers
51 views

Can a new deterministic address be generated with only an Ethereum public key?

BIP-32 defines a way to generate a new address with only knowledge of only the public key for that wallet Deterministic wallets ... permit schemes where one can calculate the public keys without ...
1
vote
1answer
204 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, ...
0
votes
1answer
52 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. ...
1
vote
1answer
360 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, ...
1
vote
1answer
26 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 ...
0
votes
1answer
104 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 ...
1
vote
2answers
302 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 ...
1
vote
0answers
31 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 ...
0
votes
1answer
395 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 ...
0
votes
1answer
98 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 ...
0
votes
1answer
136 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....
2
votes
1answer
1k 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 ...
0
votes
1answer
53 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 ...
0
votes
2answers
475 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 ...
1
vote
2answers
120 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 ...
2
votes
1answer
2k 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 ...
1
vote
0answers
252 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 ...
22
votes
1answer
12k 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
27 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 ...
1
vote
1answer
225 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')}`) ...
2
votes
2answers
170 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
629 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
418 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
506 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
49 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
47 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] = ...
11
votes
2answers
20k 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
938 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
77 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
2k 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, ...
3
votes
0answers
462 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 ...
4
votes
3answers
459 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
482 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
64 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 ...
2
votes
1answer
339 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
299 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 ...