en
Back to the list

DIA Oracle Goes Live on Midnight Network With 25 Asset Price Feeds

source-logo  bsc.news 22 m
image

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.

Latest from BSCN

Know when your
coins move

Alerts, real-time prices, and market news — all in one app
qr-code Point your phone camera to install
4.8 based on 40K reviews in the App Store and Google Play

What It Means for Midnight

Price data is a basic requirement for lending and trading products, so a working oracle removes one dependency for teams that want to launch on the network. The grants programme lowers the cost of using it in the early period, which matters for small teams.

The network has recently been building out its institutional and payments side, including talks with banks over tokenized deposits and a memorandum with WEA JAPAN and Netstars on Japan stablecoin payments. Both would depend on reliable pricing. The open question is how many independent operators join the feeder set, since Protofire's design relies on that to avoid single points of failure. Earlier this week, zkSecurity's zkGolf also added a Midnight circuit optimisation challenge.

Source: Protofire case study on DIA oracle for Midnight

bsc.news