Skip to main content
LCX Exchange
购买加密货币市场交易
产品
代币化
现实世界资产框架
代币销售
独家数字资产产品
奖励中心
轻松获得数字激励
Trading Competition
争夺独家奖品
为什么 LCX?
关于
您的可信加密网关
LCX 代币
用于无缝交易的实用代币
合作伙伴
值得信赖的合作者网络
更多
功能
VIP
顶级用户的高级福利
可持续发展影响报告
代币碳足迹指标
赚钱
7% 固定收益率
附属机构
合作并共同获利
促销
推荐
推荐并赚大钱
代币信息
详情、价格和效用
Campaigns
每周赢大奖!
见解
新闻和公告
资源
API 文档
参考文档
常见问题与支持
快速简便地解决查询
教程
逐步学习
DEFI 和代币化合作伙伴
Toto Finance
Tokenizing Real-World Assets
MasterDEX
去中心化交易所
探索自由链
登录
注册
vip-icon
VIP 俱乐部
登录
← 见解
Learning Center

Blockchain Oracles: An Overview

通过 LCX Team · April 26, 2022

Oracles enable the decentralized Web 3.0 ecosystem to gain accessibility to legacy systems, data sources, and enhanced computations.…

Oracles enable the decentralized Web 3.0 ecosystem to gain accessibility to legacy systems, data sources, and enhanced computations. DONs (Decentralized oracle networks) enable the formation of hybrid smart contracts, which merge on-chain code and off-chain resources to accommodate advanced decentralized applications (dApps) that respond to real-world occurrence and interconnect with traditional systems.

For instance, let’s presume Nina and Toby wish to bet on the result of a sports match. Nina bets $30 on team A and Toby bets $40 on team B, with the total of $70 kept in escrow by a smart contract. How does the smart contract know regarding the release of the funds to Nina or Toby when the game ends? The answer to this question is that it needs an oracle mechanism to retrieve accurate match results off-chain and provide it to the blockchain in a protected and reliable way.

Why Are Oracles Needed?

With a blockchain like Ethereum, each node in the network must rewind each transaction and ensure a very similar result. APIs allow for the introduction of feasibly variable data. In case  you used a price API to transmit ETH depending on the agreed approved $USD value, the query would revert back a separate result from day to day. Not to mention the possibility of the API being hacked or abandoned. If this occurs, the network’s nodes will be unable to accept Ethereum’s present state, eventually breaking consensus.

Oracles resolve this issue by storing data on the blockchain. As a result, any node rewinding the transaction will utilize the similar immutable data that has been publicly posted. To accomplish this, an oracle is typically composed of a smart contract and some off-chain elements that can query APIs and then send transactions to upgrade the smart contract’s data on a regular basis.

What is the Oracle Problem?

Let’s step back and remind ourselves why we’re developing on-chain in the first place. Decentralization is a significant cause we do anything on-chain. Nevertheless, data must originate somewhere.

Unless we import information from an individual API, source, or node we have effectively eliminated the entire point of utilizing blockchain in the very first place. A centralized oracle signifies that one entity has control above your smart contract, and no longer your smart contract is superior to a regular contract. So if the centralized oracle has the desired impact, we’ve all seen attacks in which a centralized oracle is hacked, outdated, attacked, or not maintained, and disaster ensues.

What’s the Solution?

Decentralized Oracle

The use of a centralized entity to transfer information to a smart contract in a blockchain oracle mechanism introduces a point of failure, trouncing the complete purpose of a decentralized blockchain application. Unless the single oracle fails, the smart contract will either not have accessibility to the data needed for implementation or will be enforced incorrectly based on stale data.‍

Worse, in case the single oracle is manipulated, the data delivered on-chain may be extremely incorrect, resulting in smart contracts executing extremely incorrect outcomes. This is known as the “garbage in, garbage out” problem because bad inputs result in bad outputs. Furthermore, even though the transactions on blockchain are automated and unchanging, a smart contract result  depending on faulty data cannot be overturned, implying that user funds may be lost in perpetuity. As a result, centralized oracles are out of the question for smart contract applications.

To genuinely overcome the oracle issue, decentralized oracles are needed to avoid data manipulation, imprecision, and downtime. To achieve end-to-end decentralization, a or DON (Decentralized Oracle Network), incorporates various independent Oracle node operators and numerous reliable data sources.‍

In the end, availability of diversified and credible data is required for smart contracts to be an excellent form of agreement. And that’s why we need Oracles like LCX Price Oracle.

LCX

关于 LCX 的更多信息

  • 关于我们
  • 职业生涯
  • 联系我们
  • 见解
  • Crypto Prices
  • 自由链
  • LCX 漏洞赏金计划

产品

  • LCX 代币
  • LCX 费用
  • Apply for Listing
  • 申请代币销售
  • 反馈表

合法

  • 费用
  • 文件
  • 品牌和商标
  • 隐私政策
  • 服务条款
  • 许可证和版本说明

买入指南

  • 购买 BTC
  • 购买 ETH
  • 购买 XRP
  • 购买 SOL
  • 购买 ADA
  • All Buying Guides >>
  • Crypto Prices >>

支持

  • 常见问题与支持
  • 支持中心

联系我们

hello@lcx.com

LCX AG
Herrengasse 6
9490 Vaduz
Liechtenstein

使用 LCX 进行交易

扫描下载 LCX 应用程序

FMA Liechtenstein

注册的可信技术服务提供商编号:288159

LCX AG成立于2018年,是一家在列支敦士登公国的注册公司,注册号为FL-0002.580.678-2。LCX AG受列支敦士登金融市场管理局监管,注册号为288159,是一家值得信赖的技术服务提供商。交易比特币等数字资产涉及重大风险。

LCX AG © 2018 - 2026. All Rights Reserved

Telegram
X (Twitter)
Instagram
LinkedIn
YouTube
Facebook