# Modular Design of RedStone

By [Zipka](https://paragraph.com/@sashadich) · 2025-02-25

---

RedStone is introducing revolutionary changes to the blockchain oracle landscape thanks to its innovative modular architecture, which provides unprecedented flexibility, efficiency, and scalability for decentralized applications (dApps). By decoupling data delivery mechanisms and offering customizable integration models, RedStone empowers developers to tailor data feeds to their specific needs, optimizing performance and cost-effectiveness.

**Modular Architecture of RedStone**

Traditional oracles often operate as monolithic systems, periodically sending data on-chain. This approach can lead to inefficiencies such as high gas costs and latency. In contrast, RedStone's modular structure offers a more flexible method, allowing for multiple data consumption models that can be adapted to meet the unique requirements of each protocol.

**Key Components of the Modular Design**

1.  **Data Availability Layer (DAL):**
    
    *   _Off-Chain Data Storage_: RedStone stores data in an off-chain availability layer, where it is aggregated, signed, and saved. This approach ensures quick access to data without the need for immediate on-chain recording, reducing unnecessary gas expenses.
        
2.  **Customizable Data Feeds:**
    
    *   _Diverse Data Sources_: Developers can choose from a wide range of data streams, including price information for various assets, creating unique solutions tailored to specific tasks.
        
3.  **Flexible Integration Models:**
    
    *   _Adaptive Strategies_: RedStone offers various integration methods so protocols can select the most suitable option for their operational needs.
        

**Integration Models in RedStone's Modular Framework**

RedStone's modular design supports three primary data consumption models, each addressing different application requirements:

1.  **RedStone Core (Pull Model):**
    
    *   _Mechanism_: In this model, data is requested from the DAL only when necessary. Smart contracts request the latest data, which is then provided along with the transaction, ensuring the use of the most up-to-date information.
        
    *   _Advantages_:
        
        *   _Cost Efficiency_: Reduces the need for on-chain data storage, lowering gas costs.
            
        *   _Timeliness_: Ensures access to the freshest data upon request.
            
    *   _Use Cases_:
        
        *   _DeFi Protocols_: Where real-time data is crucial for operations like lending, borrowing, and trading.
            
2.  **RedStone Classic (Push Model):**
    
    *   _Mechanism_: Data providers send updates directly to the blockchain at predetermined intervals. This model resembles traditional oracle systems but is enhanced by RedStone's modular capabilities.
        
    *   _Advantages_:
        
        *   _Simplicity_: Easy implementation with regular on-chain updates.
            
        *   _Reliability_: Consistent data availability on-chain.
            
    *   _Use Cases_:
        
        *   _Applications Requiring Continuous Data_: Such as price feeds for stablecoins or reference rates.
            
3.  **RedStone Extended (Customizable Model):**
    
    *   _Mechanism_: Combines elements of both pull and push models, allowing developers to define specific conditions for data transmission or retrieval, optimizing factors like frequency, latency, and cost.
        
    *   _Advantages_:
        
        *   _Flexibility_: Customizing data delivery to meet the exact needs of the application.
            
        *   _Optimization_: Balancing between on-chain and off-chain data processing to achieve desired performance metrics.
            
    *   _Use Cases_:
        
        *   _Complex dApps_: Requiring fine-tuned data consumption processes, such as derivatives platforms or multi-chain applications.
            

**Benefits of RedStone's Modular Design**

*   **Scalability**: The modular approach allows RedStone to operate smoothly across over 70 blockchains, including both EVM and non-EVM chains, facilitating broad adoption and interoperability.
    
*   **Customization**: Protocols can select and configure data streams and delivery methods according to their operational needs, enhancing functionality and user experience.
    
*   **Cost Efficiency**: By minimizing unnecessary on-chain data storage and transactions, RedStone significantly reduces operational costs for dApps.
    
*   **Rapid Adaptation**: The flexible architecture enables quick adaptation to emerging market needs, such as supporting new asset types like liquid staking tokens (LSTs) and liquid restaking tokens (LRTs).
    

**Conclusion**

The modular design of RedStone represents a significant step forward in oracle technology, addressing the limitations of traditional systems by providing a flexible, efficient, and scalable solution for decentralized data delivery. By offering multiple integration models and customizable data feeds, RedStone empowers developers to create sophisticated dApps that can adapt to the rapidly evolving blockchain landscape.

For more detailed information and technical documentation, visit RedStone's official website.

[https://blog.redstone.finance/2024/07/27/what-is-redstone-modular-oracles-for-defi/?utm\_source=chatgpt.com](https://blog.redstone.finance/2024/07/27/what-is-redstone-modular-oracles-for-defi/?utm_source=chatgpt.com)

---

*Originally published on [Zipka](https://paragraph.com/@sashadich/modular-design-of-redstone)*
