hackquest logo

Commodities Oracle

CommodityOracle A decentralized oracle system for commodity price data on the blockchain, featuring secure signature-based price updates and a consumer contract for easy price queries.

视频

描述

CommodityOracle

CommodityOracle is a decentralized oracle system that provides commodity and RWA price data on-chain.
It uses signature-based updates to securely push off-chain prices to smart contracts, and a consumer contract to easily read those prices.

What this project does

本次黑客松进展

Progress During Hackathon Designed the overall Commodities / RWA Oracle architecture Implemented the CommodityOracle smart contract with: Signature-based price updates Replay protection Timestamp (staleness) validation Bulk price update support Built the CommodityConsumer contract for: Easy price querying Single and bulk asset reads Convenience functions (e.g. Natural Gas) Integrated off-chain price data format aligned with real commodity APIs Deployed both contracts on Sepolia (Mantle) testnet Added support for 100+ assets including commodities, stocks, indices, ETFs, and FX Created an interactive table listing all supported assets and their feed IDs Documented usage examples for: Reading prices Updating prices securely Designed a Commodities Oracle logo and architecture diagrams

技术栈

Node
Solidity
队长
DDev3Role
赛道
DeFiSocialFiInfra