Skip to main content

Network Patterns

Since the adveniment of Bitcoin in 2008, web3 infrastructure has been a hotspot for venture capital to invest. As a consequencem blockchain networks have evolved in almost any direction and with different protocols and patterns. Over the time, some protocols have consolidates making up ecosystems around the an initial based blockchain.

Network Ecosystems

CurrencyLayerFromLangLedgerConsensusExecution Environment
VMSmart Contracts
BitcoinL12008C++UTXOPoWScriptBitcoinScript
RippleL12012C++accountXRP LedgerYes
EthereumL12013GoaccountPoSEVMSolidity
RadixL12013CerberusScrypto
MoneroL12014C++UTXOPoW--
TezosL12014accountPoSTezosVMMichelson
CosmosL02014GoaccountBFT PoSCosmWasmRust
CardanoL12015HaskellUTXOPoSOuroborosPlutus, Marlowe, Glow
IOTA (DAG)L12015Rust, TinyGo, Solidity
WAVESL12016ScalaLPoSRide
Substrate, PolkadotL02016RustaccountNPoSPEERust
NEARL12017RustaccountPoSRust, Javascript
AlgorandL12017PythonaccountPoSAlgorandVMTEAL
Chia NetworkL12017PythonUTXOPoSTCLVMChialisp
Fantom (DAG)L12018GoaccountLachesisFVMSolidity
TONL12018C++accountPoSTVMFunC
Avalanche (DAG)L02018GoUTXOAVMSolidity
Aptos (Diem, Libra)L12019RustaccountAptosBFTMoveVMMove

DLT Trilemma


The Layered Stack Ecosystem

An ecosystem is started by a base blockchan that provides some new ideas to the market. These ideas come in some of the 4 main moddules that compose a blockchain: execution, settlement, consensus and data availability.


Scaled Infrastructure Patterns

Most of existing blockchains have evolved as part of already existing ecosystem, and only a few base chains can define its own infrastructure ecosystem.

A Fork happens whenever a community makes a change to the blockchain’s protocol, or basic set of rules. When this happens, the chain splits — producing a second blockchain that shares all of its history with the original, but is headed off in a new direction.

A Sidechain is a separate, independent blockchain linked to the main blockchain (mainchain) using a two-way bridge. It enables tokens or other digital assets to be transferred between the mainchain and the sidechain.


The Layer 2 provides scalabilty to Layer 1. Layer 2 typically processes operations out of Layer 1 to improve throughput and reduce fees.

Channels are peer-to-peer protocols that allow two parties to make an unlimited number of transactions amongst themselves and then only post the final results to the blockchain. Afterward, cryptography is used to demonstrate how the summarized data results from the earlier set of transactions. A multisig smart contract ensures the correct parties sign the transactions.

A Plasma blockchain is a network of independent child chains. These child chains function as distinct blockchains, each with its own block validation mechanisms. Yet, each of the child chains remains anchored to the underlying blockchain. A Plasma chain executes transactions off-chain with its own mechanism for block validation.

A Rollup is a layer two (L2) blockchain that processes transactions away from the main blockchain to reduce transaction costs and increase throughput on the main chain. Batches of transactions are verified and settled back to the main chain.

The Layer 3 sits on top of Layer 2 and is mainly dedicated to hosts dApps for real-world applications and executes specific functions.

The table below compares the different scalibility patterns, showing their features and where State and TX are persisted for each case. All patterns integrate an execution environment to alleviate the burden of transaction execution from their parent chain by performing their own computation. Plasma is the only one with not ability to run smart contracts. All L1 provide their own consensus layer but L2 rely on mainchain consensus. They can commit the data to the maintchain or to an external DA layer.

YearConsensusExecutionSettlementDA / Merkel Commits
LocLocSCProofsToTXState
L0
Interop--------
L1
Mainchain2009mainchainownN/Y-mainchaintreetree
Fork2011ownownY-owntreetree
Sidechain2011ownownY-owntreetree
Commitchain2017ownownYfraudmainchain-tree
L2
Channel2016mainchainownYfraudmainchaintreetree
Plasma2017mainchainownNfraudmainchainroot-
Op Rollup2014mainchainownYfraudmainchaintreeroot
Optimium2020mainchainownYfraudcustomtreeroot
zk Rollup2018mainchainownYvaliditymainchaintreeroot
Validium2020mainchainownYvaliditycustomtreeroot
Volition2023mainchainownYvaliditybothtreeroot
L3
Rollup2024L2ownYanyL2treeroot