How to Add Somnia to MetaMask (Mainnet & Testnet)

How to Add Somnia to MetaMask (Mainnet & Testnet)

Summary: Somnia, an EVM-compatible Layer 1, can be added to MetaMask through ChainList or by entering its Mainnet RPC settings manually (Chain ID 5031).

Designed for large-scale, real-time applications, Somnia supports on-chain gaming, social platforms, and metaverse environments at web2 scale with web3 security.

Can I Add Somnia to MetaMask?

Yes, Somnia is an EVM-compatible Layer 1 blockchain built to power real-time, mass-consumer applications such as games, social platforms, and metaverse experiences. 

You can add it to MetaMask by entering the correct RPC settings, which lets the wallet interact with Somnia just like any other EVM network. Once connected, MetaMask becomes your gateway to the Somnia ecosystem.

How to Connect Somnia to MetaMask

The easiest and most secure way to connect Somnia to MetaMask is through ChainList, a trusted directory of verified EVM networks. Using ChainList ensures the correct RPC details are imported automatically, avoiding mistakes or security risks that can occur with manual setup.

Steps to Add Somnia via ChainList:

  1. Open ChainList: Visit the official ChainList website and connect your MetaMask wallet.
  2. Search for Somnia: Enter “Somnia” in the search bar.
  3. Add to MetaMask: Click Add Network next to Somnia.
  4. Approve Connection: Confirm the request in MetaMask to complete the setup.
Connect Somnia to MetaMask

Somnia Mainnet RPC and Chain ID

If you prefer to set up Somnia in MetaMask manually rather than through ChainList, enter the following verified details:

  • Network Name: Somnia
  • RPC URL: https://api.infra.mainnet.somnia.network/
  • Chain ID: 5031
  • Currency Symbol: SOMI
  • Block Explorer URL: https://explorer.somnia.network

Always cross-check these settings with Somnia’s official resources to ensure accuracy and secure wallet access.

Somnia Mainnet RPC and Chain ID

Somnia Testnet RPC and Chain ID

For developers or users experimenting with Somnia’s pre-mainnet environment, the Testnet can be added to MetaMask with the following settings:

Once connected, you can deploy and test smart contracts, experiment with dApps, and simulate real transaction flows on Somnia before moving to mainnet.

What is Somnia?

Somnia is an EVM-compatible Layer 1 blockchain built for large-scale, real-time applications such as gaming, social networks, and metaverse platforms. It is designed to deliver web2-level performance while preserving web3 security and composability.

The network has demonstrated throughput above one million transactions per second with sub-second finality. This is enabled by compiled EVM bytecode for faster execution, IceDB for predictable state storage, and compression techniques that remove bandwidth constraints.

Somnia’s MultiStream consensus separates transaction processing from finalization. Validators run independent data chains, while a consensus chain aggregates outputs using a modified PBFT model, allowing parallel execution and supporting millions of active users.

What is Somnia?

Final Thoughts

Adding Somnia to MetaMask provides direct access to a high-performance blockchain built for real-time applications.

Using ChainList or manual RPC entry ensures secure configuration, enabling interaction with SOMI tokens, dApps, and test environments.

For both developers and investors, it is a straightforward way to engage with Somnia’s ecosystem while retaining control through MetaMask.

Written by 

Tony Kreng

Lead Editor

Tony Kreng, who holds an MBA in Business & Finance, brings over a decade of experience as a financial analyst. At Datawallet, he serves as the lead content editor and fact-checker, dedicated to maintaining the accuracy and trustworthiness of our insights.