Developer guide
Smart Contracts
Third-party contracts on Somnia: Multicall3, EntryPoint, CreateX, omnichain SOMI and LayerZero. Somnia's own contracts are listed per network.
Somnia's own contracts, and tokens such as WSOMI, USDso and USDC.e, are on one page per network in Contract addresses. This page lists third-party contracts deployed on Somnia.
| Contract | Address |
|---|---|
| MultiCallV3 | 0x5e44F178E8cF9B2F5409B6f18ce936aB817C5a11 |
| EntryPoint v0.7 (Global and Tokyo) | 0x0000000071727De22E5E9d8BAf0edAc6f37da032 |
| CreateX | 0xD13C575ED5378fd18B100Bd87D5765d9A747358B |
MultiCallV3 on the Global L1 is at 0x5e44F178E8cF9B2F5409B6f18ce936aB817C5a11, not the canonical 0xcA11bde05977b3631167028862bE2a173976CA11. Tokyo uses the canonical address.
Global L1, testnet
| Contract | Address |
|---|---|
| MultiCallV3 | 0x841b8199E6d3Db3C6f264f6C2bd8848b3cA64223 |
| CreateX | 0x535822d4b86b2372FBE4fd9d1468318F04A2A640 |
Omnichain SOMI Deployments
| Mainnet | Address | Type |
|---|---|---|
| BNB Chain | 0xa9616e5e23ec1582c2828b025becf3ef610e266f | OFT |
| Base | 0x47636b3188774a3E7273D85A537b9bA4Ee7b2535 | OFT |
| Ethereum | 0x1B0F6590d21dc02B92ad3A7D00F8884dC4f1aed9 | OFT |
| Somnia | 0xC3D4E9Ac47D7f37bB07C2f8355Bb4940DEA3bbC3 | NativeOFTAdapter |
LayerZero Contracts
chainKey:somniastage:mainnetEID:30380
| Contract | Address |
|---|---|
| endpointV2 (main entrypoint) | 0x6F475642a6e85809B1c36Fa62763669b1b48DD5B |
| sendUln302 | 0xC39161c743D0307EB9BCc9FEF03eeb9Dc4802de7 |
| receiveUln302 | 0xe1844c5D63a9543023008D332Bd3d2e6f1FE1043 |
| executor | 0x4208D6E27538189bB48E603D6123A94b8Abe0A0b |
| deadDVN | 0x6788f52439ACA6BFF597d3eeC2DC9a44B8FEE842 |
Oracles
For oracle contracts, see Somnia Price Feeds and Somnia VRF.