Add Hedera Localnet to Your Wallet — MetaMask, OKX, Rabby, Trust Wallet
Hedera Localnet is an EVM-compatible blockchain with Chain ID 298 and native token HBAR. This page lets you add Hedera Localnet to MetaMask, Rabby Wallet, OKX Wallet or Trust Wallet in one click — no manual Chain ID or RPC entry required.
What is Hedera Localnet?
Hedera Localnet is an EVM (Ethereum Virtual Machine) compatible blockchain network. Any EVM wallet — MetaMask, Rabby, OKX Wallet, Trust Wallet, Coinbase Wallet — can connect and transact on Hedera Localnet once you add the network configuration.
Why do you need to add Hedera Localnet to your wallet?
MetaMask and most wallets only come pre-configured with Ethereum Mainnet. To transact, swap tokens, or use dApps on Hedera Localnet, you need to add the network first. Entering an incorrect Chain ID or RPC can put your assets at risk. Use the "Add to wallet" button above — data sourced directly from chainid.network, the canonical Ethereum chain registry.
How to add Hedera Localnet to your wallet
- 1
Click Add to wallet
Press the "Add to wallet" button above. MetaMask, OKX Wallet, Rabby Wallet or Trust Wallet will show a popup asking you to confirm adding the Hedera Localnet network.
- 2
Confirm in your wallet
Your wallet shows the Hedera Localnet network details: Chain ID 298, native token HBAR. Verify the Chain ID is correct, then click "Approve" or "Add Network".
- 3
Switch to the new network
After confirming, your wallet automatically switches to Hedera Localnet. You can start transacting right away — you will need HBAR to pay gas fees.
Hedera Localnet network technical details
To add manually, go to Settings → Networks → Add Network in MetaMask (or your wallet's equivalent) and enter the details below:
Important notice
- •Always verify Chain ID 298 before confirming — attackers sometimes create fake networks with similar names but different Chain IDs
- •You need HBAR tokens in your wallet to pay gas fees for transactions on Hedera Localnet
- •Data on this page is sourced from chainid.network — the community-verified Ethereum chain registry
- •If the "Add to wallet" button doesn't work, your wallet may not support wallet_addEthereumChain — add the network manually using the details below