#热门话题
一篇文章说清楚预言机的问题与Redstone的解决思路
What is an oracle:
A type of middleware that enables communication between the blockchain and off-chain systems (such as data providers, cloud providers, IoT devices, and payment systems) is called an oracle. Smart contracts on various blockchains, including Ethereum, can use data delivered by oracles to decide whether to execute a protocol or command. Oracles provide frequently updated, reliable, and diverse data sources for DApps and smart contracts, allowing developers to do innovative work without the limitations of middleware.

Why use oracles:
Because smart contract Q cannot actively obtain data outside the chain, it can only passively accept data.

Current status of oracle machine:
The decentralized nature of blockchain prevents it from having data as a built-in feature and importing or exporting data from any external system. Blockchain nodes must remain in an isolated sandbox and therefore cannot directly access legacy services or produce data internally. Without this data, they cannot execute contracts such as determining the outcome of insurance policy payouts, determining financial settlements, knowing when to release or settle payments, and this is known as the “oracle problem.”
In the early days of blockchain, each protocol was trying to create its own proprietary oracle solution, but building an oracle was not simple and often led to many hacker attacks. So protocol users began to migrate to professional solutions.
然而,目前区块链为解决预言机问题而采取的流行方法是将所有数据直接保存在链上,以便在单一交易的背景下提供信息。但这种方法维护成本高昂,尤其是以太坊,它在设计上倾向于低延迟计算,严重惩罚任何输入/输出操作,如存储。这些成本迫使协议集中资金,使用相同的设置,不能根据自己的需求定制数据。
Restone solution:
In order to solve the problems of traditional oracles, RedStone adopts a new design to make oracles more practical, more economical, and adapt to the needs of modern DeFi protocols.
1. Affordable storage: RedStone leverages Arweave’s new generation blockchain storage technology to minimize the cost of storing large amounts of data. Arweave’s storage costs are much lower compared to chains like Ethereum. Low-cost operations allow RedStone to process more data and update it more frequently.
2. Get on demand: One of the innovations of RedStone is how it delivers data to various chains. Rather than uploading information to the blockchain every few minutes like most oracles do, the data is stored on Arweave and then made available to nodes and partners like Streamr via a decentralized public cache. DeFi project. Only when the data is actually needed, the EVM-Connector will inject the data into the target chain, which greatly improves efficiency and control of latency.
3. Data integrity: RedStone requires each data provider to use RedStone tokens as collateral to ensure that they can continue to provide high-quality data. Anyone can question the source of the data, and if the data is found to be misleading or false, the provider will lose part of the staked tokens.
4. Cross-chain oracle solution: RedStone’s data is cryptographically signed by the provider and can be verified on any chain that supports basic encryption primitives. RedStone’s data, although stored on the Arweave chain, can be used with any other blockchain, which separates storage from use.
