Network

Network Configuration

Network Configuration

Accuracy.Fun is deployed on Somnia Network, a blockchain network optimized for decentralized applications. The platform supports both testnet and mainnet deployments.

Supported Networks

Somnia Testnet

Network Details:

  • Chain ID: 50312
  • Network Name: Somnia Testnet
  • Native Currency: Somnia Testnet Token (STT)
  • Decimals: 18

RPC Endpoint:

https://dream-rpc.somnia.network/

Block Explorer:

  • Name: Somnia Explorer
  • URL: https://shannon-explorer.somnia.network/

Contract Addresses:

ContractAddress
PredictionMarketFactory0x02FC6E56ddc2D7764f6cD6C2070eE22dA131AEFC
PredictionMarket0x08E73f17b481eC5616E4E91D4FB26A5FA1322a93

Somnia Mainnet

Network Details:

  • Chain ID: 5031
  • Network Name: Somnia Mainnet
  • Native Currency: Somnia (SOMI)
  • Decimals: 18

RPC Endpoint:

https://api.infra.mainnet.somnia.network/

Block Explorer:

  • Name: Somnia Explorer
  • URL: https://explorer.somnia.network

Contract Addresses:

ContractAddress
PredictionMarketFactory0x08E73f17b481eC5616E4E91D4FB26A5FA1322a93
PredictionMarket0x08E73f17b481eC5616E4E91D4FB26A5FA1322a93

Adding Somnia Network to Your Wallet

MetaMask Configuration

Testnet:

  • Network Name: Somnia Testnet
  • RPC URL: https://dream-rpc.somnia.network/
  • Chain ID: 50312
  • Currency Symbol: STT
  • Block Explorer: https://shannon-explorer.somnia.network/

Mainnet:

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

WalletConnect Configuration

When connecting via WalletConnect, ensure your wallet supports custom networks. The chain IDs are:

  • Testnet: 50312
  • Mainnet: 5031

Environment Variables

You can configure the RPC URL using environment variables:

NEXT_PUBLIC_SOMNIA_RPC_URL=https://dream-rpc.somnia.network/

If not set, the default RPC URLs will be used as shown above.

Network Selection

Accuracy.Fun automatically detects the network based on:

  1. User's connected wallet network
  2. Environment configuration
  3. Default network settings

Users can switch between testnet and mainnet through their wallet interface.

Contract Verification

All contracts are verified on the Somnia block explorer. You can verify contract addresses and interact with them directly through:

  • Testnet Explorer: https://shannon-explorer.somnia.network/
  • Mainnet Explorer: https://explorer.somnia.network

Network Status

For network status and updates, visit:


Previous
Reward Pool Distribution