Website: https://www.MyEtherWallet.com
Chrome Extension: https://chrome.google.com/webstore/detail/myetherwallet-cx/nlbmnnijcnlegkjjpcfjclmcfggfefdm
Download the Latest Release: https://github.com/kvhnuke/etherwallet/releases/latest
- dist-vX.X.X.X.zip is the smaller package containing the gh-pages branch aka MyEtherWallet.com
- chrome-extension-vX.X.X.X.zip is the chrome extension package
- source code is the full source for developers to get started with (although cloning or forking the mercury branch is probably a better choice)
mercury
is the development branch. gh-pages contains only the smaller dist folder only and is served to MyEtherWallet.com via CloudFlare.
MyEtherWallet is an open source, javascript, client-side tool for generating Ether wallets. It was created and is maintained by kvhnuke and tayvano aka insomniasexx.
- Generate Wallets completely client side.
- Unlock variety of key types: raw private key, encrypted private key, keystore file, mnemonics, Ledger Nano S hardware wallet.
- Easily send Ether and any ERC-20 Standard Token. Many tokens included as default: DGD, GNT, ICN, MKR, PLU, REP, SNGLS, and more.
- Send "Only ETH" or "Only ETC" to ensure you are not victim of replay attacks.
- Generate and send offline transactions, ensuring your private keys never touch an internet-connected device.
- Securely access your ETH & Tokens on your Ledger Nano S via the MyEtherWallet interface (Chrome & Opera natively, Firefox w/ add-on)
- Now in 18 languages thanks 100% to the amazing Ethereum community.
- Supports URI Strings on Send Transaction Page. Read More.
- to=[address]
- value=[number]
- sendMode=[0 | 1 | 2 | 4] *(0 is ETH (Standard Transaction) | 1 is Only ETH | 2 is only ETC | 4 is token)
- tokenSymbol=[ARC | ICN | MKR | ....]
- gasLimit=[number] OR gas=[number]
- data=[hex data]
- Example 1: https://www.myetherwallet.com/?to=0x7cB57B5A97eAbe94205C07890BE4c1aD31E486A8&value=1&tokenSymbol=REP&gaslimit=50000#send-transaction
- Example 2: https://www.myetherwallet.com/?to=0x7cB57B5A97eAbe94205C07890BE4c1aD31E486A8&value=1&gaslimit=23000&data=0x5468616e6b20796f752c204d455720322e30#send-transaction
Goals
- Empower the people: Give people the ability to interact with the Ethereum blockchain without having to run a full node.
- Make it easy & free: Everyone should be able to create a wallet AND and send Ether & Tokens.
- People are the Priority: You are the most important. Always. If monetization leads to a worse user experience, we don't do it. (ie: ads)
- A learning experience, too: We want to educate about safely storing private keys and what public/private keys are. We don't want to hide behind usernames, passwords, or mnenmonics. That can come later.
- If it can be hacked, it will be hacked: Never save, store, or transmit any private key anywhere at any time.
- Offline / Client-Side: User should be able to run locally and offline without issue.
- Private: No tracking!!! No emails. No ads. No demographics. We don't even know how many wallets have been generated or transactions have been sent, let alone who / what / where you are.
- Open source & audit-able
It is recommended you start with our help page @ https://www.myetherwallet.com/#help.
You can run MyEtherWallet.com on your computer instead of from the GitHub servers. You can generate a wallet completely offline and send transactions from the "Offline Transaction" page.
- Go to https://github.com/kvhnuke/etherwallet/releases/latest.
- Click on
dist-vX.X.X.X.zip
. - Move zip to an airgapped computer.
- Unzip it and double-click
index.html
. - MyEtherWallet.com is now running entirely on your computer.
In case you are not familiar, you need to keep the entire folder in order to run the website, not just index.html. Don't touch or move anything around in the folder. If you are storing a backup of the MyEtherWallet repo for the future, we recommend just storing the ZIP so you can be sure the folder contents stay intact.
As we are constantly updating MyEtherWallet.com, we recommend you periodically update your saved version of the repo.
If you want to help contribute, here's what you need to know to get it up and running and compiling.
- Both the Chrome Extension and the MyEtherWallet.com are compiling from the same codebase. This code is found in the
app
folder. Don't touch thedist
orchrome-extension
folders. - We use angular and bootstrap. We used to use jQuery and Bootstrap until it was converted in April 2016. If you wonder why some things are set up funky, that's why.
- The mercury branch is currently the active development branch. We then push the dist folder live to gh-pages, which then gets served to MyEtherWallet.com.
- We use npm / gulp for compiling. There is a lot of stuff happening in the compliation.
- Our node currently runs using the json relay found in
json_relay_node
. This is written in node.js. - Our node used to run on the json relay found in
json_relay_php
which was written in php.
Getting Started
- Start by running
npm install
.- I currently have node v4.2.6 & npm v3.7.2 so check to see if you need to update those is something isn't working.
- You may need to install
browserify
andangular
globally?
- Run
gulp
. Gulp will then watch & compile everything and then watch for changes to the HTML, JS, or CSS. - For distribution, run
gulp clean
.
Folder Structure
-
fonts
andimages
get moved into their respective folders. This isn't watched via gulp so if you add an image or font, you need to rungulp
again. -
includes
are the pieces of the pages / the pages themselves. These are pretty self explanatory and where you will make most frontend changes. -
layouts
are the pages themselves. These basically take all the pieces of the pages and compile into one massive page. The navigation is also found here...sort of.index.html
is for MyEtherWallet.com.cx-wallet.html
is the main page for the Chrome Extension.embedded.html
is for https://www.myetherwallet.com/embedded.html.
-
You can control what shows up on MyEtherWallet.com vs the Chrome Extension by using:
@@if (site === 'cx' ) { ... }
and@@if (site === 'mew' ) { ... }
. Check outsendTransaction.tpl
to see it in action. The former will only compile to the Chrome Extension. The latter only to MyEtherWallet.com. -
embedded.html is for embedding the wallet generation into third-party sites. Read more about it and how to listen for the address generated here.
-
The wallet decrypt directives are at
scripts/directives/walletDecryptDrtv.js
. These show up on a lot of pages. -
The navigation is in
scripts/services/globalServices.js
. Again, we control which navigation items show up in which version of the site in this single file. -
As of September 2016, almost all the copy in the .tpl files are only there as placeholders. It all gets replaced via angular-translate. If you want to change some copy you need to do so in
scripts/translations/en.js
folder. You should also make a note about what you changed and move it to the top of the file so that we can make sure it gets translated if necessary. -
styles
is all the less. It's a couple custom folders and bootstrap. We try to keep the LESS/CSS and small as possible so writing a couple of custom lines of CSS instead of uncommenting an entire bootstrap file is recommended. This, in general, needs to be further cleaned up.
This is a work in progress so please let us know if you get stuck or fail here: MyEtherWallet#226. We will assist you and improve this guide for future people.
-
Download the latest copy of the repo at https://github.com/kvhnuke/etherwallet/releases/latest. You will need to download the "Source Code". The dist and chrome extension packages do not have all the files you need.
-
Extract it and navigate to
json_relay_node
. -
Open you command line and run
npm install
.- This assumes you have nodejs installed in your computer, if not install here: https://nodejs.org/en/download/
-
Once
npm install
is done, openresponse.js
file
-
In
response.js
file you should see two different ip addresses, currently these are set to MyEtherWallet.com servers. You have to change these to point them to your own parity node.-
Response.client.host
is for the ETH mainet andResponse.clientClassic.host
is for the EtherClassic node. -
If you only have one node running feel free to set both to same ip addresses. If you have a local node running then you have to set them to
127.0.0.1
.
-
-
Once you configure
response.js file
, go back to terminal and runnode runLocalServer.js
-
Navigate to http://localhost/api.mew you should end up on a empty/white page. You shouldn't get any 404 or timeout errors.
-
Navigate to
dist/js
and openetherwallet-master.js
-
Set the line 26,
ajaxReq.SERVERURL = “http://localhost/api.mew”
; -
Now navigate back to
dist
folder and openindex.html
. Now you are using your own custom node!
A couple of notes:
- Everything on the entire site is broken down into lines and in this one file. It's kinda crazy. The uppermost items are the highest priority and the further you go down, the less of a priority it is.
- You can add comments anywhere by wrapping it in /* Your Comment Here */. If you want to leave a note for yourself or someone else, do so in this format. That way it doesn't screw up the code or show up somewhere on the site.
- Don't delete any lines. Just leave it in English if you don't know how to translate it.
- Always make sure each line ends with
',
. So the format isNAME: ' your text here ',
You only need to change theyour text here
part - try not to touch anything else.
If you are NOT a developer and have no idea how this works:
Anyone can help out and it looks way more complicated than it is! If you would rather not deal with Github, please just email us a myetherwallet at gmail dot com and I'll email you the file and you can make changes and send it back to us and I'll make sure you don't screw anything up. If you feel like experiencing something new, read on!
- Sign into your Github account or make a new Github account.
- Go to https://github.com/kvhnuke/etherwallet/tree/mercury/app/scripts/translations
- Click on the language file you want to update.
- Look in the upper right. You will see "Raw" "Blame" and so on. Click the pencil icon. This will then tell you, "You’re editing a file in a project you don’t have write access to. We’ve created a fork of this project for you to commit your proposed changes to. Submitting a change to this file will write it to a new branch in your fork, so you can send a pull request." Ignore all this gibberish. Screenshot.
- In your browser, start translating. Translate as little or as much as you want. Screenshot.
- Scroll down to ~line 240 and enter your name/username, donation address, and any comments you would like to leave. Screenshot.
- When you are done, tell us what language you updated. You can also leave any notes about problems you had or things you'd like us to know.
- Click the green "Propose File change" button. Screenshot
- This next page is a review of what you did.
- Click the "Create Pull Request" button.....twice. Screenshot.
- That's it. You successfully made a new pull request! Tell all your friends.
- We will now review it and pull it in and it will be made live on the site. We may also ask you questions if something is confusing for whatever reason.
If you are a developer and familiar with GitHub, Pull Requests, and know how to save a JS file as a .js file rather than a Word Doc:
- Clone the mercury branch.
- Go to
/app/scripts/translations/
. - Open the language you want to translate.
- Translate as much or as little as you wish.
- Add your name/username, donation address, and any notes you would like on ~line 240 of the language.js file.
- Open a PR and leave us a brief description of what you did and any issues you ran into or comments you have.
Read more @ Help us translate MyEtherWallet.com into ALL THE LANGUAGES!
If you can think of any other features or run into bugs, let us know. You can fork, open a PR, open an issue, message kvhnuke on reddit, email tayvano or in any of these ways.
- 08/12/15: Launch Post: Ether Wallet Generator (for now). Never forget where you came from.
- 08/19/15: ETHER WALLET- Ready for the second round?. We the domain name & SSL.
- 08/24/15: Lets purchase Augur rep, the easy way!
- 02/08/16: MyEtherWallet Chrome Extension: The Beta has Arrived
- 03/03/16: We’ve heard you loud and clear so tonight…we've launch offline / advanced transactions for MyEtherWallet.com
- 03/05/16: [Small Announcement] We updated the "Generate Wallet" Page & "Help" Page on MyEtherWallet.com to be more noob-friendly. Hit us with your feedback, please.
- 04/18/16: MyEtherWallet.com v2.0 (aka Mewtwo) has arrived!
- 04/28/16: Embeddable MyEtherWallet: Super Simple Wallet Generation w/ ability to get the address generated
- 04/30/16: How to participate in “The DAO” creation via MyEtherWallet (yes...right NOW!)
- 05/30/16: MyEtherWallet Update: Send DAO Tokens, Vote on Proposals, and the Chrome Extension finally gets updated!!
- 06/07/16: ⚠ BEWARE: MYETHERWALLET >>.INFO<< IS A PHISHING SCAM AND WILL TAKE ALL YOUR FUNDS. myEtherWallet is MyEtherWallet.com
- 07/28/16: MyEtherWallet now Supports Sending Any Ethereum Token (ERC-20) — also learn about our future plans
- 07/28/16: MyEtherWallet, Preventing Replays, and Ethereum Classic (ETC)
- 08/14/16: ⚠ Malicious Phisher is running Google Ads for MyEtherWallet.com ⚠ It does NOT go to MyEtherWallet.com. Always check the URL before accessing or creating a new wallet! Use your bookmarks bar!
- 08/22/16: Help us translate MyEtherWallet.com into ALL THE LANGUAGES!
- 11/21/16: Massive MyEtherWallet.com Update: Better URIs, The Hardfork, and looking back at the Golem Crowdfund.