# What is RedStone? **Published by:** [JP](https://paragraph.com/@hakresearch-2/) **Published on:** 2024-08-26 **URL:** https://paragraph.com/@hakresearch-2/what-is-redstone ## Content What is RedStone?RedStone is an advanced Oracle protocol designed to provide diverse and reliable data feeds for decentralized applications (DApps) and smart contracts across multiple blockchains. In this article, we will explore, analyze, and evaluate the RedStone project. RedStone Oracles is an advanced Oracle protocol designed to deliver diverse and reliable data feeds for decentralized applications (DApps) and smart contracts on various blockchain platforms. Key Highlights of RedStone Oracles:Modular Design: RedStone uses a modular architecture, enabling easy integration with DApps and smart contracts on various Blockchain platforms.High Scalability: RedStone can handle a large volume of data requests quickly and efficiently, catering to the needs of DApps with high transaction volumes.Security: RedStone employs multiple layers of security to ensure the accuracy and reliability of the data provided.Transparency: RedStone operates transparently, allowing users to track and verify the source of data.Support for Multiple Data Sources: RedStone can access data from various sources, including both real-world data and on-chain information.How It Works**Modular Design:**Directly placing data into memory is the simplest way for smart contracts to utilize information. This approach used to be effective when fewer updates were needed and less data was involved. However, with the rise of new tokens in the decentralized finance (DeFi) sector and the demands of modern systems for faster speeds, this method has become more costly. To address this issue, RedStone has introduced a new design. Initially, data is stored in a separate storage layer and only moved to the Blockchain when necessary. This approach allows for handling more types of assets with higher frequency and at lower costs, only transferring data to the blockchain when required by the protocol.**Data Flow:**Price data feeds are sourced from over 50 platforms such as Binance, Coinbase, Uniswap, and CoinMarketCap. Data is aggregated by independent nodes, then thoroughly checked and validated for quality. These data feeds are broadcast on Streamr and open-source gateways and can be pushed on-chain by relays, bots, or users. Within the protocol, data is unpacked and cryptographically verified, checking both origin and timestamp.**Data Format:**At the highest level, to transmit data into the Ethereum Virtual Machine (EVM) environment, additional data is added to the user's transaction, and these messages are processed on the blockchain.**Data Packing:**Required data is fetched from a decentralized caching layer, provided by the Streamr Network and RedStone cache nodes. This data is packed into specifically structured messages, which are added to the original transaction messages, then signed and sent to the network. **Data Unpacking:**Data packages are extracted from msg.data and processed by verifying signatures from trusted providers and checking timestamps to ensure the information is not outdated. For each required data source, the number of unique signatures is counted, values are extracted from each signature, and a median value is calculated. This process is optimized using low-level assembly code to minimize on-chain gas costs **On-Chain Aggregation:**To enhance the security of the RedStone oracle system, this mechanism requires at least X signatures from different authorized data providers for each data source. Values from different providers are aggregated (usually using the median value) before being sent to user smart contracts. This way, even if some providers fail (e.g., 2 out of 10), it does not significantly impact the aggregated value.ConclusionRedStone Oracles is an advanced oracle protocol with significant potential to address data-related issues within the blockchain ecosystem. However, it also has some drawbacks that should be considered before use. Hopefully, this article provides more insight into what RedStone is and offers a comprehensive and objective perspective on the project. ## Publication Information - [JP](https://paragraph.com/@hakresearch-2/): Publication homepage - [All Posts](https://paragraph.com/@hakresearch-2/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@hakresearch-2): Subscribe to updates