lumera-testnet-2) only. Mainnet gains the EVM with its upgrade, so point MetaMask at testnet for now. See the EVM upgrade page for what changes.
Use the EVM endpoint, not the Cosmos endpoints
Only the EVM JSON-RPC row belongs in a MetaMask network configuration. The Cosmos endpoints never answer
eth_chainId, so MetaMask cannot use them.
Network values
Use these values to add Lumera testnet to MetaMask.
The EVM chain ID
76857769 is the same on every Lumera network. JSON-RPC responses return it as hex 0x494c1a9. The mainnet EVM endpoint is https://evm-rpc.lumera.io and starts answering once mainnet completes its EVM upgrade. If you run a node yourself, MetaMask on the same machine can use http://localhost:8545.
Verify an endpoint before adding it.
Add the network manually
1
Open the network selector
Open MetaMask and click the network name in the top left corner.
2
Add a custom network
Choose “Add a custom network”. Older versions call it “Add network manually”.
3
Enter the network values
Fill in the fields from the table above and save the network.
4
Switch to the new network
Select the network in the selector. MetaMask fetches the chain ID from the RPC URL to confirm it.
One account, two addresses
Lumera uses Ethereum style keys (eth_secp256k1, coin type 60). The same account has two representations.
Both point to the same funds and the same state. Apps like the Lumera Portal show both forms after you connect.
MetaMask may label your native balance as ETH on custom networks. The amount is still your LUME balance. The EVM side reports the 18 decimal denom
alume, where 1 ulume equals 10^12 alume, so the values line up exactly.Import a migrated account
Accounts created before a network’s EVM upgrade use coin type 118 and must be migrated on chain before they work in MetaMask. The migration produces a matching0x... and lumera1... pair on a coin type 60 key. See the EVM upgrade page for the migration itself, then import the key.
1
Open the account list
In MetaMask, open the account selector and choose “Add wallet”.
2
Import the key
Choose “Import a wallet” for a 12, 18, or 24 word Secret Recovery Phrase, or “Import an account” for a single private key. Enter the secret for the migrated key.
3
Rename the account
Open the account menu, choose “Rename”, and give the account a clear label so you can find it later.
Troubleshooting
MetaMask cannot fetch the chain ID
Test the RPC URL directly."result":"0x494c1a9". If it returns Method not found, the URL points at CometBFT RPC instead of EVM JSON-RPC. Watch for these common mistakes.
- An LCD URL such as
https://lumera-testnet-api.polkachu.comis Cosmos REST, not EVM JSON-RPC. - A CometBFT URL such as
https://lumera-testnet-rpc.polkachu.comis consensus RPC, not EVM JSON-RPC. http://localhost:8545only works when MetaMask runs on the same machine as the node.
Requests fail in the browser but curl works
The endpoint likely has a DNS, TLS, or CORS problem. MetaMask rejects invalid HTTPS certificates, and browsers enforce CORS preflight checks that curl skips. If you operate the endpoint, check those three layers from a machine outside the server.Running your own public endpoint
Exposing a node’s EVM JSON-RPC over HTTPS needs a reverse proxy with TLS, CORS headers, and rate limiting. That setup is an operator task and lives in the MetaMask configuration guide on GitHub, including nginx examples for hostname based and path based proxies plus WebSocket support.Next steps
Deploy with Remix
Deploy your first Solidity contract with Remix and MetaMask.
Get testnet LUME
Fund your account with testnet tokens for gas.
EVM upgrade and migration
Migrate a legacy account to the EVM key format.