• Latest
  • Trending
Oracles: The Invisible Backbone of DeFi and Applied Blockchain Apps | by Abiodun Ajayi | The Capital | Oct, 2021

Oracles: The Invisible Backbone of DeFi and Applied Blockchain Apps | by Abiodun Ajayi | The Capital | Oct, 2021

October 24, 2021
Floki Inu Gains Momentum As Alibaba Recognizes its Utility

Floki Inu Gains Momentum As Alibaba Recognizes its Utility

June 3, 2023
Musk’s alleged price manipulation, the Satoshi AI chatbot and more

Musk’s alleged price manipulation, the Satoshi AI chatbot and more

June 3, 2023
What Is KlimaDAO | CoinStats Blog

What Is KlimaDAO | CoinStats Blog

June 3, 2023
Billions of SHIB Burned for Several Weeks in Row by SHIB Army

Billions of SHIB Burned for Several Weeks in Row by SHIB Army

June 3, 2023
Injective Protocol (INJ) Tallies 23% Price Surge In Past 7 Days

Injective Protocol (INJ) Tallies 23% Price Surge In Past 7 Days

June 3, 2023
Warren’s alleged work with short-seller shows anti-crypto army heating up

Warren’s alleged work with short-seller shows anti-crypto army heating up

June 3, 2023
What Are BRC-20 Tokens | CoinStats Blog

What Are BRC-20 Tokens | CoinStats Blog

June 3, 2023
DOGE Price Analysis for June 3

DOGE Price Analysis for June 3

June 3, 2023
XRP Climbs 12% As Crypto Celebrates 11-Year Milestone

XRP Climbs 12% As Crypto Celebrates 11-Year Milestone

June 3, 2023
  • Privacy Policy
Saturday, June 3, 2023
Mount Rushmore Crypto
  • Home
  • Top News
  • Crypto
  • Crypto Technical Analysis
  • About Us
  • Crypto Vouchers
  • Cryptocurrency and ANKR Price Prediction
  • Cosmos cryptocurrency price prediction
No Result
View All Result
  • Home
  • Top News
  • Crypto
  • Crypto Technical Analysis
  • About Us
  • Crypto Vouchers
  • Cryptocurrency and ANKR Price Prediction
  • Cosmos cryptocurrency price prediction
No Result
View All Result
Mount Rushmore Crypto
No Result
View All Result
Home Crypto Technical Analysis

Oracles: The Invisible Backbone of DeFi and Applied Blockchain Apps | by Abiodun Ajayi | The Capital | Oct, 2021

J_News by J_News
October 24, 2021
in Crypto Technical Analysis, Top News
0
Oracles: The Invisible Backbone of DeFi and Applied Blockchain Apps | by Abiodun Ajayi | The Capital | Oct, 2021
0
SHARES
1
VIEWS
Share on FacebookShare on Twitter


Brainstorming

You may be deceived if you trust too much, but you will live in torment if you don’t trust enough.

Frank Crane

A smart contract is software code that runs on a blockchain network, such as Ethereum, and performs actions or tasks based on certain events. Suppose I wanted to make a transaction where I provide the receiver’s address and proof that I have and own the funds to the network. Provided everything checks out, the network will ‘transfer’ the funds to the receiver.

What if I wanted to create a decentralized application that needed external data such as the current weather temperature, the price of Ethereum, or even the results of a baseball match?

How does a smart contract, or, in other words, a piece of code on a blockchain, get this information? This is where oracles for blockchain applications come in.

https://woj.finance/

The term Oracle literally means a reliable source of information. So, a dictionary could even be considered an Oracle. However, we want to avoid unreliable information, so we introduce redundancy. However, we also consider gas fees. The gas fee for 3 external sources of data is 3x the normal gas fees. As such, we can take an average or pick a median.

What is an oracle?

An oracle can be regarded as an off-chain platform that relays data on-chain. It is also an off-chain platform that connects blockchains to other systems. Relaying data from web servers to the blockchain is the duty of Oracles. Most decentralized applications, apart from DEXes, use Oracle.

