The pieces of the blockchain Lego

An illustration of the blockchain Lego (source: https://blog.coinbase.com/a-simple-guide-to-the-web3-stack-785240e557f0)
  • Protocol Bricks are the foundational pieces for any blockchain application. They implement the protocols that enable cryptocurrencies, the deployment of smart contracts, the interoperability between networks, and improve their scalability. Some examples of protocol bricks are the aforementioned Ethereum and Solana for L1 smart contract deployment; Avalanche, Optimism or Metis as L2 solutions to improve the performance and capabilities of L1 protocols; bridges for the interoperability and seamless asset exchange between networks; or oracles like Chainlink to leverage off-chain information on-chain. Each of these projects are designed to “do one thing right”. They are not interchangeable (i.e. you must either use one or the other), they can be combined to build complex functionalities, and this is the reason why I like to think about them as bricks more than layers of a stack. The same decentralized application can be deployed over Metis’ L2, leveraging a bridge with Binance to interact with assets held in the Binance chain, and use a Chainlink oracle to trigger actions according to off-chain events. You can combine the bricks to build your very own royal palace.
  • Access Tiles represent the interface between end users and decentralized applications. They offer users a gateway to interact with all of these decentralized protocols and systems. Some examples of Access Tiles are browsers and wallets responsible for managing user identities and offering an interface to interact with the low-level infrastructure; aggregators like Zapper that source information from several projects and systems to offer a global view of the ecosystem; or hosting (PaaS/Iaas-like) projects like Infura or Pinata which offer an entrypoint for DApps and developers to the different networks without them having to worry about operating their own nodes and infrastructure. Access Tiles are general tools, they are not specific for a project or an infrastructure, offering a general interface to access any project. They are your door to the blockchain (ok, and Web3) space.
  • Use case Tiles can be seen as the “websites” of the blockchain Lego. They implement specific use cases leveraging protocol, infrastructure, and middleware bricks for their operation (more about the latter in a moment). They can be combined, but they usually offer a very specific use case, so they are consumed by users in isolation. We see here games like Axie Infinity; NFT/Metaverse proposals like Decentraland’s; DeFi financial services like Uniswap; or NFT platforms like OpenSea. All of them are specialized for their niche and solve a really specific user problem. They usually come with their own interface to interact with the service (minimizing the need of access pieces for the interaction).
  • Infrastructure Bricks (a.k.a L0 protocols) are specialized pieces that implement decentralized protocols and systems to complement blockchain applications. These pieces are more aligned with my own vision of what Web3 is deemed to be. Inside this group we find projects like IPFS or Filecoin for decentralized storage; the Graph protocol or IPLD as foundational pieces to source data from the Merkle forest; Swarm or XMTP for decentralized communication; or Celestia as a data availability solution. Infrastructure bricks offer the missing functionality many blockchain projects lack, helping them build consistent solutions (specially for less financial and more cloud-based use cases)
  • Finally, Middleware Bricks are general purpose projects and protocols built to abstract complex functionalities over simple API/interface for others to use in more complex use cases. Some important middleware bricks out there are frameworks like OpenZeppelin, decentralized identity and naming solutions like ENS, Unstoppable Domains, Serto and Veramo (former uPort); or every DeFi project and protocol providing staking, lending, token swapping, etc. The DeFi ecosystem and its projects are a good example of a box of protocol bricks that can be combined to create really complex financial use cases (take flash loans as an example). Unfortunately, this is out of the scope of this article, and if I may, I will leave this discussion for some other time.
Tiles v.s. bricks

Two important Protocol Bricks

Blockchain Bridges

  • Centralized bridges that rely on trusting a small number (federation) of nodes to orchestrate the exchange. Users delegate their trust in a set of centralized players that can interact with the two chain bridges and handle the freezing of the asset in one side and the corresponding minting in the other, as well as the ownership exchange. These implementations are usually fast and convenient, but are more vulnerable to attacks due to the small number of participants involved in the protocol (as reported in recent attacks to centralized bridges).
  • Trustless bridges do not require a centralized infrastructure to operate. They are usually implemented through a decentralized protocol that runs a consensus over a two-phase commit, i.e. it performs the freezing and minting mentioned above in a decentralized manner through a set of smart contracts.

Blockchain Oracles

Wrapping up!

--

--

--

Research at Protocol Labs | Avid reader seeking for constant innovation. [https://twitter.com/adlrocha] [https://adlrocha.substack.com/subscribe]

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Kakushin — The Future of Multi-Billion Dollar global Intellectual Property Market

ADDAO: The First Decentralized Advertising Platform Based on NFT

CardStarter Pool Weight Explanied

Blockchain Explain

Picipo Awarded Grant to Expand Its Unified NFT Management Platform to NEAR

Blockchains and Carbon Footprints

TRON 4.0 Online Conference: Lucia Wong — CEO of WINk: The Ideal Platform for Comprehensive…

How to send KSM to Parallel Heiko App

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alfonso de la Rocha

Alfonso de la Rocha

Research at Protocol Labs | Avid reader seeking for constant innovation. [https://twitter.com/adlrocha] [https://adlrocha.substack.com/subscribe]

More from Medium

Lessons from EX-ETH & What’s Next

More than crypto: 4 Innovative Uses of Blockchain

The Graph — Public Decentralized Infrastructure for the Metaverse

Q9 Markets: Network Effect