New answers tagged

3

If I create a wallet I get one seed phrase, one account and one private key. Nearly. You get one seed phrase, but that can translate into multiple private keys, and therefore multiple accounts. If I push another private key in my wallet then it has two private keys (two accounts) then the seed phase has to change then I can recover my wallet with two ...


0

No assets will be moved. The process is only about registering your wallet to a different place. From the blockchain's perspective, nothing changes, since you will still be using th same private key to create transactions, and the same private key holds the assets. So you don't need to explicitly move any assets (Ethers and tokens), they are wherever your ...


0

Parity Signer is using BIP39 since version 2.2. It was using a non-standard dictionary and algorithm before (GitHub issue). So for new identities created with Parity Signer, BIP39 is used and with Ethereum, the derivation path is m/44'/60'/0'/0/0. This was a bit hard to find in the source (and I'm only 99% sure) since the relevant code was moved into a now-...


0

Yes, Ethereum used BIP39 and those lists of words are called mnemonics. And if you used m/44'/60'/0'/0/0 the path to derive your private key even after 100 Years or in other platforms like metamask or any platform which supports m/44'/60'/0'/0/0 you will get the same private key.


1

ethereumjs-wallet doesn´t have a default export. You can import Wallet like this in Node.js: const { Wallet } = require('ethereumjs-wallet') You can find the docs here: https://github.com/ethereumjs/ethereumjs-wallet#wallet-api


1

Finally I am saving my private key value in an external .js file in the parent folder of my server project. const private = require('../private.js'); var privateKey = private.PRIVATE_KEY; The code of private.js file to declare the var value module.exports.PRIVATE_KEY= "00000000000000000";


4

I think this is difficult to achieve because even if you encrypt the key and save it in a database, a hacker will be able to access the database and decrypt your key. But you can make it more difficult. 1. You can encrypt your private key with the "crypto-js" package, and save it in an external text file (in a parent folder of your project) and ...


Top 50 recent answers are included