Ethereum keys, both public and private, are necessary for you to create an app and authenticate API calls. This article provides instructions on how to use MetaMask to create Ethereum Keys.

Note: Using myetherwallet.com is one of the few ways on how to create Ethereum keys.

Key Generation Using MetaMask and Chrome

Step 1: On your Google Chrome browser, enter https://metamask.io/.

Step 2: Click the Download MetaMask Today button.

Step 3: Click Install MetaMask for Chrome.

Step 4: Once the Google Chrome Extensions page opens, click Add to Chrome.

Step 5: Click Add Extension.

Step 6: Once the download is complete, a MetaMask page will appear. Click Get Started.

Step 7: In the Yes, let’s get set up! section, click Create a Wallet.

Step 8: Read the information in the Help Us Improve MetaMask section, then click I agree.

Step 9: Create your password and then click the I have read and agree to the Terms of Use checkbox. Click Create to create your account.

Step 10: In the Secret Backup Phrase page, follow the Tips on the right side of the page. Click the padlock icon to reveal the secret words.

Step 11: Once the secret phrase has been revealed, click Next.

Step 12: Click the words according to their respective sequence as displayed in the Secret Backup Phrase box. Click Confirm.

Step 13: Once the Congratulations page appears, click All Done.

Your Main Ethereum Network account page should appear.

Retrieving your Public Key using MetaMask

Step 1: Log into your MetaMask account.

Step 2: On your Main Ethereum Network page, click the public key to copy on your clipboard.

The format of your Public Key will be similar to this: 0xC2D7CF95645D33006175B78989035C7c9061d3F9

Note: The Public Key could be in all uppercase or mixed-case, but will always start with 0x.

Retrieving your Private Key using MetaMask

Step 1: Log into your MetaMask account.

Step 2: On your Main Ethereum Network page, click the Details button.

Step 3: Click the Export Private Key button.

Step 4: Enter your MetaMask password and then click Confirm.

Step 5: Copy your Private Key, paste into a text file, and save in a secure location.

The format of your Private Key will be similar to this: 3a1076bf45ab87712ad64ccb3b10217737f7faacbf2872e88fdd9a537d8fe266

Note: The Public Key could be in all uppercase or mixed-case, but does NOT start with 0x.

IMPORTANT: Keep these app private keys secure; leave them out of your source code and never store them in an unsafe place. If they are ever compromised, please immediately replace your app keys using the Developer Console.

Did this answer your question?