<aside> <img src="/icons/book_gray.svg" alt="/icons/book_gray.svg" width="40px" />

This is a chapter from the book Token Economy (Third Edition) by Shermin Voshmgir. Paper & audio formats are available on Amazon and other bookstores. Find copyright information at the end of the page.

</aside>

Decentralized lending protocols use smart contracts to provide a marketplace between lenders and borrowers. Any asset can be tokenized and used as collateral in a decentralized lending protocol, thereby creating a liquid lending market for these assets, surpassing the possibilities of legacy systems and fundamentally changing the dynamics of our global economic system.


Tokenized lending services offer a two-sided marketplace, using smart contracts for credit and lending of tokens. They have lower operational costs than legacy financial services and provide higher levels of trust, as verification of compliance with lending rules and verification of the underlying collateral and payments are executed on the fly on a publicly verifiable infrastructure. In the early years of decentralized finance (DeFi), only specialized lending protocols existed for simple credit and lending. In combination with automated market maker (AMM)-based decentralized exchanges using liquidity pools, decentralized lending protocols have enhanced capabilities and can provide a multi-sided marketplace not only between lenders and borrowers but also between sellers and buyers of tokens.

MakerDAO,” which launched in 2017, pioneered decentralized lending since the stable token DAI was issued against tokenized collateral, thereby introducing the first lending mechanisms. The first notable lending protocols were “Compound,” “Curve,” “Yearn,” “Aave,” and “Centrifuge,” which embraced the concept of liquidity pools but differed in their token economics, blockchain networks supported, or asset types supported.

In a fully decentralized setup, tokenized lending services only require a Web3 wallet and an Internet connection to participate. Users are in control of their private keys and thus in control of their tokens at all times. The first lending protocols also addressed the problem of dormant capital, which was a big issue at the time, where crypto investors held tokens long-term without using them to earn interest. When lending protocols emerged, these crypto investors converted their under-utilized and dormant tokenized capital into working capital. While the first protocols were designed to be peer-to-peer, they did not resolve the coincidence-of-wants problem needed to match creditors and borrowers. Liquidity pools combined with AMMs resolved this issue. Lenders could lock their tokenized assets in liquidity pools, which borrowers could use to borrow tokens. In the bull run that was triggered by the DeFi summer of 2020, investors were motivated by the high yields promised by many emerging lending protocols. These promised yields were often unsustainable, at least in the medium to long run, and were designed in an attempt to bootstrap a minimum viable economy for their lending protocol, ensuring enough liquidity to outperform other protocols. Various new and somewhat interchangeable terms emerged—“yield farming,” “liquidity mining,” and “liquidity harvesting”—all describing the act of lending existing token holdings to a liquidity pool in exchange for the possibility of earning interest and potentially additional protocol rewards.

Tokenized Lending

In the current financial system, depositors have no real-time control over what happens with their deposited money, such as who the bank lends their money to or whether it is keeping enough assets in reserve to pay customers back when needed. In most countries, depositors cede ownership of their assets to the bank when they deposit money. They often do so unknowingly in exchange for a bank guarantee. A bank guarantee is a type of government-mandated insurance—usually capped around a government-mandated maximum per person and/or per bank account. In Europe, this is EUR 100,000 per person and per bank. While private forms of credit also exist, they are mostly given out by friends and family—typically on a personal trust basis—and are harder to enforce if the counterparty to the private loan fails to fulfill their side of the bargain.

Decentralized financial applications leverage blockchain networks without the need for traditional financial institutions or analog forms of private credit. All transactions of a tokenized loan are brokered by smart contracts that are audited by all nodes in the network, instead of the private ledgers of banks or CeFi startups. The smart contract replaces the functions of a bank, which would usually broker the financial liquidity between lenders and borrowers. Because of the nature of blockchain networks, anyone can track the state of their tokens at all times. Tokens are locked up in an escrow contract as collateral, which automatically pays out periodic interest rates to the wallet of the lender. Due to the publicly verifiable nature of the underlying infrastructure, these collateral assets cannot be over-leveraged through private backdoor deals or embezzlement. This enables a global and transparent credit and lending market for each tokenized asset class. Any token holder, for example, from Africa, could earn passive income on their token holdings through interest paid by a borrower in South America, and vice versa.

