Return to site

My Etherwallet Private Key Generation

broken image


  1. Private Key Bitcoin
  2. Myetherwallet Private Key Generation 2
  3. Myetherwallet Private Key Generator
  4. My Ether Wallet Private Key Generation 2
  5. Advantages Of Private Key Encryption

One is the public key – the address to which you can send funds and tokens, and the other is the private key mentioned above. If you're planning to use this address for long-term holding of ether, it's smart to print it and store it in a safe as if you had a bond or a big wad of cash. Aug 06, 2017  Generate your own random ether private key generate a random private key KzsA5FiofFz3pzgB9TYZaJ2rfRWk8VcRLX468XF9ijFPYcsbnWiH (52. Oct 09, 2019  The Enjin Wallet supports wallet imports from MyEtherWallet. There are two ways to import your wallet from MyEtherWallet to your Enjin Wallet—with a Private Key or with a Keystore (UTC/JSON) file. This article focuses on how to import with a Keystore. You will need the Keystore file to extract its contents for importing.

This repository has been archived by the owner. It is now read-only.

Join GitHub today

GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Sign up

Comments

commented Apr 25, 2016

After generating a wallet on https://www.myetherwallet.com/#generate-wallet, there is an option to 'Download JSON file - Geth/Mist Format (encrypted)'. The JSON file that is downloaded contains the key 'Crypto', which contains the key 'cyphertext'. The value is the unencrypted private key for the wallet. I was expecting the value to be the encrypted private key for the wallet.

commented Apr 25, 2016

While the cipher text may look like a private key (and 'be' a private key) it is not the private key / account that the JSON will unlock and it is not encrypted.

Every 64 hex string will open an account. In this case, that string is NOT the private key, but rather a value being used to check / decrypt the public key / private key derivation. You can read more about it here: https://github.com/ethereum/wiki/wiki/Web3-Secret-Storage-Definition

I just generated a new wallet:

  • Address: 0x2d9C9d03CD1544c86A99380D7aB837BD89Cc1205
  • Unencrypted Private Key: 83d945cc6b0fd190a718ac337d50b9161f5610ddfdee78dd19dc83e4757a5411
  • 'ciphertext':'edcb70e842438e964799c825e23287c3948fcbf75999b6e88c791b5f1729ebd8'

If I paste the unencrypted private key or upload the JSON into view wallet details, it will unlock account 0x2d9C9d03CD1544c86A99380D7aB837BD89Cc1205

If I paste the cipher text, it will unlock 0x96d37eef645a8e582F212d4C17Dc0622Fa72dbA1, a completely different wallet.

commented Apr 25, 2016

Ah, sorry for my ignorance, thanks for the information! In the past when I've used etherwallet the private key was presented in what seems to be an openssl-friendly format beginning with 'Salted_' (U2FsdGVkX1). I've seen this in other wallet generators as well. Was that ever a standard and is the community settled on an official technique? I'm trying to understand what format would be best for a paper wallet.

closed this Apr 25, 2016
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.
HomeEssentialYour First Ethereum Address: Learning to Use MyEtherWallet

In this article we'll go through the process of generating your first Ethereum wallet and sending and receiving ether through the MyEtherWallet interface. For a better understanding of the information which follows, it's recommended you read the following first:

There are many ways to interact with the Ethereum blockchain. In this piece, we'll be using MyEtherWallet (MEW).

Note: After opening the site, please bookmark it so you never have to paste it into your browser again. There are many bad people who want your ether, and they've bought domains similar to the domain of this site hoping you'll fall into that trap by mistyping!

Immediately after loading, the page will display some warnings about them not being a bank and basically not being able to help you if you lose your funds because they don't have access to them. The gist of it is that you're responsible for your own funds.

Creating and Reading an Address

Myetherwallet private key generator

Private Key Bitcoin

The first screen of MEW is the 'input password' screen. Input a password for a new wallet (make it something complex but easy to remember or use a password generator like LastPass).

The address is immediately generated in the background, but MEW won't let you see it yet. For as long as you haven't saved the Keystore file somewhere safe, you cannot proceed. Click 'Download Keystore File (UTC / JSON)' and store it on a USB drive, then hide it from curious family members. The file will be called something like UTC--2018-01-26T10-39-56.592Z--d877263725d9247352661e44c444b21dc5a28581. The first part is the date of creation, the second is the address itself. After you've stored it safely, the next screen will display the private key.

Very imporant!! – the private key is equivalent in access level to the file you downloaded previously. Both can be imported into wallet software and used to unlock an address to spend money on it. But there is an important difference – the private key does not require a password! If you enter a private key into another tool like MetaMask, the address will immediately become unlocked without a password and can be used for sending Ether and tokens. If you import the previously downloaded file into any wallet software, it will require a password before letting you access it fully. Therefore, it is safer to only keep one method around – either store the file and remember the password, or store only the private key in a very secure location. Destroy the other method. The fewer ways to access your wallet there are, the safer the money is.

You can generate a Paper Wallet on the same screen. This will open a new tab with a neatly generated printable layout of two QR codes. One is the public key – the address to which you can send funds and tokens, and the other is the private key mentioned above.

If you're planning to use this address for long-term holding of ether, it's smart to print it and store it in a safe as if you had a bond or a big wad of cash.

After these steps have been completed, MEW lets us unlock the wallet and view its info. This can be done in two ways:

  • picking Keystore / JSON file will provide you with a form through which you upload the file you downloaded previously. You'll then be asked for a password.
  • picking private key lets you paste the private key directly into the field, unlocking the address for usage

Unlock your wallet and you should see something like the image below:

This interface lets you print the wallet again if you lost or destroyed the previous one, or to re-download the JSON file if you lost it and accessed the wallet with the private key. The QR code for the private key can be read by clicking the eye icon under the black rectangle in the bottom of the screen.

On the right, you can see your account's balance: 0 Eth. A little lower you can see the Token Balances frame which shows you how many of which tokens you have. Because of a large number of available tokens out there, you first need to click 'Show all tokens' to load them.

This screen is visible because you're on the 'View Wallet Info' option to which MEW automatically redirects you after creation. When sending tokens or ether the option to use is Send Ether and Tokens.

Receiving Ether

Myetherwallet Private Key Generation 2

On the 'View Wallet Info' screen, the QR code in the lower left is the address to which tokens and ether can be sent. The value of the code is equivalent to the value in 'Your Address' at the top, and the 'Account Address' value in the right sidebar.

To receive some Ether, let's switch to the Ropsten test network. In the upper right corner of the screen you can pick the network to connect to:

Pick any Ropsten. The screen will refresh and you'll have to re-enter the wallet. After re-entering via the 'Send Ether & Tokens' tab, the interface will be a little different. No QR codes and the balance will be in ROPSTEN ETH, not ETH.

Testnets are environments for playing around and testing the Ethereum blockchain without financial consequences. You can find out more about them here. Open the Ropsten faucet next. It's a page which lets us request free Ropsten Ether: http://faucet.ropsten.be:3001

In the recipient field, enter your wallet's address. Copy it from the 'Account Address' part of MEW.

The Ether should arrive within a minute or two, depending on how busy the testnet is.

Sending Ether

Now let's send some Ether. In a new tab open MEW again and generate another wallet, following instructions from before. Copy this newly generated address' public key (Account Address) to the 'To Address' field of the original unlocked wallet with test Ether.

Set the amount to less than maximum and click Generate Transaction. After it's generated, confirm it with Send Transaction.

Another confirmation window will appear, listing all the thus far provided information:

  • sender and recipient
  • amount
  • balance of sender's account
  • coin being sent
  • network being used
  • gas limit and price, i.e. the cost of the transaction
  • nonce and data (irrelevant for now)

Confirm the sending. After sending, a green confirmation message should appear at the bottom of the screen with a 'Verify' link which lets you look at the transaction on Etherscan, Ethereum's most popular block explorer. Etherscan has access to the Ropsten network and can inspect it.

This is how the TX looks for our case above:

Pending means the transaction is still being processed. The higher the gas price, the faster it turns into Success. Once it's successful, the ROPSTEN ETH state of the second, new address, will change (sometimes a re-unlock is necessary so MEW registers the changes).

Conclusion

Myetherwallet Private Key Generator

MyEtherWallet is a simple and safe tool for interacting with the Ethereum blockchain. You can use it to interact with contracts, register domains (like bitfalls.eth), track accounts, activate smart contracts, send Ether, even run decentralized apps – more on that in a followup post.

Advantages of private key encryption

Private Key Bitcoin

The first screen of MEW is the 'input password' screen. Input a password for a new wallet (make it something complex but easy to remember or use a password generator like LastPass).

The address is immediately generated in the background, but MEW won't let you see it yet. For as long as you haven't saved the Keystore file somewhere safe, you cannot proceed. Click 'Download Keystore File (UTC / JSON)' and store it on a USB drive, then hide it from curious family members. The file will be called something like UTC--2018-01-26T10-39-56.592Z--d877263725d9247352661e44c444b21dc5a28581. The first part is the date of creation, the second is the address itself. After you've stored it safely, the next screen will display the private key.

Very imporant!! – the private key is equivalent in access level to the file you downloaded previously. Both can be imported into wallet software and used to unlock an address to spend money on it. But there is an important difference – the private key does not require a password! If you enter a private key into another tool like MetaMask, the address will immediately become unlocked without a password and can be used for sending Ether and tokens. If you import the previously downloaded file into any wallet software, it will require a password before letting you access it fully. Therefore, it is safer to only keep one method around – either store the file and remember the password, or store only the private key in a very secure location. Destroy the other method. The fewer ways to access your wallet there are, the safer the money is.

You can generate a Paper Wallet on the same screen. This will open a new tab with a neatly generated printable layout of two QR codes. One is the public key – the address to which you can send funds and tokens, and the other is the private key mentioned above.

If you're planning to use this address for long-term holding of ether, it's smart to print it and store it in a safe as if you had a bond or a big wad of cash.

After these steps have been completed, MEW lets us unlock the wallet and view its info. This can be done in two ways:

  • picking Keystore / JSON file will provide you with a form through which you upload the file you downloaded previously. You'll then be asked for a password.
  • picking private key lets you paste the private key directly into the field, unlocking the address for usage

Unlock your wallet and you should see something like the image below:

This interface lets you print the wallet again if you lost or destroyed the previous one, or to re-download the JSON file if you lost it and accessed the wallet with the private key. The QR code for the private key can be read by clicking the eye icon under the black rectangle in the bottom of the screen.

On the right, you can see your account's balance: 0 Eth. A little lower you can see the Token Balances frame which shows you how many of which tokens you have. Because of a large number of available tokens out there, you first need to click 'Show all tokens' to load them.

This screen is visible because you're on the 'View Wallet Info' option to which MEW automatically redirects you after creation. When sending tokens or ether the option to use is Send Ether and Tokens.

Receiving Ether

Myetherwallet Private Key Generation 2

On the 'View Wallet Info' screen, the QR code in the lower left is the address to which tokens and ether can be sent. The value of the code is equivalent to the value in 'Your Address' at the top, and the 'Account Address' value in the right sidebar.

To receive some Ether, let's switch to the Ropsten test network. In the upper right corner of the screen you can pick the network to connect to:

Pick any Ropsten. The screen will refresh and you'll have to re-enter the wallet. After re-entering via the 'Send Ether & Tokens' tab, the interface will be a little different. No QR codes and the balance will be in ROPSTEN ETH, not ETH.

Testnets are environments for playing around and testing the Ethereum blockchain without financial consequences. You can find out more about them here. Open the Ropsten faucet next. It's a page which lets us request free Ropsten Ether: http://faucet.ropsten.be:3001

In the recipient field, enter your wallet's address. Copy it from the 'Account Address' part of MEW.

The Ether should arrive within a minute or two, depending on how busy the testnet is.

Sending Ether

Now let's send some Ether. In a new tab open MEW again and generate another wallet, following instructions from before. Copy this newly generated address' public key (Account Address) to the 'To Address' field of the original unlocked wallet with test Ether.

Set the amount to less than maximum and click Generate Transaction. After it's generated, confirm it with Send Transaction.

Another confirmation window will appear, listing all the thus far provided information:

  • sender and recipient
  • amount
  • balance of sender's account
  • coin being sent
  • network being used
  • gas limit and price, i.e. the cost of the transaction
  • nonce and data (irrelevant for now)

Confirm the sending. After sending, a green confirmation message should appear at the bottom of the screen with a 'Verify' link which lets you look at the transaction on Etherscan, Ethereum's most popular block explorer. Etherscan has access to the Ropsten network and can inspect it.

This is how the TX looks for our case above:

Pending means the transaction is still being processed. The higher the gas price, the faster it turns into Success. Once it's successful, the ROPSTEN ETH state of the second, new address, will change (sometimes a re-unlock is necessary so MEW registers the changes).

Conclusion

Myetherwallet Private Key Generator

MyEtherWallet is a simple and safe tool for interacting with the Ethereum blockchain. You can use it to interact with contracts, register domains (like bitfalls.eth), track accounts, activate smart contracts, send Ether, even run decentralized apps – more on that in a followup post.

My Ether Wallet Private Key Generation 2

But while MEW is a pretty safe option, nothing can match the safety of hardware wallet like Ledger Nano S. Seeing as MEW's interface can seem a little complex, there's a simpler alternative as well – MetaMask.

Advantages Of Private Key Encryption

If you found this article useful or interesting, please consider donating to keep our operation running.





broken image