The Minima network consists of four distinct layers. Each layer contributes to Minima being a truly decentralized, peer-to-peer network for value and information exchange.
Minima - Layer 1
Minima is a censorship resistant value transfer layer. All transactions are processed by all nodes on the network. It is flood-fill. It uses a P2P system as its backbone for communication between nodes.
The Minima blockchain is where all on-chain transactions are processed. Every node in the network collectively comes to consensus on the state of the blockchain so all transactions are accounted for. Users initiate their transacting relationships on Layer 1, prior to moving off-chain to use Layer 2 for faster and cheaper transactions. As the trust layer of the protocol, Layer 1 is also used for settling any disputes between users on Layer 2.
Maxima is the censorship resistant information transport layer running over the Minima network. Communication is point-to-point so that Messages can be sent, off-chain, to chosen connected peers.
Maxima enables encrypted, peer-to-peer exchange of information between 1st and 2nd degree connections on the Minima network. Maxima can be used to build censorship resistant messaging applications over the Minima network and will be used for sending data required for Layer 2 communication.
Omnia - Layer 2
Minima's Layer 2 - Omnia - is fast, cheap and scalable. It enables instant peer-to-peer payments by creating bi-directional payment channels between participants, using the latest Lightning technology - ELTOO. It is analogous to Bitcoin’s Lightning Network but more advanced.
Minima can also support alternative scaling solutions such as state chains and side chains with the potential for further solutions in the future.
Once users have set up their transacting relationship on Minima, they can perform all transactions off-chain, on Omnia. This is where the bulk of peer-to-peer exchange between users of the network takes place. It is affordable and fast, as each payment is not settled on the blockchain and transactions are only processed by the relevant users rather than the entire network, as occurs on Layer 1.
Based on ELTOO technology, Omnia can do more than simple payments. It can do any smart contract sequence with a given subset of users and subset of coins. Using hash time locked contracts (HTLCs) and payment channels, users can keep a ‘tab’ of their unsettled balances indefinitely, until they wish to settle on Minima (Layer 1).
Omnia unlocks the possibility of essentially unlimited transactions per second (TPS).
MiniDapps are truly decentralised applications built using the functionality enabled by all components of the Minima network:
- Value transfer on Minima
- Information transfer on Maxima
- Unlimited transaction per seconds on Layer 2 solutions