Two forms of decentralized lending exist: (i) “P2P lending” and (ii) “liquidity pool lending.” While most protocols started with P2P lending, liquidity pool lending has become the dominant form of lending in most DeFi protocols.

P2P lending: In a P2P lending setup, any individual or institution can lend tokens to another individual or institution directly. The smart contract brokers the tokenized lending and collateral management wallet-to-wallet. However, in such a setup, there is a “coincidence of wants” problem, meaning that matching individuals who need a certain amount of tokens with someone willing to lend at the same time can be challenging.

Liquidity pools: The introduction of liquidity pools resolved the coincidence-of-wants problem of P2P lending. It allows lenders to provide their tokens into a lending pool and earn interest, fees, and other rewards on the tokens they provide (lend) to the liquidity pool for the duration of their loan. Others can borrow the number of tokens they need from the lending pool at the time. Lending pools are designed like the liquidity pools used by decentralized exchanges but come with additional borrowing and lending functions. For example, a person who has USDC tokens that they do not plan to spend in the near future could use a lending protocol such as “Aave” and deposit their USDC into a USDC liquidity pool to earn interest on the tokens deposited—interest that is paid by borrowers taking out USDC loans. The same person who provided the USDC tokens to the lending pool (also known as liquidity providers or creditors) can now use these deposited assets as collateral to borrow other tokenized assets they might need instead. The smart contract brokers the transactions and defines the algorithm that determines borrowing and lending rates. This resolves the coincidence-of-wants problem and, at the same time, creates more liquidity for the supply and demand of a particular token class.

The term “staking” in the context of decentralized lending has become somewhat synonymous with lending tokens and locking them up for some kind of tokenized yield, often in the form of governance tokens issued by a DeFi protocol. The term has been misused by some DeFi protocols that issued their own tokens during the bull years of DeFi. This was likely done to market their protocol tokens to potential buyers and motivate them to lock their newly purchased protocol tokens against the issuance of tokenized rewards.

The original term “staking” is used in relation to a security mechanism—Proof-of-Stake—in blockchain networks. While it has certain similarities to lending, it has very different game-theoretic origins and a significantly different market design than locking up one’s tokens for a lending protocol. The game-theoretic mechanisms of simple lending services are less complex than those of Proof-of-Stake staking.

Tokenized Borrowing & Over-Collateralization

Similar to lending, tokenized borrowing takes two forms: (i) P2P borrowing and (ii) liquidity pool borrowing—both sharing the same trade-offs and dynamics as previously outlined. However, borrowing introduces additional complexities related to identification, reputation, and collateral management.

In the traditional financial system, when individuals or institutions borrow money, they typically provide collateral as a guarantee that can be seized if the borrower defaults on repaying the loan. The required collateral percentage depends on the purpose of the loan, the borrower’s creditworthiness, and regulatory requirements. Creditworthiness is assessed based on owned assets, such as real estate or company shares, which could be liquidated in case of default. Expected future income also plays a role, which is why banks request income statements and employment contracts. Alternatives to bank loans include private lending by so-called “loan sharks,” who often charge exorbitant interest rates in the absence of collateral, or borrowing from family and friends, which relies solely on trust and typically requires no collateral.

Due to the pseudonymous nature of blockchain-based identification, early DeFi protocols operated without personal identification or credit checks, necessitating full collateralization or, in many cases, over-collateralization to mitigate the volatility risks of the collateral assets used. Borrowers had to lock accepted crypto assets in a smart contract before obtaining a tokenized loan, a practice that replaced the lender protection mechanisms of traditional finance, where banks verify borrower identities and rely on credit rating agencies to reduce collateral requirements.

To maintain full collateralization, lending protocols have implemented automated liquidation mechanisms. If the market price of the collateral drops significantly, smart contracts trigger the sale of collateral tokens at a predefined price or via market auction. Market participants who detect under-collateralized contracts can profit by triggering and executing these actions, effectively protecting lenders from counterparty risk in the event of a sudden price collapse of the collateral asset. While this is an effective lender protection mechanism, its reliance on full collateralization makes decentralized borrowing impractical for those in genuine need of a loan, excluding large portions of the population. Consequently, DeFi borrowing has been primarily used by professional traders engaged in arbitrage trading, margin trading, or those who want to leverage crypto assets for tax-efficient investments without liquidating holdings. This dynamic creates barriers to entry, reinforcing wealth concentration while leading to inefficient capital allocation.