DIA's oracle is now running on Midnight Network ($NIGHT), giving applications on the chain access to 25 asset price feeds. Protofire, which built and operates the deployment, said in a case study that the feeds update every 5 to 30 seconds.
Lending and trading applications on Midnight can read market prices from the chain without building and running their own feeds. Builders on the network can also apply to DIA's Oracle Grants Program, which covers oracle costs for up to 12 months.
How the Oracle Was Built
Protofire said DIA's oracle could not be redeployed unchanged because Midnight is not an EVM chain. Its team rewrote the contract logic in Compact, Midnight's smart contract language, and rebuilt the off-chain feeders on the MidnightJS SDK. The firm said the full deployment took 61 days from start to live feeds.
The feeders pull market data from several independent sources, including DIA and Lumina, so that no single provider is a point of failure, according to Protofire. The deployment is containerised so additional operators can run the same feeder image, and monitoring tracks feeder health, update frequency and price consistency across sources. Protofire described 100+ assets as a design target for the architecture, not a figure it has delivered.
bsc.news