Open MetaMask and click the list of networks at the top, then select "Add Network".
Fill the Endpoint Information
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.
Field
Mainnet
Testnet
Devnet
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.