visit
But seriously, why do we need it?
Since most financial services in existence today are provided by or involve third parties, for example, banks, exchanges, investment companies, insurance agencies etc, DeFi is an attempt to build an alternative environment, an ecosystem of applications offering the same set of services but now powered by public blockchain networks in a decentralized, transparent and permissionless way.By and large, the basic idea that guides DeFi is essentially the same ethos that drives innovation with crypto as such, but at an entirely different level.
Just like cryptocurrencies try to wrest the state supremacy over money from the hands of rogue governments and central banks, DeFi takes it further and aims higher. With DeFi, it is no longer a matter of creating a coin in an effort to replace fiat money, which mostly doesn’t work anyway. However, building a whole new domain of financial services available fairly and squarely to anyone, with full control over the assets but without corrupt governments and greedy intermediaries sticking around, may pan out better after all. So, answering the question posed at the beginning of this section, we need DeFi for basically the same reasons we need cryptocurrencies. Or, put differently, if we need cryptocurrencies, an assumption that has been proved indisputable, it is inevitable as well that we will sooner or later become interested in decentralized financial services powered by these cryptocurrencies through smart contract blockchains. We can’t just create Bitcoin and say that’ll do. It is a natural development, a Maslow’s hierarchy of needs, in a sense.How is it even possible?
As mentioned in the introduction, DeFi emerges thanks to smart contract tech and decentralized applications (or simply dApps) running them. So how does it work in practice? To better understand the idea, let’s take a closer look at a relatively simple example of a decentralized crypto-backed stablecoin which can be created through a smart contract. Stablecoins are coins whose value is pegged to a stable asset such as a commodity like gold or a fiat currency like the US dollar. There are a few different types of stablecoins that exist in the wild. For the purpose of this exposition, we are interested in crypto-backed stablecoins. Like stablecoins collateralized by fiat, these stablecoins use cryptocurrencies as collateral. However, the key difference is that a fiat-based stablecoin is pegged to the fiat currency which is backing it up. Kinda obvious. A crypto-backed stablecoin, on the other hand, is pegged to one asset, say, the American dollar, but backed up by a completely different one, for example, Ether. Things get tricky.A crypto-collateralized stablecoin is possible through the magic and the beauty of the smart contract governing it. If the price of such a stablecoin rises above its peg or parity, you can create more stablecoins and sell them at a premium. If the price of the stablecoin falls below parity, you can buy stablecoins and liquidate them at a discount. If the collateral itself crashes, undercollateralized stablecoins will be liquidated with their collateral now backing up fewer stablecoins. As a result, the price always gets pushed back to parity.And all this rather complicated stuff is done on the blockchain in a decentralized and automatic fashion with no banks or other third parties involved. Consequently, more services are easily possible too. And quite a few at that.So where’s the catch?
There are many advantages of DeFi, but to be of any practical use, it needs up-to-date information that would be reliable and authentic. Smart contracts that DeFi is based on are hopelessly on-chain, but the data they need for processing is mostly off-chain. Without a bridge to close this gap between a smart contract and its source of external information, smart contracts are entrapped in closed-off dungeons of their blockchains. To be sure, no crypto-based stablecoin is going to work correctly without a real-time price feed for the assets taken as its collateral and used for maintaining the peg.To get around this roadblock, a concept of blockchain oracles has been suggested. But as the chain cannot be stronger than its weakest link, blockchain oracles seem to be that weak link in the field of DeFi and beyond as obtaining information in a verifiable way can be an intimidating task. What approaches dApps are taking to procure and verify sources of truth in the external world is the topic of our upcoming article about blockchain oracles. Stay with us and stay tuned!The views and opinions expressed here are solely those of the author. Every investment and trading move involves risk. You should conduct your own research when making a decision.
Follow us to get the latest news about the crypto world.
Previously published at