{"id":"somnia-network","title":"Somnia Network","content":"**Somnia Network** is a [Layer 1](https://iq.wiki/wiki/layer-1), EVM-compatible [blockchain](https://iq.wiki/wiki/blockchain) designed to provide high-performance and low-cost infrastructure for mass-consumer and real-time [decentralized applications](https://iq.wiki/wiki/decentralized-application) (dApps). The network aims to support a \"fully onchain world\" where complex applications such as [metaverses](https://iq.wiki/wiki/metaverse), on-chain games, and social media platforms can operate with all their data and logic stored on the blockchain. [\\[1\\]](#cite-id-2uFbIA6o2g1b1i1B) [\\[2\\]](#cite-id-HPdZxaUbJ18ob8vW)​\n\n## Overview\n\nSomnia Network was developed to address the scalability and cost limitations of existing blockchains, which often hinder the creation of large-scale consumer applications. \n\nThe project's primary goal is to provide the foundational infrastructure for applications that require real-time interaction and a high volume of transactions, such as those catering to millions of users simultaneously. The core technology is engineered to enable sub-cent transaction fees and a high throughput capacity, making it viable for applications that have traditionally relied on off-chain components. [\\[1\\]](#cite-id-2uFbIA6o2g1b1i1B) [\\[2\\]](#cite-id-HPdZxaUbJ18ob8vW)​\n\nThe project is developed by Improbable, a company specializing in virtual world technology, and is also supported by MSquared. The Somnia mainnet is live, and the ecosystem provides resources for developers to build and deploy smart contracts. The network's design focuses on enabling new types of dApps, particularly those that can react instantly to on-chain events, a concept the project refers to as a \"Reactive Blockchain.\" [\\[2\\]](#cite-id-HPdZxaUbJ18ob8vW)​\n\n## Technology\n\nSomnia's architecture is built to support high-demand applications by combining a custom database, a unique consensus approach, and specialized developer tools. The entire stack is designed to maintain EVM compatibility, allowing developers from the [Ethereum](https://iq.wiki/wiki/ethereum) ecosystem to migrate and build on Somnia with familiar tools and languages. [\\[1\\]](#cite-id-2uFbIA6o2g1b1i1B) [\\[2\\]](#cite-id-HPdZxaUbJ18ob8vW)​\n\n### Architecture and Core Components\n\nThe foundation of Somnia Network is a Layer 1 blockchain that is compatible with the [Ethereum](https://iq.wiki/wiki/ethereum) Virtual Machine (EVM). However, it enhances standard EVM execution by compiling EVM bytecode to improve processing speed. This approach aims to provide superior performance while retaining the benefits of the established [Ethereum](https://iq.wiki/wiki/ethereum) developer ecosystem. [\\[1\\]](#cite-id-2uFbIA6o2g1b1i1B)​\n\nA key component of the network's technology stack is a custom, high-performance database named \"IceDB.\" This proprietary database is cited as a significant factor in the network's ability to offer low transaction fees and more stable, predictable gas pricing. \n\nBy optimizing data storage and retrieval, IceDB helps the network handle large volumes of on-chain data efficiently. The network also utilizes a \"multi-stream consensus\" mechanism, although specific technical details of its implementation are not extensively documented in the provided materials. [\\[1\\]](#cite-id-2uFbIA6o2g1b1i1B)​\n\n### Reactive Blockchain Model\n\nA distinguishing feature of Somnia is its \"Reactive Blockchain\" design. This model enables applications to react in real-time to on-chain data changes and events. This is facilitated through a set of specialized developer primitives that are integrated into the network's core framework. \n\nThis reactive capability is intended to support a new class of dApps that require immediate responses to user actions or external data triggers, moving beyond the traditionally passive nature of many [blockchain](https://iq.wiki/wiki/blockchain) applications. [\\[1\\]](#cite-id-2uFbIA6o2g1b1i1B)​\n\n### Developer Primitives\n\nTo enable the construction of reactive applications, Somnia introduces novel extensions and tools for developers.\n\n#### Somnia Data Streams\n\nSomnia Data Streams are a core developer primitive designed specifically for building real-time on-chain applications. This feature allows for the continuous flow and processing of data within the blockchain environment, which is essential for use cases like live-updating games or real-time social feeds. \n\nA mini-hackathon was held to encourage developers to experiment with and build using this feature. [\\[1\\]](#cite-id-2uFbIA6o2g1b1i1B)​\n\n#### Reactive Primitives\n\nComplementing the data streams, Somnia offers \"Reactive Primitives\" as extensions to the Solidity programming language. These primitives allow developers to natively implement reactive logic within their [smart contracts,](https://iq.wiki/wiki/smart-contract) simplifying the process of creating applications that can automatically respond to on-chain events without complex external infrastructure. [\\[1\\]](#cite-id-2uFbIA6o2g1b1i1B)​\n\n## Performance and Scalability\n\nSomnia Network makes significant claims regarding its performance, positioning itself as a platform capable of handling mass-market consumer traffic. These metrics are central to its value proposition for powering on-chain metaverses and games. [\\[2\\]](#cite-id-HPdZxaUbJ18ob8vW)​\n\n* Transaction Throughput: The network claims a capacity of processing over 1 million transactions per second (TPS). This high throughput is designed to support a large number of concurrent users and interactions. [\\[1\\]](#cite-id-2uFbIA6o2g1b1i1B) [\\[2\\]](#cite-id-HPdZxaUbJ18ob8vW)\n* Transaction Finality: Transactions on the Somnia Network are reported to achieve sub-second finality, ensuring that user actions are confirmed almost instantly. [\\[2\\]](#cite-id-HPdZxaUbJ18ob8vW)\n* Transaction Cost: The architecture, particularly the use of IceDB, is designed to enable sub-cent transaction fees, making microtransactions feasible for gaming and social applications. [\\[1\\]](#cite-id-2uFbIA6o2g1b1i1B)\n\n## Ecosystem and Use Cases\n\nSomnia is designed to support a new generation of dApps where all logic and data can reside entirely on-chain. This approach aims to enhance transparency, user ownership, and composability. [\\[1\\]](#cite-id-2uFbIA6o2g1b1i1B)​\n\n### Targeted Applications\n\n* SocialFi: The network provides an infrastructure for building fully on-chain social networks. This allows for greater user data sovereignty and transparent, community-governed algorithmic feeds.\n* On-chain Gaming: Somnia aims to host games where all game state and logic are managed on the blockchain. This enables true ownership of in-game assets and allows for greater interoperability and composability between different games and experiences.\n* Metaverses: The platform is built to support fully on-chain metaverses with extensive user-generated content (UGC) and self-contained digital economies, capable of handling the high transaction load of a persistent virtual world.\n\nThese use cases are supported by the network's high-performance infrastructure. [\\[1\\]](#cite-id-2uFbIA6o2g1b1i1B)​\n\n### Reactive dApps\n\nThe reactive capabilities of the Somnia Network are intended to enable specific types of applications that are difficult to implement on other blockchains.\n\n* Real-time Prediction Markets: Markets that can update odds and settle outcomes instantly based on verifiable on-chain events or data feeds.\n* Real-time Consumer Targeting: Systems that can deliver targeted content or offers to users based on their immediate on-chain actions and interactions.\n\n### Integrations\n\nTo expand its ecosystem, Somnia has established integrations with other projects. An integration with Gearbox Protocol was established to bring composable leverage capabilities to applications building on the Somnia Network, enhancing the potential for [decentralized finance](https://iq.wiki/wiki/defi) (DeFi) functionalities within its ecosystem. [\\[1\\]](#cite-id-2uFbIA6o2g1b1i1B)​\n\n## Developer Ecosystem\n\nSomnia Network has launched several initiatives and provides resources to attract and support developers. The project fosters a community of builders through events, grants, and accessible testnet tools. [\\[1\\]](#cite-id-2uFbIA6o2g1b1i1B) [\\[2\\]](#cite-id-HPdZxaUbJ18ob8vW)​\n\n### Initiatives and Community\n\n* Dreamathon: An initiative designed to encourage and support the development of new projects on the Somnia Network.\n* Somnia DevCircle: A dedicated community for builders and developers. A launch event for the DevCircle was held in Lagos, Nigeria.\n* Grants Program: A program that offers funding and support to developers and teams building applications within the Somnia ecosystem.\n* Community Platforms: The project engages its community through various platforms and programs, including Quest, Yapstorm, and a Liquidity Points system.\n\nThese programs are part of the network's strategy to grow its base of developers and applications. [\\[1\\]](#cite-id-2uFbIA6o2g1b1i1B)​\n\n![](https://ipfs.everipedia.org/ipfs/QmSQTyo2sdc3v4Hmfs2Sqk6dPETCUgCvuxqhnZuhnoSoXW)","summary":"Somnia Network is a high-performance, EVM-compatible L1 blockchain by Improbable. It's built for mass-consumer dApps like games and metaverses, claiming over 1M TPS and sub-second finality. Its tech enables fully on-chain, real-time applications.","images":[{"id":"QmfKjWnww1rvbQpMMJW6coM6PMKkFR83Y89UWKnjBbEgBk","type":"image/jpeg, image/png"}],"categories":[{"id":"cryptocurrencies","title":"cryptocurrencies"}],"tags":[{"id":"Blockchains"},{"id":"Protocols"}],"media":[{"id":"QmZBfd9fwcs7xsUKtXHLjbt5Svsvr3YGvq7W97w3yXpGmw","type":"GALLERY","source":"IPFS_IMG"},{"id":"QmNhKe5GXcXAvD3oUT2gjV4p51DazJ3dHbwWrm6AyWVATU","type":"GALLERY","source":"IPFS_IMG"},{"id":"QmSQTyo2sdc3v4Hmfs2Sqk6dPETCUgCvuxqhnZuhnoSoXW","type":"GALLERY","source":"IPFS_IMG"}],"metadata":[{"id":"references","value":"[\n {\n \"id\": \"2uFbIA6o2g1b1i1B\",\n \"url\": \"https://somnia.network/\",\n \"description\": \"Somnia Network official website\",\n \"timestamp\": 1775147005327\n },\n {\n \"id\": \"HPdZxaUbJ18ob8vW\",\n \"url\": \"https://docs.somnia.network/\",\n \"description\": \"Somnia Network official documentation\",\n \"timestamp\": 1775147005327\n }\n]"},{"id":"email_url","value":"mailto:[email protected]"},{"id":"website","value":"https://somnia.network/"},{"id":"twitter_profile","value":"https://x.com/Somnia_Network"},{"id":"discord_profile","value":"https://discord.gg/somnia"},{"id":"commit-message","value":"\"Added Somnia Network wiki page\""}],"events":[{"date":"2024-02-02","title":"Somnia Network Founded","type":"CREATED","description":"Somnia Network was founded and officially launched.","link":null,"multiDateStart":null,"multiDateEnd":null,"continent":null,"country":null,"id":"34d3ad87-bb68-4a7d-81a6-e9c8204e2a2d"}],"user":{"id":"0x8af7a19a26d8fbc48defb35aefb15ec8c407f889"},"author":{"id":"0x8af7a19a26d8fbc48defb35aefb15ec8c407f889"},"operator":{"id":"0x212Cb3F4aE6611054637f9f78F18fB628AD258bb"},"language":"en","version":1,"linkedWikis":{"blockchains":[],"founders":[],"speakers":[]}}