Thanks everyone for the feedback. Zealynx’s security notes and Victor’s Gaia PR have already moved this forward. This post may become a signaling proposal asking Cosmos Labs to take on the engineering and long-term maintenance of a native price oracle for the Hub. Before that, here is a full picture: who needs it, what it costs, how to fund it, how it compares to the competition, and the questions validators and Cosmos Labs would need to answer.
What this post answers from the thread so far
@Zealynx
- Freshness: every query returns the price, height, timestamp and pair status, so contracts can enforce a maximum age (section 11).
- Participation: below the 2/3 threshold, the price is not updated and grows stale. It is never updated from a handful of validators (section 2).
- Listing: listing requires minimum liquidity and at least 3 independent sources, because the median doesn’t protect against a thin market (section 9).
- IBC consumers: the spec should state that they add relay delay and inherit the Hub validator set as a trust assumption, and recommend tighter maximum ages for them (section 4).
- Aggregation: we would keep Slinky’s stake-weighted median at launch, and focus the audit on the aggregation logic and the module that stores and serves prices (section 5).
- Push vs pull: we follow your hybrid: push for the core collateral pairs, pull or proofs for the rest, plus one shared CosmWasm library for freshness and status checks (section 11).
@Ignismeow
- The cost is real, and section 6 puts numbers on it. It is mostly human time, and the reward pool is designed to cover it (sections 7 and 9).
- Why every block, even empty ones: a liquidation can be needed in any block. When ATOM drops 20%, a lending market can’t wait for someone to submit a fresh price.
- Why validators and not only contracts: a contract-level (pull) oracle depends on an external signer. Pyth now requires an API key, and its upgraded infrastructure supports EVM chains, Solana and Sui by default. With pull, the verification logic also ends up copied into every app, which is where mistakes tend to happen, as Zealynx noted. A push oracle gives every contract the same price, secured by Hub stake. For long-tail assets, pull remains the right tool, hence the hybrid.
@ATOM-Renaissance
- Why doesn’t Cosmos Labs just deploy it? Because Connect isn’t plug-and-play: the code is archived, it requires a Gaia upgrade and an incentive layer, and someone has to run the market map (sections 2 and 5). That is exactly what the signaling proposal would ask Cosmos Labs to take on (section 13).
@Grey.0516
- On the cost, we agree with your core argument. You estimated about 200 bytes of price data per block; once validator signatures are counted, our estimate is closer to tens of KB per block. That is still negligible for a pruned validator (section 6).
@Victor118
- On SEDA, we agree it’s a complement for custom data rather than a source of continuous price feeds. Your PR is how we would import custom and TradFi data with proofs (section 8).
1. The problem
CosmWasm is now permissionless on the Hub, but contracts have no price oracle they can readily use. Pyth’s upgraded infrastructure supports EVM chains, Solana and Sui by default. SEDA’s official solvers only target EVM chains, and Band over IBC is slow and charges a fee on every query.
Without prices, there is no serious DeFi. Example: a lending protocol accepts ATOM as collateral. If ATOM drops 20%, it needs to know immediately so it can liquidate positions in time. Without a reliable, up-to-date price it cannot work, so it deploys on another chain.
2. Connect: how it works and where it stands
The idea is simple. Each validator runs a small program next to its node (the “sidecar”) that fetches prices from several exchanges. Validators attach these prices to their consensus votes, and they are written into the next block. A price only updates if 2/3 of stake reports it, and the Hub takes the stake-weighted median. If less than 2/3 of voting power agrees, the price is not published, and if that lasts several blocks in a row, it becomes increasingly stale. The price is never updated from a handful of validators.
State of the code:
- The skip-mev/connect repo has been archived and read-only since March 24, 2025, flagged End of Life with an invitation to fork it. GitHub lists it as Apache-2.0, but the README still carries the old BSL notice. The license needs to be confirmed.
- It is not a smart contract. It is a set of ABCI++ handlers (vote extensions, proposal, preblock), the sidecar, and the x/oracle and x/marketmap modules. Integrating it requires a Gaia upgrade.
- The README lists only x/oracle and x/marketmap as modules: no reward or penalty module. Older Slinky docs did describe an optional x/sla module that applies small slashes when a validator doesn’t meet a price-update SLA. They also described an x/alerts module: an alerter posts a bond to flag a network-wide wrong price, and a trusted “concluder” network rules on it. Both were off by default and set by governance.
- dYdX maintains its own fork, rolled back to the pre-rename Slinky codebase. Its validator docs make the sidecar mandatory and state that running it cannot get you slashed. A node still participates in consensus without it. These docs describe no penalty for not running it.
- Skip, which built Connect, was acquired by the ICF in December 2024 and renamed Interchain Inc., then became Interchain Labs and finally Cosmos Labs. Nobody is better placed to bring it to the Hub.
3. Who needs it
Hub builders, not just small independent apps
- hATOM, the native liquid staking token being built on the Hub. Its ATOM redemption rate lives in Hub state, so no oracle is needed for that. But as soon as a protocol lends USDC against hATOM, it needs the USD price of ATOM to liquidate in time, and that price is not on the Hub. For other chains, Stride has shown the way with its ICA Oracle, which sends its stTokens’ redemption rate to CosmWasm contracts on other chains.
- Hydro. The Hydro team has offered to act as a curator for Hub products, using its rebalancing and cross-chain deployment infrastructure. It also mentions, as a later-stage integration, an underwriting layer through Riptide: allocators would lock ATOM as collateral to back the Community Pool’s decisions to buy or deploy Hub-issued assets. Valuing these positions and this collateral requires prices.
- Demand has existed before. Wandering_Cosmonaut points out that collateralized stablecoins (Agoric, Kujira, Secret) and lending protocols (Injective, Mars, Umee) had real users, with ATOM as a major asset. None of that lending or stablecoin activity was built on the Hub. Contracts are now possible; what’s missing is prices.
Cosmos Labs’ product directions
Cosmos Labs stresses that these directions are still being validated and are not a roadmap.
- The rails under consideration include cross-chain accounting and pricing. The first products mentioned are indices whose redemption rate rises as the basket earns, and which can be held, traded or posted as collateral on any IBC-connected chain. Assets would be minted and redeemed at their value. All of this assumes prices.
- By Cosmos Labs’ own account, collateral use is what makes an asset take off: USDe went from zero to $10B and syrupUSDC to $1B once they could be posted as collateral. And there is no collateral without a reliable price.
- Among the roles Cosmos Labs wants to test, validators would operate the pricing, accounting and relaying these assets require, as new fee-earning work for the active set. That is exactly what Connect does.
- qxnico, from the Hub team, explained that these rails and first products can be built as modules and IBC work, without a general-purpose VM. Connect is precisely a module.
Institutions
- At a later stage, the directions include tokenized stocks, funds and bonds, usable as collateral where protocols accept them. Example: a tokenized Treasury fund accepted as collateral needs its net asset value (NAV) published continuously, otherwise no loan or liquidation can be computed.
- What an institution gets: prices backed by validator-signed votes included in every block, auditable on-chain, with no dependency on a single vendor.
Tokenomics
Gauntlet’s Phase 2 recommendations, still under review, outline a path where the Hub issues less and replaces that issuance with revenue distribution. As Victor noted, if products earn fees in USDC while the target is set in ATOM, computing the gap requires a price source.
4. Why a native oracle
- The Hub’s own security. An analysis published on the Cosmos blog argues that Slinky is robust up to 1/3 corrupted stake, and that oracle faults are attributable to individual validators. That makes them slashable, provided a penalty mechanism is added. No external relayer, no extra trust assumption.
- An interchain service. A chain with a Hub light client could verify Hub prices with an ICS-23 proof, provided it lets its contracts verify proofs, which is what Victor’s PR #4196 does for the Hub. The Hub could become the price source for chains that have no oracle. Those chains add relay delay and inherit the Hub validator set as a trust assumption, so the spec should recommend tighter maximum ages for them.
- Proven experience. Hub validators ran the Slinky sidecar for Neutron under ICS, and Prop 931 set aside 360,000 NTRN from the Community Pool to reward their uptime during the beta.
- Other data later.
5. Risks
- Maintenance. Forking end-of-life code means owning it: security fixes, SDK and CometBFT upgrades. It’s up to Cosmos Labs, the team that wrote this code, to maintain it.
- Consensus risk. Neutron halted in January 2025 because of a non-deterministic query to its built-in Slinky oracle, made by a contract during its instantiation. That is exactly the surface we would open to CosmWasm. After the September incidents, Cosmos Labs listed as a criterion that nothing coming to the Hub may widen its attack surface. The scope must therefore stay minimal. We would keep Slinky’s stake-weighted median at launch, and focus the audit on the aggregation logic and the module that stores and serves prices.
- Operations. Skip’s real product wasn’t just the code. For Neutron, Skip provided 1-day SLAs for adding new feeds and 24/7 on-call support. If Cosmos Labs doesn’t take over that role, managing the list of markets (the “market map”) becomes the weak point. As Zealynx pointed out, the median protects against a few dishonest validators, not against a thin market.
- Validator load. It’s one more service to run, and it weighs more on small validators (estimates in section 6).
- Cost to holders. Cosmos Labs is a subsidiary of the ICF: if development is done in-house, the cost to the Community Pool is zero. The real cost is time: every month of engineering spent on the oracle is a month less on other Hub workstreams.
- TradFi data. Prices for stocks or funds require licensed data. Validators can’t fetch them for free, and other oracles have made this their business (section 8).
6. What it costs validators (estimates, to be confirmed on testnet)
Assumptions: 180 active validators, a block roughly every 5.75 seconds, so about 15,000 blocks per day, and 10 to 20 pairs.
- Hardware: next to nothing. According to the dYdX docs, a Connect instance fetching 125 markets used about 50 MB of memory and 6% of the CPU on an M3 MacBook Pro, and it can run on the same machine as the validator.
- Data sources: $0 for the core pairs, which can be fed by the public APIs of major exchanges. On-chain sources, such as DEX pools on Solana or EVM chains, require paid RPCs. For dYdX validators, Skip and the dYdX team pre-paid these endpoints.
- Data in blocks (our estimate). At every block, each validator adds its vote extension signature and metadata (about 100 bytes) plus about 15 bytes per pair. Before compression, that’s roughly 45 KB per block for 10 pairs and 70 KB for 20 pairs. For a regular validator that prunes its history, this is negligible. For an archive node (RPC, explorer), it means about 240 to 390 GB more per year.
- Human time, the real cost (our estimate). Setup takes 2 to 4 hours, then 1 to 2 hours per month for upgrades and alerts. At $75 an hour, that’s about $1,000 to $2,000 per year per validator.
- Network total: $180,000 to $360,000 per year. This cost is almost fixed: it depends on the number of validators far more than on the number of pairs.
7. Incentives and penalties
- Missing prices: at launch, rewards only. Once the oracle is stable, jailing or small x/sla-style slashes for validators that don’t post. A grace period for each new pair, and network-wide incidents excluded.
- Wrong prices: no individual penalty for deviating from the median. An honest validator using different sources would be punished, and everyone would end up copying the median. Instead, publish deviation dashboards. Slashing is reserved for network-wide failures, and only if the concluder trust model is acceptable.
- Rewards: a flat amount per validator that meets the uptime threshold, not weighted by stake, so small validators aren’t pushed out. It is paid on-chain from a pool funded by fees (section 9). Example: a $300,000 yearly pool split among 180 validators gives each about $1,670, in line with the estimated cost of running it.
8. Against the competition
What others do:
- Pyth. Since the Pyth Core upgrade on August 26, 2026, Pyth’s Hermes API requires an API key. Plans start at $500 per month with the Starter plan, covering crypto, NAV, crypto redemption rates and crypto indices with 1-second updates. Pro bundles range from $2,500 per month for crypto to $10,000 for all asset classes. According to a Pyth community post, a standard listing costs $20,000 to $30,000 per feed.
- SEDA. SEDA Fast access starts at $1,000 per month. A dedicated oracle program costs $1,000 to deploy, and bespoke equity pricing with weekend prices costs $10,000 one-time.
- Chainlink. There is no single public price list: custom feeds require direct commercial engagement. Often, the chain pays. Through the SCALE program, a chain covers the operating costs of Chainlink oracle networks on its network for a period of time. Celo, for instance, proposed allocating nearly 6 million CELO from its Community Fund over three years.
Why apps wouldn’t pay with us. A price published in every block can be read by any contract: there is no way to filter who reads it. Pyth can charge for access because apps fetch its signed prices through its API. Chainlink usually relies on a sponsor. With us, whoever requests the listing pays.
Where the Hub would sit:
- For an app reading prices: free. An app fetching Pyth updates needs at least the $500 monthly plan, or $6,000 a year, and an app using SEDA Fast at least $12,000 a year. This is the strongest argument to attract builders, and the timing is good: Pyth’s prices became paid in August.
- For an issuer: a cheaper listing, and free integration for apps. On Pyth, a listing costs $20,000 to $30,000, and every app that wants to read the price needs its own plan (which covers many feeds). On the Hub, the issuer pays $15,000 in the first year ($5,000 listing and $10,000 maintenance), and apps pay nothing. That removes a barrier for every app that wants to integrate the token.
- A cheaper listing, but a justified one. Pyth distributes to dozens of chains, the Hub only to itself and IBC chains. It’s a price that matches the service, not a giveaway.
- For TradFi data: we don’t compete, we import. Victor’s PR would let a Hub contract verify, with a proof, data that exists on another chain with a light client on the Hub, such as dYdX prices or SEDA results. He notes it’s a bit slow for price feeds. This suits NAVs and slow-moving data better than fast prices, and imports remain subject to each provider’s redistribution terms.
- The money stays in the ecosystem. A chain joining SCALE pays an external oracle network. On the Hub, the same spending pays its own validators.
9. Business model
The goal: cover the estimated $180,000 to $360,000 yearly network cost. The grid below is a starting point, to be set by governance and reviewed every year against measured costs.
| Service |
Price |
Example |
| Core pairs (ATOM, BTC, ETH, USDC, USDT) |
Free |
A public good for the whole Hub |
| Listing a new pair |
$5,000 one-time |
A Cosmos project wants its token priced |
| Pair maintenance |
$10,000 per year |
Renewable by anyone |
| NAV of a Hub-issued asset |
0.01% of assets per year, $10,000 minimum, $50,000 cap |
$200M index: $20,000; $1B fund: $50,000 |
Three simple rules:
- The requester pays for the listing. Usually that’s the token issuer, which gains the most from its token becoming usable as collateral.
- Anyone can pay all or part of a renewal: the issuer, a lending protocol, a DAO, another chain.
- A pair that isn’t renewed is only removed after 90 days’ notice (section 10).
People reading the price without paying aren’t a problem. The goal isn’t to make every reader pay, it’s to cover the cost of the pair. If nobody wants to pay for it, the pair isn’t listed, and those who need it use pull mode or proof-based import. The Hub doesn’t need to list everything.
Other points:
- Listing criteria: minimum liquidity and at least 3 independent sources. Fees also act as an anti-spam filter, since every pair costs every validator.
- hATOM doesn’t need a dedicated pair for its redemption value: its rate lives in Hub state and is combined with the ATOM price. A protocol may still want a market price, since hATOM can trade below its redemption value under stress.
- Payment: in USDC, or in ATOM at the oracle price. 100% of fees go to the validator reward pool.
- IBC delivery: a subscription for chains that want prices pushed over IBC rather than handling proofs themselves.
Let’s be realistic about revenue. Even the market leader earned little from on-chain usage and listings. According to the Pyth Core-to-Pro migration proposal, Pyth Core generated about $9,000 per month from update fees, compared with about $108,000 for Pyth Pro subscriptions. The same community post puts Pyth’s listing revenue at more than $300,000 since 2025.
Example on the Hub: 10 paid pairs ($100,000) and 3 Hub-issued assets of $200M each ($60,000) give $160,000 per year. That’s still below the low cost estimate of $180,000. The model will therefore rely mainly on pricing Hub-issued assets, which will grow with Cosmos Labs’ products. Until then, bootstrapping is needed: Cosmos Labs or the ICF fund the pool for 12 to 24 months, until fees take over.
Then there’s the indirect value, probably the biggest: ATOM and hATOM used as collateral, Hydro vaults that can be valued, and activity that stays on the Hub instead of moving to Injective or dYdX.
10. Delisting a pair: what happens to users
For a regular token holder, nothing changes: they keep their tokens and can still trade them. The risk is for those using the token as collateral. If the price stops, two cases:
- The contract checks price age. It rejects a stale price, and everything freezes, including liquidations. If the token drops in the meantime, the protocol accumulates bad debt.
- The contract doesn’t check price age. This is worse: it keeps using the last price. If the token has lost 50% elsewhere, someone can borrow the maximum against overvalued collateral and leave the loss to the protocol.
Hence a four-step delisting procedure:
- On-chain announcement. The pair moves to “sunsetting” status, with an end date 90 days out. Protocols read this directly in the price query and can react automatically.
- Protocols reduce their exposure. They block new borrowing against the token, then gradually lower the allowed loan-to-value ratio.
- Users have 90 days to repay, withdraw their collateral, swap it for an asset that’s still listed, or move their position to another chain.
- On the end date, the last price is frozen with “delisted” status. Protocols switch to repay-only mode, or to a price imported with proof from another oracle.
In practice, a pair that’s actually used will rarely be delisted. During the notice period, anyone can pay for the renewal, and whoever has the most to lose has every reason to do so. Example: a lending protocol holds $2M of token X as collateral across 200 borrowers. Winding that market down cleanly would cost it work, users and reputation. Paying $10,000 to renew is far cheaper.
11. Initial scope
- Validator-published prices for a short list: ATOM, BTC, ETH, USDC, USDT and the main ATOM LSTs.
- hATOM valued through its on-chain redemption rate and the ATOM price.
- NAV of Hub-issued assets, as soon as they exist.
- Other pairs and TradFi data imported in pull mode or with proofs from other oracles. Until launch, Victor’s PR, once merged, would already allow importing dYdX prices.
- Every query returns the price, height, timestamp and pair status (active, sunsetting, delisted), so contracts can reject stale prices and anticipate a delisting.
- One shared CosmWasm library for freshness and status checks, so each app doesn’t write its own verification logic.
12. Questions for validators
Validators would run this every day, so their input comes first.
- Would you be willing to run the sidecar?
- Do the cost estimates in section 6 match your experience? Those who ran it for Neutron are especially welcome to share numbers.
- Which reward and penalty model would you support: flat rewards with an uptime threshold, jailing, small slashes?
- Would a reward of around $1,670 per year cover your cost, or what would it take?
13. Questions for Cosmos Labs
A price oracle is a basic building block the Hub should have had a long time ago. Cosmos Labs leads the Hub and built Connect, so the signaling proposal would ask Cosmos Labs to take it on. Nothing is decided yet, so these questions are open:
- Does a native oracle fit your vision for the Hub, given that your rails already plan for cross-chain pricing?
- Would Cosmos Labs be willing to take on the engineering and long-term maintenance: code, market map, new feeds and on-call support, as Skip did for Neutron?
- Would it be compatible with your Hub safety criterion and performance roadmap? Could you measure the validator load from section 6 on testnet?
- Could Cosmos Labs or the ICF fund the validator reward pool for the first 12 to 24 months, until fees take over?
- What timeline would you consider realistic, audit included?
14. Next step
Depending on the answers, I’ll turn this post into a signaling proposal asking Cosmos Labs to take on the engineering and maintenance of the native oracle.