Bringing Data To Blockchain
How FLUXNET Brings Data to the Blockchain
Pull-Based Oracle Mechanism
FLUXNET employs a pull-based oracle model, where the data is fetched only when requested by the consumer contract. This approach contrasts with traditional push-based oracles that continuously send data to the blockchain, often leading to inefficiencies and higher costs.
Benefits of Pull-Based Oracles:
Efficiency: Reduces unnecessary data updates, saving on gas fees.
Timeliness: Ensures the most recent data is used at the time of request.
Customization: Allows for specific data requests tailored to the application's needs.
FLUXNET Nodes and Off-Chain Data Aggregation
The FLUXNET network consists of decentralized nodes that are responsible for:
Listening for Data Requests: Nodes monitor the blockchain for data request events emitted by consumer contracts.
Fetching Data from External Sources: Upon detecting a request, nodes retrieve the required data from verified external APIs or data providers.
Data Aggregation and Verification: Nodes may aggregate data from multiple sources to enhance reliability and perform cryptographic verification to ensure data integrity.
Returning Data to the Blockchain: Nodes send the fetched data back to the oracle contract on the blockchain, which then makes it available to the consumer contract.
Last updated