In order to have reliable data and avoid a single point of failure or to guard against a rogue Oracle node, we sometimes choose to have redundancy. We introduce more nodes. For instance, if we want to take collateral against a Defi loan, we would like to have multiple sources for the price of ETH where the borrower deposits ETH as collateral.

Oracle helps to relay off-chain data

Smart contracts on a blockchain cannot simply pick information from any data source like a web server because all nodes need to have the ability to independently validate the outcome of running a smart contract. When this happens, it is very likely that they would get different results.

For instance, the price feed of Bitcoin would be different on different exchanges. Even checking the same source at different times can give different results. How do we know which figure is accurate or which one to choose? Often we go with redundancy and pick the outcome of the majority.

What are the types of oracles?

We classify oracles based on three points: the source of the information, the direction of the information, and the level of trust.

The source of the data can either be hardware or software. Hardware oracles collect data directly from the physical world and convert it to digital values that can be fed into smart contracts. These include barcode scanners and sensors that collect data actively or passively and transmit it to the smart contract.

Software oracles get information from online sources, browsing their websites and thereby providing the most up-to-date information to the smart contract. For blockchains, this information usually comes from cryptocurrency exchanges.

The direction of information can be either inbound or outbound. While inbound oracles allow the network to send information from external data sources to smart contracts, outbound oracles permit smart contracts to send data to external sources.

Centralized oracles function as a single entity providing data from an external source to a smart contract operating with a set of security features. However, because there is only a single node responsible — similar to the traditional financial system where there is a single point of failure — it becomes less secure and more vulnerable to being corrupted and attacked by malicious data being fed into the smart contract.

Decentralized oracles, on the other hand, rely on multiple external sources to increase the credibility of the data provided to the smart contracts. Decentralized oracles work on the Schelling points game theory in which all participants provide data without colluding with one another, and the Schelling game determines whether the consensus data point or amendments proposed to the software are valid and acceptable, after filtering for any inaccuracies.

To be trusted is a greater compliment than being loved. George MacDonald

It has been a source of concern that we need to trust an oracle due to a single point of failure. The essence of blockchain is to eliminate the need to trust an intermediary and do away with single points of failure. We can remove this concern by having multiple independent oracles form a consensus.

This has led to the creation of oracle services that obtain information from a variety of sources. Such sources include large corporations like Google, Amazon, and other organizations like weather stations. This ensures that results are more reliable than if they came from a single source.

Provable is an oracle service that helps developers when they have a need to consult a reliable source of data outside the blockchain. It provides a cryptographic guarantee that the data is authentic.

There is a large number of data feeds on the internet. As a result of this, it becomes a challenge for individual applications to integrate directly into the data feeds. This is where oracle services are helpful. They abstract the information coming from both sides and make it easier for applications to get the data feeds they need.

Open lending/borrowing protocols such as MakerDAO, Compound and Aave use oracles to fetch external data while running on the Ethereum blockchain. MakerDAO is among the most popular DeFi open lending protocols, and its Dai token is pegged to the U.S. dollar and backed by crypto assets.

Related articles

Floki Inu Gains Momentum As Alibaba Recognizes its Utility

Floki Inu Gains Momentum As Alibaba Recognizes its Utility

June 3, 2023
Musk’s alleged price manipulation, the Satoshi AI chatbot and more

Musk’s alleged price manipulation, the Satoshi AI chatbot and more

June 3, 2023

MakerDAO utilizes an oracles module to determine the real-time price of assets. The module is composed of whitelisted addresses of oracles and an aggregator contract. The oracles send periodic price updates to an aggregator that determines a median price, which is then used as a reference price on the platform.

Compound is a money market protocol that allows users to earn interest and/or borrow assets against collateral. Similar to MakerDAO, Compound also uses oracles to gather price information that is then forwarded to its price feed, which is managed and controlled by “administrators” that are holders of Compound’s native token, COMP.

Like the concept of yield farming, there is a new liquidity mechanism that has emerged in decentralized finance (DeFi). It is called flash loans. Flash loans enable users to borrow assets from an on-chain liquidity pool with no upfront collateral as long as the borrowed amount of liquidity, plus a small fee, is returned to the pool within the same transaction.

