This guide explains how end users, validators, and infrastructure operators can connect MetaMask to Lumera EVM networks.
<aside> ⚠️
The MetaMask RPC URL is NOT the same as the Keplr RPC URL. Keplr is a Cosmos wallet and talks to the Cosmos endpoints (LCD/REST + CometBFT RPC). MetaMask is an EVM wallet and talks only to the Ethereum JSON-RPC endpoint, which is a separate service on a different port and a different URL. Pasting a Keplr/Cosmos URL into MetaMask is the most common reason a connection fails ("could not fetch chain ID").
</aside>
MetaMask connects to EVM networks through Ethereum JSON-RPC. Do not use Cosmos LCD/REST endpoints or CometBFT RPC endpoints as MetaMask RPC URLs. The two wallets use entirely different endpoints:
| Wallet | Protocol | Public devnet URL | Local validator-1 port |
|---|---|---|---|
| Keplr | Cosmos LCD/REST | https://lcd.pastel.network |
1327 |
| Keplr | CometBFT RPC | https://rpc.pastel.network |
26667 |
| MetaMask | EVM JSON-RPC (HTTP) | https://evm-rpc.pastel.network |
8645 |
| MetaMask | EVM JSON-RPC (WebSocket) | wss://evm-rpc.pastel.network/ws |
8646 |
Only the EVM JSON-RPC row belongs in a MetaMask network configuration. The Cosmos LCD/REST and CometBFT RPC URLs will never answer eth_chainId, so MetaMask cannot use them.
Official references:
The RPC URL you give MetaMask is always the EVM JSON-RPC endpoint (evm-rpc.*) for the target network. The chain ID (76857769) and currency symbol (LUME) are identical on every Lumera network.
| Network | RPC URL (EVM JSON-RPC) | Chain ID |
|---|---|---|
| Lumera Mainnet | https://evm-rpc.lumera.io |
76857769 |
| Lumera Testnet | https://evm-rpc.testnet.lumera.io |
76857769 |
| Lumera Devnet (public) | https://evm-rpc.pastel.network |
76857769 |
| Local devnet node | http://localhost:8645 (validator 1 — see Validator Local Ports) |
76857769 |
The rest of this guide uses the public devnet values as the worked example.
Use these values for the public Lumera devnet endpoint operated for the Portal.
| Field | Value |
|---|---|
| Network name | Lumera-Devnet-Evm (the EVM network name; distinct from the Cosmos lumera-devnet profile used by Keplr) |
| RPC URL (EVM JSON-RPC — not the Keplr/Cosmos URL) | https://evm-rpc.pastel.network |
| Chain ID | 76857769 |
| MetaMask/JSON-RPC chain ID | 0x494c1a9 |
| Currency symbol | LUME |
| Block explorer URL | Leave blank unless an EVM explorer is deployed |
The current public RPC can be checked with:
curl -H 'content-type: application/json' \
--data '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}' \
<https://evm-rpc.pastel.network>
Expected result:
{"jsonrpc":"2.0","id":1,"result":"0x494c1a9"}