New: Introducing the world's first secure touchscreen hardware wallets

Shop Now

Up your Web3 game

Ledger Academy Quests

  • Test your knowledge
  • Earn POK NFTs
Play now See all quests

Composability Meaning

Apr 26, 2024 | Updated Apr 26, 2024
DeFi composability is the capacity to integrate existing blockchain components in various ways to build new applications and services.

What Is Composability in DeFi?

In decentralized finance (DeFi), composability refers to the capacity of different protocols and applications to seamlessly interact with each other. This interoperability allows developers to freely mix and match various components or source codes of existing protocols, smart contracts, and application programming interfaces (APIs) to create new DeFi applications and services. These modular components within DeFi protocols are often analogously compared to building blocks, earning them the nickname ‘Money Legos’. 

In a composable ecosystem, one protocol’s output becomes another protocol’s input, thereby stacking together to form a network of interlinked protocols that seamlessly integrate and work together. 

For example, one DeFi lending platform enables users to borrow funds. The borrowed funds can act as collateral on another DeFi platform for trading crypto assets. The profits from that trading platform could then be used to settle the loan acquired from the lending platform. A DeFi platform is composable if all these can be done without leaving the  ecosystem.

What Are the Different Types of DeFi Composability?

A blockchain is composable if it allows developers to easily build innovative decentralized applications (dApps) and cross-chain protocols. In other words, a composable blockchain’s open-source nature allows developers to create new financial products or improve existing ones. 

The most common types of composability include:

Morphological composability

A morphologically composable blockchain is one whose components, smart contracts, tokens, and functions adhere to the same standards, such as the ERC-20 token standard. This makes its dApps and DeFi platforms interoperable and compatible with each other.

Syntactic composability 

This is the ability of existing decentralized autonomous organizations (DAOs) and dApps to seamlessly integrate and communicate with each other to create brand-new applications. Syntactic composability is best suited for systems that are also morphologically composable. Generally speaking, a morphologically composable system focuses on the ability of the same component to be reused in different systems. In contrast, syntactically composable ones refer to the capacity to combine a blockchain’s building blocks to create newer systems.

Atomic composability

Rather than integrate existing parts to create new functionalities and applications, atomic composability primarily focuses on executing smart contracts. That is, it enables users or developers to bundle different types of transactions into a single transaction. It’s important to note that this single transaction only finalizes if each transaction is successfully processed.

SHA-256

SHA 256 is an algorithm used in Proof-of-Work blockchains like Bitcoin to verify transactions.

Full definition

Move-to-Earn

Move-to-Earn is a concept in the Web3 ecosystem through which people are rewarded for physical activities like walking, jogging, and running.

Full definition

Coin

A coin is a digital asset that functions as a currency or store of value on its own blockchain network.

Full definition