Build / Get Started

Getting Started for Mainnet

Get SOMI Tokens

Developers and Non-Developers can purchase SOMI Tokens for interacting on Mainnet from the list of exchanges below:

Binance Bybit
Gate.io BitMart
Bitget BingX

Bridge to Somnia

To have SOMI directly on the mainnet:
Relay: https://relay.link/bridge/somnia

To bridge stablecoins from other Networks to Somnia:
LayerZero's STARGATE: https://stargate.finance/bridge
Orbiter Finance: https://www.orbiter.finance/trade/Somnia

Welcome to Somnia Mainnet. Below is a checklist for you to confirm the migration from Testnet to Mainnet.

For Non-Developers

  • Ensure that you have added the Somnia Mainnet Network to your Wallet. You can use ChainList.
  • Get/bridge SOMI from a list of Exchanges/Bridges.

For Developers

Conduct the same checks as non-developers, and in addition, the following.

  • Add Somnia to the list of Networks in your configuration files for your Smart Contracts
  • Using Hardhat:
module.exports = {
  // ...
  networks: {
    somnia: {
      url: "https://api.infra.mainnet.somnia.network",
      accounts: ["0xPRIVATE_KEY"], // put dev menomonic or PK here,
    },
   },
  // ...
};
  • Using Forge Deployment:
forge create --rpc-url https://api.infra.mainnet.somnia.network --private-key PRIVATE_KEY src/Example.sol:Example
  • See the Page for the list of infrastructure and Dev Tooling available to you on Somnia.

Copied from docs.somnia.network (somnia-main-docs) by scripts/import-gitbook.mts, until it finds a home in a product's docs.Edit this page