Chainlink-compatible oracle infrastructure for Somnia
L1 blockchain infrastructure
In 2025 Somnia was a new high-throughput L1 with a growing developer ecosystem and no standardized oracle layer. Without trusted price feeds and verifiable randomness on the network, teams could not safely build lending markets, DEXs, derivatives, or on-chain games, because those applications depend on external data and provably fair randomness that a chain does not produce on its own.
Somnia contracted Protofire to close that gap. Within 92 days, Protofire designed and deployed a Chainlink-compatible oracle stack: OCR-based price feeds for USDC, ETH and BTC on mainnet, a cluster of five oracle nodes running OCR consensus, and VRF-based randomness infrastructure.
The feeds aggregated market data from multiple external providers into on-chain prices. It gave developers a shared data layer without each team operating its own oracle infrastructure, and Protofire operated it after launch until the engagement ended in late 2025.
“A price feed is only useful if the whole ecosystem treats it as the reference.”
How Protofire built Somnia's oracle infrastructure
Protofire delivered the stack Chainlink's model calls for, adapted to Somnia's operational setup. We deployed OCR-based price feeds for USDC, ETH and BTC, each aggregating data from multiple external providers, with on-chain aggregator contracts that delivered prices to Somnia smart contracts.
Off-chain, we ran a cluster of five oracle nodes participating in OCR consensus, in isolated infrastructure so a single node failure would not stop reporting. For randomness, we deployed VRF Coordinator, subscription, and wrapper contracts, giving gaming and NFT applications randomness through interfaces developers already knew.
We also shipped operational tooling and documentation for the operators. Because the interfaces matched Chainlink's, a team familiar with Chainlink price feeds could integrate without learning a new API.
Results
Protofire operated the price feeds and the node cluster after launch until the engagement ended in late 2025.
Proof pack
The price-feed work is public: somnia-price-feeds is Protofire's Hardhat project with the feed contracts, deployment tasks, and documentation. The wider engineering history sits in the Protofire GitHub org.
Technology stack
Chainlink OCRon-chain aggregator contractsVRF Coordinator/subscription/wrapperHardhatdistributed node cluster
FAQ
Did Protofire build Chainlink?
Is this the same as the Somnia explorer case?
What did Protofire deliver?
Get a proposal
Tell us what you are building. An engineer reads it, we have a short call, and the written proposal follows within one business day.