Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
MetaMask is an extension for accessing Harmony enabled distributed applications, or "dapps", from your browser. The extension injects the Harmony web3 API into every website's javascript context, so that Web3 applications can read from the blockchain.
In this section, we walk through the process of installing MetaMask, configuring it on the Harmony network, and importing an existing account using a previously generated private key.
Continue through this section for more information on installing MetaMask, adding the Harmony network, importing an existing account, and more.
Click here to install the MetaMask extension on your browser. It can be installed on most desktop browsers. Just click on the installation button to begin the process. Once installed, continue to the next section to add the Harmony network to your new wallet.
Remember to save a backup of your private key(s) but never share it with anyone unless that person is to be trusted with full access to your cryptocurrency assets.
Open MetaMask and click the list of networks at the top, then select "Add Network".
You will be prompted for additional information. Use the table below to complete the step. Below you will see multiple options for RPC URL and Chain ID corresponding to mainnet vs testnet, and the various shards within each.
Use the RPC URL and Chain ID of Shard 0 if you want to send/receive transactions from exchanges or do any staking transaction type.
The example below shows the configuration that needs to be done to connect to Harmony Mainnet on Shard 0:
Click the Save button and your configuration should be done!
if you have any issue fetching data like chain-id, try to type the new RPC URL
instead copy pasting it.
In order to create a new account, click on the icon on top as shown by the image below and then on Create Account:
On next window, provide an account name and then click the Create button to complete the step.
Field | Mainnet | Testnet | Devnet |
---|---|---|---|
Network Name
Harmony Mainnet
Harmony Testnet
Harmony Devnet
New RPC URL
https://api.harmony.one
https://s1.api.harmony.one
https://api.s0.b.hmny.io
https://api.s1.b.hmny.io
https://api.s0.ps.hmny.io https://api.s1.ps.hmny.io
Chain ID
(use number only)
Shard 0: 1666600000
Shard 1: 1666600001
Shard 0: 1666700000
Shard 1: 1666700001
Shard 0: 1666900000 Shard 1: 1666900001
Currency symbol (optional)
ONE
ONE
ONE
Block Explorer URL (optional)
You can receive transactions to addresses starting with both one1 and 0x. However, Metamask does not allow you to send transactions to addresses starting with one1. You will need its' equivalent 0x address as the destination address. For that, follow the procedures below.
Search for your one1 address at the top.
At top of the screen, toggle the address format from ONE to ETH.
Copy the 0x address format by clicking on the small icon right to the address
You now have the 0x address which corresponds to your one1 address.
To send a transaction on MetaMask, click on Send button and on next window paste the destination address starting with 0x, fill the amount you want to send, click on Next, and then click on continue.
In order to receive a transaction, simply share the 0x address format with the sender.
For mainnet, go to (Mainnet). For testnet, go to .
This page describes how to add HRC20/HRC721 tokens to MetaMask.
Open MetaMask, select the Harmony network, then click the Assets tab. Near the bottom, click "Import Tokens" and complete the empty fields.
Add the Token Contract Address, Token Symbol, and the Decimals value. Note the Token Symbol and Decimals may auto-populate. These details are usually provided by the token creator.
See "Importing 1BTC Token" as an example.
Complete the step by clicking on "Add Custom Token". Your custom HRC20 Token will show up in MetaMask along with its balance.
Click on the asset you want to send your tokens from on the Asset tab. Click on Send button and on next window copy paste the destination address starting with 0x, fill the amount you want to send, click on Next and then on Confirm.
In order to receive a transaction, just share the 0x address format of your wallet. One Wallet supports sending HRC20/HRC721 transactions to either addresses starting with 0x or one1.
There is a known issue on MetaMask where after the restoration of a wallet, MetaMask shows a different account with missing funds. Please make sure you use the same RPC network details as the one used in the original wallet. For example, if your original wallet was on the Harmony RPC network but your new wallet is on POKT RPC network, you may not see your original account.
Importing an account is done by taking an existing private key and importing it into MetaMask. How you obtain the private key is dependent on the wallet in use.
For the Harmony Chrome extension wallet, click the Menu button at the top right, click Export Private Key, enter your password, and copy the private key displayed.
Click on the icon on top as shown by the image below and then on Import Account:
On next window, select the option to import from a Private Key, paste your key and click on Import to complete the step.
Your account should now be imported.