Blockchain

Defi Infrastructure 101…

Defi Infrastructure 101 — Prezentare generală și peisajul pieței

Decentralized Finance (DeFi) is redefining the future of finance. There is a major shift going on in the underlying infrastructure powering financial applications, and it’s changing the way we think about permission and control, transparency, and risks.

DeFi este un sector de piață în curs de dezvoltare în intersecția tehnologiilor blockchain, a activelor digitale și a serviciilor financiare. Conform DeFi Pulse, the value of digital assets locked into Defi applications grew 10X from less than $1 billion in 2019 to over $10 billion in 2020, and over $80 billion at its peak thus far in 2021. Yet the DeFi applications and underlying infrastructure are still in its nascent stage of development.

The goal of this report is to provide an introduction of the new emerging area of DeFi infrastructure powering DeFi apps today. While it’s easy to get caught up in the hype and speculation within the space, I’ll focus on the key components of Defi applications, their key differentiation compared to traditional finance, potential risks, and longer-term implications these Defi apps are causing.

Major Structural Commonalities Across DeFi Apps

DeFi apps are financial applications with no central counterparties. In practice, this means there is no institution (e.g. banks) you are interfacing with to access these financial applications; instead users interface directly with the programs (e.g. smart contracts) on top of the protocol itself. For more of a DeFi 101 primer, I highly recommend Acest raport.

Categoriile majore de aplicații DeFi includ schimburi descentralizate, platforme de creditare, stablecoins, active sintetice, asigurări, printre altele. Deși diverse ca domeniu de aplicare, toate aceste aplicații DeFi au un set major de caracteristici comune, inclusiv:

  1. Folosind blockchain-urile subiacente ca registru principal
  2. Sursă deschisă și transparentă implicit
  3. Interoperabil și programabil (compozabilitate)
  4. Deschis și accesibil tuturor (fără permis)

Utilizarea blockchain-urilor subiacente ca registru principal

Compared to traditional financial applications which use core banking systems (Fiserv, Jack Henry, FIS, etc.) as the underlying ledgers of record, Defi apps use blockchains as their underlying core ledger.

A few of the most prominent blockchains used to build Defi apps include Ethereum, Solana, and Binance Chain, etc. These underlying blockchains store the ledger state of what is deposited into the DeFi apps, what is stored within the smart contracts, all of the transactions, and withdrawals.

All of the core accounting functions to ensure matching inputs and outputs are handled by the blockchain itself, the Defi apps don’t need to create external systems to reconcile balances, because all of the transactions are queryable across the various block explorers.

În plus, în comparație cu sistemul tradițional, nu există un proces separat de decontare și compensare a tranzacțiilor. Procesarea, compensarea și decontarea tranzacției au loc în același timp când tranzacția este difuzată. Deși este recomandabil să așteptați în jur de ~21 de blocuri sau mai mult pentru a asigura finalitatea blockchain-ului în sine.

Open Source și transparent implicit

Compared to traditional financial applications which are all closed-source and built on top of proprietary systems, Defi applications are typically entirely open-sourced and built on top of open underlying blockchains.

Defi Infrastructure 101... Blockchain PlatoBlockchain Data Intelligence. Vertical Search. Ai.
„API-uri” bancare

Acest lucru determină trei proprietăți interesante:

  1. compozabilitatea — Aplicația DeFi în sine poate fi bifurcată, remixată și reutilizată în multe alte aplicații (mai multe despre asta mai jos).
  2. Transparență — Deoarece aplicația DeFi este open source, este complet auditabilă pentru a ști exact ce face contractul inteligent în ceea ce privește funcțiile, permisiunile utilizatorului și datele utilizatorului.
  3. auditării — Deoarece blockchain-ul de bază în sine este open source, întregul flux de fonduri este complet auditabil, inclusiv garanțiile din sistem, volumul de tranzacționare, valorile implicite etc.

Spre deosebire de sistemul financiar tradițional (care este opac), funcționează pe un sistem de rezervă fracțională și este predispus la șocurile pieței - sistemul DeFi este complet transparent și supracolateralizat - ceea ce permite companiilor DeFi să facă față recesiunilor mult mai eficient.

Interoperabil și programabil

Pentru ca dezvoltatorii să câștige încrederea utilizatorilor, majoritatea aplicațiilor DeFi sunt complet open source – inclusiv front-end-ul și contractele inteligente în sine. În plus, deoarece aplicațiile DeFi rulează toate pe o platformă comună (blocchain-ul de bază), aceste aplicații DeFi sunt complet interoperabile între ele și pot fi programate să funcționeze cu orice altă aplicație DeFi din ecosistem.

Aceasta este denumită în mod obișnuit „bani legos"Sau"compozabilitatea” aspecte ale DeFi. Toate aceste aplicații DeFi sunt ca piese Lego individuale care pot fi remixate pentru a lucra cu alte piese Lego pentru a construi ceva nou.

