Crypto and Onchain Lending

By Coinbase Institute

Coinbase Institute: Insights Series


Blockchain technology has transformed the way financial systems can record, verify, and exchange value without traditional intermediaries. Among its most compelling applications is onchain lending—a decentralized model in which loans are originated, collateralized, and repaid entirely through blockchain-based smart contracts rather than banks or broker-dealers. By replacing institutional trust with verifiable code, onchain lending introduces a transparent and programmable alternative to conventional credit markets. While this new system is still evolving, it demonstrates how financial intermediation can be made more accessible, efficient, and globally inclusive.

How It Works

In onchain lending, all key functions of the lending process—depositing assets, determining collateral ratios, calculating interest, and enforcing repayment—are executed automatically through smart contracts on a blockchain. Borrowers lock up digital assets as collateral, often in the form of stablecoins or other crypto, and receive loans denominated in other digital assets. The system is over-collateralized to protect lenders from default risk; if the collateral’s value falls below a certain threshold, the smart contract automatically liquidates it to repay lenders. Because these transactions occur on a public ledger, every loan, repayment, and liquidation is visible in real time, creating an unprecedented level of transparency and auditability.

Unlike traditional lending, no centralized intermediary decides who qualifies for a loan. Instead, liquidity pools—collections of funds provided by individual users—enable peer-to-protocol lending, where market participants earn yield by supplying assets to the pool. Interest rates are set algorithmically based on supply and demand, rather than by a bank’s internal credit committee. While this system eliminates counterparty risk through automation, it also introduces new considerations, including potential smart contract vulnerabilities, price-oracle dependencies, and the challenge of integrating identity verification without compromising decentralization.

Use Cases and Significance

  • Access to Global Credit Markets: Onchain lending platforms allow anyone with an internet connection and digital wallet to borrow or lend, bypassing the geographic and institutional barriers of traditional finance. For example, decentralized applications built on Layer 2 solutions like Base enable users worldwide to post specific digital assets as collateral and instantly borrow stablecoins like USDC or DAI, a function particularly useful in regions where banking access is limited or unreliable.  

  • Capital Efficiency and Real-Time Settlement: Because blockchain transactions settle nearly instantaneously, capital can move more fluidly between markets. Lenders earn interest in real time, and borrowers can deploy liquidity almost immediately. Platforms such as MakerDAO have demonstrated this efficiency by allowing users to mint the DAI stablecoin against collateral, unlocking on-demand liquidity without intermediaries.

  • Integration with Tokenized Assets: As real-world assets such as Treasury bills or corporate debt become tokenized, they can serve as new forms of onchain collateral. Some emerging platforms are experimenting with tokenized U.S. Treasury funds as collateral in DeFi lending pools, blending traditional assets with blockchain-based liquidity mechanisms. This fusion could expand access to low-risk collateral for borrowers and bring real-world yields into decentralized markets.

  • Transparent and Programmable Risk Management: Because every transaction is visible on a public ledger, risk models can be built and monitored openly. Smart contracts can be programmed to enforce margin calls or liquidations automatically, reducing discretionary human error. For instance, when market volatility spikes, protocols like Aave can execute pre-defined liquidation rules in seconds—far faster and more predictably than traditional intermediaries.

  • Innovation in Identity and Compliance: New frameworks are emerging that allow compliance checks to coexist with decentralization. Concepts such as “verified pools” or onchain identity attestations could allow KYC-verified participants to engage in compliant lending markets without reintroducing central custodians. Pilot projects are exploring this hybrid model, balancing regulatory oversight with blockchain’s transparency and efficiency.

Conclusion

Onchain lending demonstrates how decentralized systems can replicate and enhance core credit functions traditionally performed by banks and brokers. It offers global reach, real-time settlement, and transparent risk management, but it also raises legitimate concerns around consumer protection, systemic risk, and legal enforceability. Policymakers should focus on functional outcomes rather than legacy labels—emphasizing safeguards such as capital adequacy, transparency, and verifiable compliance across both traditional and decentralized models. Clear and adaptive frameworks can enable responsible innovation, allowing blockchain-based lending to expand access to credit while maintaining the resilience and integrity of the broader financial system




This material is for informational purposes only, and is not (i) an offer, or solicitation of an offer, to invest in, or to buy or sell, any interests or shares, or to participate in any investment or trading strategy, (ii) intended to provide accounting, legal, or tax advice, or investment recommendations or (iii) an official statement of Coinbase. Coinbase may have financial interests in, or relationships with, some of the entities discussed or referenced in the materials.