The concept of modular blockchain originates from two white papers. In 2018, Mustafa Albasan and Vitalik Buterin co-authored the paper “Data Availability Sampling and Fraud Proofs,” which proposed a system allowing light clients to receive and verify fraud proofs from full nodes. It designed a data availability sampling protocol to reduce the trade-off between on-chain capacity and security, addressing blockchain scalability issues without compromising security and decentralization.
Subsequently, in 2019, Mustafa Albasan detailed a new architecture in the “Lazy Ledger” white paper. This architecture uses the blockchain for ordering and ensuring transaction data availability without handling transaction execution and validation. This new architecture aimed to solve scalability issues in existing blockchain systems and was initially called a “smart contract client.” The execution of smart contracts was performed by another execution layer on this client, forming the prototype of Celestia, the first modular data availability layer project.
With the advent of Rollup technology, this concept became more concrete, following the logic of executing smart contracts off-chain and uploading the results as proofs to the “client’s” execution layer. Reflecting on blockchain architecture and new scaling technologies, Celestia emerged, defining a new paradigm of “modular blockchain.”
Modular blockchains aim to solve the “impossible triangle” dilemma in the blockchain field through decoupling and restructuring. Simply put, it breaks down the main functions of a single chain into multiple layers, each focused on specific functions, thus achieving scalability. Generally, the basic functions of a monolithic chain can be divided into the following four layers:
In early history, solutions around Bitcoin like the Lightning Network and sidechains can be considered “modular pioneers.” However, due to Bitcoin’s non-Turing completeness, these scaling solutions progressed slowly with various flaws and were not widely adopted. Traditional blockchains tried to solve the trilemma by reconstructing the underlying framework, but with limited success. To address this issue, Vitalik Buterin proposed improvements around Rollups. With the maturity of fraud proofs and zero-knowledge proofs, building execution layers on Ethereum through a Lego-like method became realistic. Ethereum has set its endgame as a layered scaling path centered around Rollups. This upgrade method, centered on Rollups, is expected to surpass previous scaling solutions and become the ultimate solution for blockchain expansion.
Image Source: Legendary Quant
Modular DeFi lending leverages the security, consensus, and data availability provided by the foundational layer, focusing on functional modularization at the execution and application layers and running these modules on the blockchain. Key modular parts include:
A modular lending system needs to obtain all necessary transaction and contract data from the data availability layer to enable interaction and verification between modules. The results of each module’s operations need to be confirmed and recorded by the consensus layer, ensuring the security and consistency of all module state changes. Most of the logic of modular lending runs on the execution layer, implementing the functionalities of each module through smart contracts. The final settlement and liquidation of lending transactions rely on the settlement layer, ensuring the finality of lending and liquidation transactions.
Image Source: Cross-Chain Bridges Explained
The essence of modular lending is not just about cross-chain and aggregation, although both play significant roles. The core idea of modular lending is to enhance system flexibility, scalability, security, and innovation by modularizing various functions of the lending process. Cross-chain and aggregation are parts of realizing this core idea but are not its entirety.
Cross-Chain (Interoperability):
Aggregation:
Modular Design:
Security and Risk Management:
Flexibility and Scalability:
Some established DeFi platforms, such as Aave, Compound, and MakerDAO, are also adopting modular design concepts. For instance, MakerDAO is moving towards a more decentralized SubDAO model, and Aave’s protocol consists of multiple smart contracts handling borrowing, collateral management, liquidation, etc. Developers and users can combine these contracts as needed and even develop new contracts to extend the platform’s functionality.
Morpho Labs aims to enhance the efficiency and user experience of decentralized lending markets through technological innovation and optimization, promoting the growth of the DeFi ecosystem. With its modular design and frictionless trading mechanism, Morpho Labs seeks to attract more users and funds to the decentralized finance field. Key innovations include Morpho Blue and Meta Morpho, which enhance DeFi lending efficiency and interoperability.
Image Source: Morpho Labs Official
Morpho Blue
Morpho Blue is an advanced version of the lending protocol provided by Morpho Labs. It aims to minimize the deployment of encrypted assets (ERC20 and ERC4626 tokens) on the Ethereum Virtual Machine and create independent lending markets. Morpho Blue offers a trustless foundation layer for lenders, borrowers, and applications, operating under dual licenses (BUSL-1.1 and GPLv2). Once deployed, it will run permanently on the Ethereum blockchain.(1) Key features and components include:
A notable feature of Morpho Blue is the ability to create permissionless trading markets, allowing users to establish independent markets composed of loan assets, collateral assets, LLTV, oracles, and interest rate models (IRM). Each parameter is selected during market creation and is immutable, with LLTV and interest rate models chosen from a set of options approved by Morpho governance.
Meta Morpho
Meta Morpho is an independent meta-protocol designed to create MetaMorpho Vaults based on Morpho Blue, enabling seamless integration and interoperability across different DeFi platforms and protocols. Key features include:
Image Source: Euler Finance Official
On February 22, 2024, the lending protocol Euler Finance announced its imminent relaunch and the release of its v2 version. This modular lending platform primarily includes two major components: Euler Vault Kit (EVK) and Ethereum Vault Connector (EVC), designed to enhance the protocol’s flexibility and functionality.(2)
Euler Vault Kit (EVK)
EVK is a toolkit that allows users to create and manage custom “vault” systems. EVK enables users to deposit their assets into vaults and set different strategies and rules as needed. It integrates with EVC, allowing developers to freely construct ERC-4626 vaults. Key features of EVK include:
Ethereum Vault Connector (EVC)
EVC is a tool designed to connect EVKs on Ethereum. It allows users to seamlessly transfer assets and strategies between different DeFi protocols, granting vaults superpowers to act as collateral for other vaults, facilitating seamless communication between ERC-4626 vaults and other smart contracts. Key features of EVC include:
Euler Vault Kit (EVK) and Ethereum Vault Connector (EVC) are important features introduced by Euler Finance to provide greater flexibility and management efficiency. Through EVK, users can create and manage custom vaults, and through EVC, they can seamlessly transfer assets and strategies between different vaults. These tools enhance users’ control and management capabilities over their assets, contributing to improved liquidity and efficiency in the DeFi ecosystem.
DeFi protocols refer to a series of decentralized applications (dApps) built on blockchain networks that offer traditional financial services like lending, trading, and insurance without relying on traditional financial institutions. Modular DeFi protocols improve flexibility and innovation by breaking these services into independent modules, allowing users and developers to mix and match different functionalities.
Currently, DeFi primarily consists of yield aggregators, lending protocols, derivatives and options, and insurance protocols. These modules can be freely combined to create new financial products and services. However, their nature is similar to the OP Stack’s “one-click chain deployment” logic; modular DeFi protocols need to establish module combinations within their own framework to create new financial products and services.
While modular DeFi brings flexibility, it also comes with potential risks. UniSwap ignited the DeFi boom, becoming the “blueprint” for various DeFi protocols today. Since its inception, UniSwap has never been hacked, primarily due to its reliance on a simple core invariant (tokenBalanceX * tokenBalanceY = k) and its integration with immutable smart contracts.
However, the flexibility of modularity also introduces relative complexity. The high interconnectivity between different DeFi protocols means that if an upgradeable contract in one protocol fails, it could trigger a chain reaction affecting other protocols, potentially leading to systemic risk in the entire ecosystem. This is an important aspect that needs consideration.
The concept of modular blockchain originates from two white papers. In 2018, Mustafa Albasan and Vitalik Buterin co-authored the paper “Data Availability Sampling and Fraud Proofs,” which proposed a system allowing light clients to receive and verify fraud proofs from full nodes. It designed a data availability sampling protocol to reduce the trade-off between on-chain capacity and security, addressing blockchain scalability issues without compromising security and decentralization.
Subsequently, in 2019, Mustafa Albasan detailed a new architecture in the “Lazy Ledger” white paper. This architecture uses the blockchain for ordering and ensuring transaction data availability without handling transaction execution and validation. This new architecture aimed to solve scalability issues in existing blockchain systems and was initially called a “smart contract client.” The execution of smart contracts was performed by another execution layer on this client, forming the prototype of Celestia, the first modular data availability layer project.
With the advent of Rollup technology, this concept became more concrete, following the logic of executing smart contracts off-chain and uploading the results as proofs to the “client’s” execution layer. Reflecting on blockchain architecture and new scaling technologies, Celestia emerged, defining a new paradigm of “modular blockchain.”
Modular blockchains aim to solve the “impossible triangle” dilemma in the blockchain field through decoupling and restructuring. Simply put, it breaks down the main functions of a single chain into multiple layers, each focused on specific functions, thus achieving scalability. Generally, the basic functions of a monolithic chain can be divided into the following four layers:
In early history, solutions around Bitcoin like the Lightning Network and sidechains can be considered “modular pioneers.” However, due to Bitcoin’s non-Turing completeness, these scaling solutions progressed slowly with various flaws and were not widely adopted. Traditional blockchains tried to solve the trilemma by reconstructing the underlying framework, but with limited success. To address this issue, Vitalik Buterin proposed improvements around Rollups. With the maturity of fraud proofs and zero-knowledge proofs, building execution layers on Ethereum through a Lego-like method became realistic. Ethereum has set its endgame as a layered scaling path centered around Rollups. This upgrade method, centered on Rollups, is expected to surpass previous scaling solutions and become the ultimate solution for blockchain expansion.
Image Source: Legendary Quant
Modular DeFi lending leverages the security, consensus, and data availability provided by the foundational layer, focusing on functional modularization at the execution and application layers and running these modules on the blockchain. Key modular parts include:
A modular lending system needs to obtain all necessary transaction and contract data from the data availability layer to enable interaction and verification between modules. The results of each module’s operations need to be confirmed and recorded by the consensus layer, ensuring the security and consistency of all module state changes. Most of the logic of modular lending runs on the execution layer, implementing the functionalities of each module through smart contracts. The final settlement and liquidation of lending transactions rely on the settlement layer, ensuring the finality of lending and liquidation transactions.
Image Source: Cross-Chain Bridges Explained
The essence of modular lending is not just about cross-chain and aggregation, although both play significant roles. The core idea of modular lending is to enhance system flexibility, scalability, security, and innovation by modularizing various functions of the lending process. Cross-chain and aggregation are parts of realizing this core idea but are not its entirety.
Cross-Chain (Interoperability):
Aggregation:
Modular Design:
Security and Risk Management:
Flexibility and Scalability:
Some established DeFi platforms, such as Aave, Compound, and MakerDAO, are also adopting modular design concepts. For instance, MakerDAO is moving towards a more decentralized SubDAO model, and Aave’s protocol consists of multiple smart contracts handling borrowing, collateral management, liquidation, etc. Developers and users can combine these contracts as needed and even develop new contracts to extend the platform’s functionality.
Morpho Labs aims to enhance the efficiency and user experience of decentralized lending markets through technological innovation and optimization, promoting the growth of the DeFi ecosystem. With its modular design and frictionless trading mechanism, Morpho Labs seeks to attract more users and funds to the decentralized finance field. Key innovations include Morpho Blue and Meta Morpho, which enhance DeFi lending efficiency and interoperability.
Image Source: Morpho Labs Official
Morpho Blue
Morpho Blue is an advanced version of the lending protocol provided by Morpho Labs. It aims to minimize the deployment of encrypted assets (ERC20 and ERC4626 tokens) on the Ethereum Virtual Machine and create independent lending markets. Morpho Blue offers a trustless foundation layer for lenders, borrowers, and applications, operating under dual licenses (BUSL-1.1 and GPLv2). Once deployed, it will run permanently on the Ethereum blockchain.(1) Key features and components include:
A notable feature of Morpho Blue is the ability to create permissionless trading markets, allowing users to establish independent markets composed of loan assets, collateral assets, LLTV, oracles, and interest rate models (IRM). Each parameter is selected during market creation and is immutable, with LLTV and interest rate models chosen from a set of options approved by Morpho governance.
Meta Morpho
Meta Morpho is an independent meta-protocol designed to create MetaMorpho Vaults based on Morpho Blue, enabling seamless integration and interoperability across different DeFi platforms and protocols. Key features include:
Image Source: Euler Finance Official
On February 22, 2024, the lending protocol Euler Finance announced its imminent relaunch and the release of its v2 version. This modular lending platform primarily includes two major components: Euler Vault Kit (EVK) and Ethereum Vault Connector (EVC), designed to enhance the protocol’s flexibility and functionality.(2)
Euler Vault Kit (EVK)
EVK is a toolkit that allows users to create and manage custom “vault” systems. EVK enables users to deposit their assets into vaults and set different strategies and rules as needed. It integrates with EVC, allowing developers to freely construct ERC-4626 vaults. Key features of EVK include:
Ethereum Vault Connector (EVC)
EVC is a tool designed to connect EVKs on Ethereum. It allows users to seamlessly transfer assets and strategies between different DeFi protocols, granting vaults superpowers to act as collateral for other vaults, facilitating seamless communication between ERC-4626 vaults and other smart contracts. Key features of EVC include:
Euler Vault Kit (EVK) and Ethereum Vault Connector (EVC) are important features introduced by Euler Finance to provide greater flexibility and management efficiency. Through EVK, users can create and manage custom vaults, and through EVC, they can seamlessly transfer assets and strategies between different vaults. These tools enhance users’ control and management capabilities over their assets, contributing to improved liquidity and efficiency in the DeFi ecosystem.
DeFi protocols refer to a series of decentralized applications (dApps) built on blockchain networks that offer traditional financial services like lending, trading, and insurance without relying on traditional financial institutions. Modular DeFi protocols improve flexibility and innovation by breaking these services into independent modules, allowing users and developers to mix and match different functionalities.
Currently, DeFi primarily consists of yield aggregators, lending protocols, derivatives and options, and insurance protocols. These modules can be freely combined to create new financial products and services. However, their nature is similar to the OP Stack’s “one-click chain deployment” logic; modular DeFi protocols need to establish module combinations within their own framework to create new financial products and services.
While modular DeFi brings flexibility, it also comes with potential risks. UniSwap ignited the DeFi boom, becoming the “blueprint” for various DeFi protocols today. Since its inception, UniSwap has never been hacked, primarily due to its reliance on a simple core invariant (tokenBalanceX * tokenBalanceY = k) and its integration with immutable smart contracts.
However, the flexibility of modularity also introduces relative complexity. The high interconnectivity between different DeFi protocols means that if an upgradeable contract in one protocol fails, it could trigger a chain reaction affecting other protocols, potentially leading to systemic risk in the entire ecosystem. This is an important aspect that needs consideration.