Comparați acest lucru cu sistemul financiar tradițional unde;

  • Fragmentarea infrastructurii — Aplicațiile financiare tradiționale nu sunt construite pe o infrastructură comună.
  • Aplicații în sil — Aplicațiile financiare tradiționale sunt de obicei proprietatea unei singure instituții bancare. De exemplu, toate „aplicațiile fintech” ale lui Wells Fargo lucrează împreună, dar nu între diferite instituții bancare.
  • Dezvoltator Neprietenos — Aplicațiile financiare tradiționale nu sunt create pentru ca alți dezvoltatori să creeze servicii pe deasupra.

Sistemul financiar tradițional are standarde comune; cu toate acestea, este extrem de greu să se ajungă la un consens între participanții de pe piață, deoarece instituțiile financiare văd software-ul lor ca pe un șanț competitiv, în loc să folosească produsele ca un factor de diferențiere.

Unul dintre cele mai mari motive pentru care am văzut atât de multă inovație în spațiul DeFi este că sistemele sunt interoperabile, permite ecosistemului dezvoltatorului să aibă o expresie mai creativă asupra produselor și serviciilor pe care le creează. În plus, dezvoltatorii nu trebuie să piardă timpul reinventând roata, ci mai degrabă se pot construi pe cadre comune și se pot concentra asupra lucrurilor care fac produsele lor speciale.

Deschis și accesibil tuturor

Cu aplicațiile financiare tradiționale, noii utilizatori trebuie de obicei să treacă printr-un proces îndelungat de înscriere, verificări ale veniturilor, verificări de credit sau chiar întâlniri personale - doar pentru a putea folosi un anumit produs financiar.

Din cauza acestor reguli arbitrare stabilite de instituțiile financiare, aceste procese de integrare sunt predispus la prejudecăți inclusiv discriminarea credituluirefuzul serviciilor bancare de bazădeschiderea de linii de credit fără consimțământperceperea de taxe ilegale, Etc

Cu aplicațiile DeFi, tot ce aveți nevoie este o adresă de portofel pentru a interacționa cu aceste sisteme. Aplicațiile DeFi nu solicită verificarea veniturilor, nu au nevoie de verificări de credit și, în majoritatea cazurilor, nici nu trebuie să știe cine sunteți în afara adresei portofelului pe care o utilizați.

Acest lucru este denumit în mod obișnuit aplicațiile DeFi Fara Permisiuni. Dacă aveți fonduri în portofel pentru tranzacția pe care doriți să o faceți, o puteți face. Nu există instituții sau intermediari care să vă oprească sau să vă refuze serviciul. Nu contează care este trecutul tău sau din ce țară vii, aplicațiile DeFi nu fac discriminări.

Acesta este unul dintre cele mai subapreciate aspecte ale produselor DeFi.

Traditional Fintech Architectures vs. DeFi Architecture

Iată o diagramă mai arhitecturală despre principalele diferențe tehnice dintre o aplicație tradițională fintech și o aplicație DeFi (simplificată de dragul conciziei):

Defi Infrastructure 101... Blockchain PlatoBlockchain Data Intelligence. Vertical Search. Ai.

Here is a more direct comparison chart on some of the key differences between centralized and decentralized financial applications:

Defi Infrastructure 101... Blockchain PlatoBlockchain Data Intelligence. Vertical Search. Ai.

DeFi Infrastructure — Market Map

Below is a market map of two different DeFi ecosystems, one built on the Solana ecosystem and the other built on the Ethereum ecosystem.

The reason why I am picking these two ecosystems to focus on is to show the breadth of DeFi apps being built across two different underlying protocols. I also believe Solana is the most interesting new layer one protocol because of its high transaction throughput (50K+ transactions per second), sub second latency & transaction confirmation times, and fast growing ecosystem of developers building DeFi apps on top of the Solana protocol.

While similar in structure, each underlying protocol has its own ecosystem built on top which is largely independent of the other. Below are some of the further explanations of each layer and the tradeoffs between them.

Defi Infrastructure 101... Blockchain PlatoBlockchain Data Intelligence. Vertical Search. Ai.

Base Layer (Layer One)

The base layer is the blockchain in which the core ledger itself sits. Ethereum is the most dominant layer one today, and Solana is the most promising new entrant with faster transaction speeds, more throughput, and cheaper transactions.

Node Infrastructure

A never ending amount of data needs to be queried about the underlying ledger (retrieving blocks, finding transactions, syncing data, writing transactions, etc). In the Ethereum ecosystem, a whole industry sprung up to solve this need (Infura, Alchemy, etc.).

Contrast this with Solana where the underlying ledger is fast enough and in sync enough that teams can just query Solana’s RPC nodes directly (this might not last forever though).

Stratul doi

On Ethereum, there are various layer two solutions primarily used for scaling since Etheruem itself cannot handle all of the transactions on itself. Two of the promising scaling solutions include Matic, Optimism, among others.

On Solana, since there is only one layer to build upon (no layer 2 scaling solution needed) there are no specialized integrations needed and no mismatches with the underlying ledger which is processing settlement.

Order Book Aggregation

Unique to Solana, there is an additional layer occupied by a DeFi project named Ser which provides a CLOB (Central limit order book) that is used by all of the DeFi projects built on top.

