Download the MetaMask wallet, then configure the Hedera network/testnet settings in the MM network settings with one of the three methods below:
Each method offers its own advantages and caters to different user preferences. By the end of this guide, you'll be able to connect your MetaMask wallet to the Hedera network.
This new method allows you to connect to the Hedera network through HashScan:
- Go to https://hashscan.io.
- Click on the Connect Wallet button in the top right corner.
- Select 🦊 MetaMask from the list of wallet options.
- If you haven't added the Hedera network to MetaMask yet, HashScan will prompt you to add it.
- Click Approve to add the Hedera network to MetaMask.
- Once added, you can switch to the Hedera network in MetaMask.
- Open MetaMask and click on the network dropdown at the top.
- Select Add Network and then Add Network Manually.
- Enter the following details:
- Network Name: Hedera Mainnet
- New RPC URL: https://mainnet.hashio.io/api
- Chain ID: 295
- Currency Symbol: HBAR
- Block Explorer URL: https://hashscan.io/mainnet/
- Click Save to add the Hedera Mainnet to MetaMask.
Alternative RPC Endpoints
Choose the appropriate endpoint based on whether you want to connect to Mainnet, Testnet, or Previewnet.
Mainnet
Testnet
Previewnet
{% hint style="info" %} Note: Hashio is currently in beta & for testing purposes only. {% endhint %}
Alternatively, connect MetaMask to Hedera using ChainList:
- Go to https://chainlist.org/?search=hedera.
- Click Connect Wallet.
- Choose your account to connect, click Next, and Connect.
- Select a network (Hedera Mainnet, Testnet, Previewnet, Localnet), click Add to MetaMask, and then click Approve.
Writer: Krystal, Technical Writer | https://hashnode.com/@theekrystallee |
Editor: Brendan, DevRel Engineer | https://blog.bguiz.com/ |