This innovative design increases access to capital for all users in a variety of use cases while ensuring the full, continuous solvency of the underlying liquidity pool.

For a short period of time — the span of a single transaction — a flash loan can make anyone a very well-capitalized actor, providing access to hundreds of millions of dollars in liquidity.

This creates unique opportunities for arbitrage, collateral swapping, and the creation of leveraged positions, but it also creates certain risks, especially for a nascent ecosystem of protocols with varying degrees of decentralization and security. These risks should be understood by smart contract developers so more robust applications can be built for users.

Protocols that fetch prices from a single source are easily exploitable by malicious actors with a large volume of funds who can manipulate the market with one large trade.

Because flash loans can provide instant and sizable liquidity to anyone in the world, at any point in time, they have increasingly been used to fund attacks on DeFi protocols. However, there is a key distinction to be made here: flash loans only provide funding to execute attacks — the real issue at hand is centralized price oracles that do not offer adequate market coverage.

This article isn’t financial advice and I am not a financial advisor. Do your own research before making any investments.

I truly appreciate everyone that took the time to read my article! I would greatly appreciate everyone’s supports. Each user can clap an article up to 50 times per day!

If you enjoyed reading this, please use all 50 claps! 🙂

Thank you so much.



Source link

ShareTweetShareShare
Previous Post

Zaragoza is the First Spanish City to Release NFTs

Next Post

How to Expand Blockchain Beyond Fintech and Into Factories

Related Posts

Floki Inu Gains Momentum As Alibaba Recognizes its Utility

Floki Inu Gains Momentum As Alibaba Recognizes its Utility

by J_News
June 3, 2023
0

Floki Inu (FLOKI) is taking a giant leap forward in the world of meme assets. In an exciting development, the...

Musk’s alleged price manipulation, the Satoshi AI chatbot and more

Musk’s alleged price manipulation, the Satoshi AI chatbot and more

by J_News
June 3, 2023
0

Top Stories This Week Dogecoin investors accuse Elon Musk of insider trading in amended class-action lawsuit A group of Dogecoin...

What Is KlimaDAO | CoinStats Blog

What Is KlimaDAO | CoinStats Blog

by J_News
June 3, 2023
0

Klima DAO is a decentralized autonomous organization (DAO) and DeFi protocol that aims to combat climate change by using cryptocurrency...

Billions of SHIB Burned for Several Weeks in Row by SHIB Army

Billions of SHIB Burned for Several Weeks in Row by SHIB Army

by J_News
June 3, 2023
0

Yuri Molchan Burn rate of Shiba Inu has demonstrated rise, while billions of SHIB continue to be removed on weekly...

Injective Protocol (INJ) Tallies 23% Price Surge In Past 7 Days

Injective Protocol (INJ) Tallies 23% Price Surge In Past 7 Days

by J_News
June 3, 2023
0

Injective Protocol, a prominent blockchain platform catering to decentralized applications (dApps), has recently gained significant attention due to the notable...

Load More

Enter your email address:

Delivered by FeedBurner

Quick Navigate

  • Home
  • Crypto
  • Crypto Technical Analysis
  • Top News
  • Thank You
  • Store
  • Crypto Vouchers
  • About Us
  • What Cryptocurrency Is and ANKR Price Prediction
  • Cosmos cryptocurrency price prediction

Top News

Milady Meme Coin Price Prediction 2023-2030

Bitcoin Price (BTC) in Stasis Below $27K Ahead of Powell Speech

Peercoin Network Successfully Hard Forks – New Developers Hired

© 2021 mtrushmorecrypto - Crypto Related News Blog

No Result
View All Result
  • Home
  • Top News
  • Crypto
  • Crypto Technical Analysis
  • About Us
  • Crypto Vouchers
  • Cryptocurrency and ANKR Price Prediction
  • Cosmos cryptocurrency price prediction

© 2021 mtrushmorecrypto - Crypto Related News Blog

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT