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.
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.
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.
Field | Mainnet | Testnet | Devnet |
---|---|---|---|
See "" as an example.
Network Name
Harmony Mainnet
Harmony Testnet
Harmony Devnet
New RPC URL
https://api.harmony.one
https://s1.api.harmony.one
https://s2.api.harmony.one https://s3.api.harmony.one
https://api.s0.b.hmny.io
https://api.s1.b.hmny.io
https://api.s2.b.hmny.io
https://api.s3.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 0: 1666900000 Shard 1: 1666900001
Currency symbol (optional)
ONE
ONE
ONE
Block Explorer URL (optional)