When new DeFi projects are built on top of Solana (DEX, AMM, Options, etc.), they can pull orders from Serum and push orders back into Serum, greatly reducing the cold start challenge most new financial applications face.

The best way to think about it is to think of it as “networked liquidity” and an “order management” system which is used by the majority of projects within the Solana ecosystem.

One of the more innovative examples of combining a CLOB (Serum) and an AMM is Raydium (very similar to Uniswap v3). The combining of these systems allows for passive LPs with active market making using Serum.

DeFi Toolset

There are a set of common tools needed to operate most of these DeFi apps, either from the perspective of developers or end users. These services don’t have direct traditional finance analogies but they include:

  • Portofele — The main interface people use to store assets & interface with DeFi apps.
  • Oracolele — On-chain data feeds DeFi apps use to reference prices and execute transactions against (example: liquidations).
  • Block Explorers & Analytics — Tools like Block Explorers were created to allow people to query the blockchain ledger itself directly. These are used most often when verifying transactions.
  • Stablecoins — The two main assets used in DeFi ecosystems include the underlying native protocol token (ETH or SOL) and ideally on-chain stablecoins (USDC, Dai, or Pai).
  • Front-Ends — A new emerging layer which creates easy to use front-end applications to interact with multiple DeFi projects at once, or to simplify transactions. This includes both Zapper.fi within the Ethereum Ecosystem or Step Finance within the Solana ecosystem.

Aplicații DeFi

The DeFi apps themselves are composed of all of the core financial applications which can be used directly, or embedded into other various apps within the crypto ecosystem.

Defi Infrastructure 101... Blockchain PlatoBlockchain Data Intelligence. Vertical Search. Ai.

Potential Missing Pieces of DeFi Infrastructure

When comparing and contrasting DeFi infrastructure with traditional financial infrastructure, there were a few pieces that don’t exist yet in the decentralized world that could be interesting to explore.

A few to highlight below:

  • Aplicații pentru consumatori — In the traditional financial world, consumers typically act with consumer apps (ex. Robinhood, Chime, Transferwise) not the underlying protocols themselves. The front-ends of the DeFi space could be greatly improved and intermediate much more of the total consumer experience. In general, the UI/UX of most DeFi apps are still very difficult to use from a consumer perspective.
  • CRM — The DeFi space doesn’t really have a concept of customer relationship management nor typically collects any amount of consumer data. While great from a privacy perspective, there is great value in understanding the customer better.
  • Anunturi — Notifications or alerts don’t really exist at all in the DeFi space at all. On a more broader level there aren’t any great methods to communicate with users either.
  • Analize de produs — There are tools to measure blockchain activity, but not to measure engagement within DeFi applications.
  • Securitate - DeFi products do typically conduct security audits; however, none of the security audits guarantee the most common protections consumers are accustomed to in the traditional financial world. On top of this, the demand for security auditors outstrips the supply, so it’s a big bottleneck.
  • Transaction Rollbacks — In traditional finance, if you make a mistake, a financial institution can initiate a rollback of the transaction. This does not yet exist in DeFi.
  • Custodie — Right now, most DeFi projects need to be interacted with from an individual wallet perspective. None of the custodians allow you to interact with DeFi apps.
  • Developer Platforms — Most of the developers in the crypto space are building right on top of the layer one protocol itself. There are no concepts of developer platforms or middleware just yet.
  • Embeddable Wallets — Wallets are seen as these external services, there aren’t any offerings of white-label wallets to embed these directly into the DeFi apps themselves. There are several initiatives such as Torus, but these are still in its infancy.
  • Identitate — One of the biggest complaints from the traditional finance world about DeFi is the pseudonymity of users. Ideally there needs to be a way to keep out the bad actors while persevering consumer privacy.

Future of Financial Applications

After meeting hundreds of founders and seeing progress teams are making, one thing is very clear — the pace of innovation in DeFi is 10x faster vs. that of traditional fintech apps.

In traditional finance:

  • The underlying ledgers are not open source nor developer friendly.
  • There are a whole host of “banking as a service” applications just to wrap underlying partner banks in developer friendly platforms.
  • Fintech apps are very challenging regulatory wise and typically take years of development before releasing a single product.

Contrast that to DeFi where:

  • Everything is open source including the ledger itself.
  • All of the transactions are public.
  • Everything is built from the perspective of developers building applications on top of protocols.
  • New DeFi apps are built and released in weeks, not years.

We at Race Capital believe that DeFi developers will forever change how the finance world works. We are incredibly bullish about the DeFi infrastructure stack and community.

If you are building the horizontal infrastructure layers of the new open source financial stack including: trading, lending, borrowing, and/or any horizontal tools all new DeFi projects will rely upon in the future, we want to chat with you. Send me a message > chris@race.capital

Multumesc!

A big thank you to Bartosz Lipinski, Kas Vardhanabhuti, George Harrap, Dylan Macalinao, Anmol Singh, Edith Yeung, and Kim McCann for helping to review and provide feedback on this post.

Disclaimer: I’m a proud seed investor in Laboratoarele Solana.