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
Fetches commodity prices off-chain
Verifies them on-chain using cryptographic signatures
Stores latest prices securely
Allows other contracts to read prices easily
You can view all asset IDs here:
https://raw.githack.com/Kali-Decoder/CommodityOracle/main/docs/commodityTable.htmlMain contract: CommodityOracle
Key features
Signature-based price updates
Replay protection
15-minute staleness check
Supports bulk updates
Owner-controlled signer
Important functions
updateCommodityPriceupdateCommodityPricesBulkgetLatestPrice
Here are the direct links to both deployed contracts that you shared (on Sepolia via MantleScan):🔗 CommodityOracle Contract
👉 https://sepolia.mantlescan.xyz/address/0xE370b43b3405148E6D5Aff0F1DB151C6C17c3051
🔗 CommodityConsumer Contract
👉 https://sepolia.mantlescan.xyz/address/0x0eba74872672ee3FC81E55239967BFF142E52fC7