DeFi, DApps and DAOs describe three layers of the same idea. DeFi is the set of financial services that run on blockchains. DApps are the applications those services are built as. DAOs are the organizations that govern them without a central authority. This note defines each one, then covers how a DApp is put together and where DAOs are used.
1DeFi
1.1Definition
DeFi is an ecosystem of financial services built on blockchain technologies, typically using smart-contract. It consists of applications and peer-to-peer protocols developed on decentralized blockchain networks. These require no access rights for easy lending, borrowing or trading of financial tools.
1.2Three waves of innovation
DeFi is built from 3 waves of blockchain innovation:
- 2009, starting with Bitcoin, brought the distributed ledger (blockchain). It enabled peer-to-peer (P2P) transfer and a non-sovereign digital asset.
- Ethereum, defined by its native language Solidity, can build any kind of application. It makes the network a supercomputer open to anyone.
- The coin boom of 2017 marked the sponsorship of a series of DApps, which led to a decentralized financial ecosystem.
The 4th wave is DeFi, which combines the 3 waves above.
1.3Two criteria
- Permissionless: it serves anyone, regardless of faction, with no central authority.
- Transparency: all documents can be inspected and reviewed because they are open source. Every transaction is recorded on a blockchain, which makes data available for investment research or investigation.
Adapted from Decentralized Finance: What It Is, Why It Matters, a16z crypto (also at future.a16z.com).
2DApps

2.1What is a DApp
A DApp is an application that is mostly or entirely decentralized. These aspects of an application may be decentralized:
- Backend
- Frontend
- Data storage
- Message communications
- Name resolution
2.2Advantages
- Resilience: a DApp has no downtime and stays available as long as the platform is still operating.
- Transparency: everyone can inspect the code. Every interaction with the DApp is stored forever on the blockchain.
- Censorship resistance: no service provider, not even the owner of the smart contract, can alter the code once it is deployed on the network.
2.3Components
Backend (smart contract)
- You can think of a smart contract as replacing the server-side component (the "backend") of a regular application.
- Any computation executed in a smart contract is very expensive, so keep it as small as possible.
- Smart contracts on the network can call each other and pass data between them, reading and writing their own state variables as they go. Their complexity is restricted only by the block gas limit.
- A key constraint in smart contract design is that you cannot change the code of a smart contract once it is deployed.
- Check gas cost here: gas cost
Frontend
- The client-side interface of a DApp can use standard web technologies (HTML, CSS, JavaScript and so on), and can be mobile as well.
- It links to Ethereum through the web3.js JavaScript library, which is bundled with the frontend resources and served to a browser by a web server.
Data storage
- Because of high gas costs and the currently low block gas limit, smart contracts are not well suited to storing or processing large amounts of data.
- Most DApps use off-chain data storage services. They store the bulky data off the Ethereum chain, on a data storage platform.
- The storage platform can be centralized (a cloud database) or decentralized, stored on P2P platforms (IPFS, Swarm).
IPFS
- The Inter-Planetary File System (IPFS) is a decentralized, content-addressable storage system that distributes stored objects among peers in a P2P network.
- "Content addressable" means each piece of content (file) is hashed, and the hash identifies that file. You can then retrieve any file from any IPFS node by requesting it by its hash.
Adapted from Mastering Ethereum, chapter 12 (DApps).
3DAOs
3.1Decentralized autonomous organization
Usually an organization has a person who makes decisions on its behalf. Administrators represent shareholders, and politicians represent citizens. In such organizations there is often a moral hazard, when the rights sit with a person who puts personal interests above the common good.
In a traditional organization, the relationship between the organization and an individual rests on an agreement (law, paperwork, tacit agreement). The rights and obligations of each party are regulated and enforced by a third party or an individual.
A DAO is an organization of a group of people interacting according to a self-enforcing, open-source protocol. Keeping the network secure and performing on other networks earns you tokens of that network. The members of a DAO are not bound to each other by a single legal entity. Smart contracts govern them instead.
3.2How a DAO works
- A group of people operates the program (based on a smart contract).
- Next comes the stage of raising capital by buying shares, also known as an ICO (Initial Coin Offering).
- Once there are enough funds, the DAO is put into operation.
- Participants who buy shares have the right to vote on decisions made with the DAO.
- The DAO is not owned by anyone. It is a piece of software that runs on top of the Ethereum system. People who contribute shares to the DAO can vote on decisions, but they do not own the DAO.
3.3Public interest
- From 2020 to 2021, along with the development of DeFi, DAOs began to be mentioned more.
- At the time of writing, no country recognized DAOs, and there were no clear legal regulations. DAOs were still widely used in the DeFi market, and were recognized in places of legal autonomy (for example Wyoming in USA).
3.4What DAOs are used for
- Aggregating resources to buy and sell expensive NFT artworks for profit.
- Funding blockchain public goods that are necessary but have no business model behind them, with votes issued as donations and donations matched by a pool.
- Basic crowdfunding that runs on blockchain without a business model, with votes issued as donations and donations combined by a team. Providing policy options on DeFi protocols.
- Accepting and rejecting members who want to join the organization, and making decisions in the organization.
- Creating talent and non-hierarchical organizations.
- Buying and selling digital assets, such as tokenized real estate or cryptocurrency.
3.5Is the world moving towards a DAO model
- The legal system began to monitor DAOs closely.
- DAO pioneers argue that DAOs can replace paper organizations, even governments. Whether or not governments soon run countries on-chain, many use cases suggest that combining DAOs with other blockchain-based options will make them more popular. As on-chain solutions and DApps evolve, so will the accessibility and utility of DAOs.
Adapted from d-core.net.