RedStone Quick Guide
  • Guide
    • 让我们一起更好了解RedStone
    • Selected materials for learning RedStone
    • How to earn RSG points in a correct way
    • Places to Check data & facts on RedStone
    • Let's try to know how to run a RedStone Node
    • Getting Started with RedStone X
    • Getting Started with Redstone Core
    • Getting Started with Redstone Classic
    • 2 quick ways to check your RSG points
    • 两种快速查询RSG积分的方法
    • RedStone再质押报告核心观点导读
  • Articles
    • Liquid Staking Unveiled: A Simple Guide:TL;DR for RedStone's LstFi report
    • TL;DR for RedStone's great 2023 Market Overview on Stablecoins
    • The Emergence of Real World Assets in DeFi
    • Introducing RedStone's New Tokenomics Model for Data Sharing
    • RedStone's other parts:aggregation & safety and others
    • The Pillars of RedStone's Data Ecosystem
    • RedStone - A Short intro to the New Era of Oracles for Modern DeFi
    • RedStone: Innovating DeFi Data Flow Through Modular Design
    • TL;DR for RedStone Miners Ambassador Program
    • An interesting short Case Study:RedStone Integrates with Venus Protocol
    • An interesting short Case Study-2:RedStone Integrates with Lido
    • An interesting short Case Study-3:RedStone Integrates with Fuel to Unlock New DeFi Capabilities
    • An interesting short Case Study-4:RedStone Integrates withFortifies Premia Blue
    • An interesting short Case Study-5:RedStone Integrates Angle
    • An interesting short Case Study-6:CIAN Transforms Automation with RedStone Oracles Integration
    • An interesting short Case Study 7:RedStone Oracles ✖️ Avalanche Evergreen & Spruce Testnet
    • An interesting short Case Study-8:RedStone Oracles & Vesta Finance's
    • An interesting short Case Study-9:RedStone Oracles X Voltz
    • An interesting short Case Study-10:RedStone Oracles X Mento
    • An interesting short Case Study-11:RedStone Oracles X Yield Yak
    • RedStone X StakeWise Case Study: A Simplified Overview
    • Why did Google report wrong pice-A simplified explanation for non-tech readers
    • RedStone X Ton: An interesting short Case Study-12
    • RedStone X Manta: An interesting Short Case Study 14
    • A quick case study for how Oracle Projects(RedStone) integrates with DeFi projects
    • TL:DR for RedStone's Restaking Reports
    • A tale of two RedStones-Coexist Confirmed
    • RedStone X zkLink:A quick case study
    • RedStone X Ether.fi: A case to explore
Powered by GitBook
On this page
  1. Articles

RedStone: Innovating DeFi Data Flow Through Modular Design

PreviousRedStone - A Short intro to the New Era of Oracles for Modern DeFiNextTL;DR for RedStone Miners Ambassador Program

Last updated 1 year ago

RedStone: Innovating DeFi Data Flow Through Modular Design

In the rapidly evolving landscape of Decentralized Finance (DeFi), data accessibility and efficiency have become paramount. As the DeFi ecosystem expands and embraces a diverse array of assets and protocols, the demand for seamless, real-time data flow has grown exponentially. RedStone, a pioneering platform, has risen to the challenge, introducing a groundbreaking approach that redefines data flow through a modular design.

Modular Design: The Evolution of Data Accessibility

Traditionally, direct storage of data served as a straightforward method to make information accessible to smart contracts. This approach was effective for relatively larger update intervals and a limited number of assets. However, the relentless expansion of token diversity in DeFi, coupled with the demands of modern derivative protocols requiring ultra-low latency, has inflated the maintenance costs associated with this simplistic model.

In response, RedStone has introduced a radical shift in its design philosophy. A new modular approach has been conceived, where data enters a data availability layer before being fetched on-chain. This innovative strategy allows for the efficient broadcasting of a multitude of assets at high frequencies to a more cost-effective layer. Crucially, the data is moved onto the blockchain only when explicitly needed by the protocol, reducing unnecessary strain on the network.

The Flow of Data: Orchestrating Precision and Integrity

The heart of RedStone's innovation lies in its seamless data flow, facilitated by a multi-source approach. Price feeds emanate from a plethora of origins, encompassing off-chain decentralized exchanges (DEX'es) like Binance, Coinbase, and Kraken, as well as on-chain DEX'es such as Uniswap, Sushiswap, and Balancer. Notably, aggregators like CoinmarketCap, Coingecko, and Kaiko further enrich the data stream.

Central to the process are independent nodes operated by data providers. These nodes amalgamate data from disparate sources using methodologies like median, time-weighted average price (TWAP), and linearly-weighted average price (LWAP). Rigorous safety measures, including outlier detection, are integrated to ensure data quality. The cleaned and processed data is then authenticated through cryptographic signatures by node operators, affirming its integrity.

Broadcasting the Insights: Open Source Gateways and On-Chain Push

RedStone embraces democratization by broadcasting its verified feeds through StreamR and open-source gateways. This accessibility empowers developers to spin off gateways on demand, reducing entry barriers.

Data integration into the blockchain occurs through diverse pathways. Dedicated relayers, operating under predefined conditions like heartbeat or price deviation, facilitate on-chain data transfer. Alternatively, bots can contribute by executing actions such as liquidations. Notably, end users themselves can push data on-chain by interacting with the protocol directly, amplifying the platform's user-driven nature.

Catering to Diverse Demands

RedStone's modular design also extends to its integration models. Depending on the specific needs of smart contract architectures and business requirements, three distinct approaches are offered:

  • RedStone Core: Dynamic data injection into user transactions maximizes gas efficiency, ensuring a seamless user experience within a single transaction.

  • RedStone Classic: Designed for protocols following the traditional Oracle model, this approach pushes data onto the chain via a relayer, offering full control over data sources and updates.

  • RedStone X: Tailored for advanced protocols like perpetuals, options, and derivatives, RedStone X eliminates front-running risks by delivering precise price feeds in the block following user interactions.

In the dynamic landscape of DeFi, RedStone stands as a beacon of innovation. Through its modular design and intricate data flow orchestration, it harmonizes efficiency, accessibility, and security, embodying the essence of decentralized finance's potential.