Protocol
Oracle-free pricing
Prices come from HyperCore itself, with manipulation resistance built in.
Instead of relying on external price oracle providers, Aethr retrieves market data directly from HyperCore. The price engine reads:
- Current asset prices
- Best bid and ask
- Bid-ask spreads
- Order book depth
- Available market liquidity
- Estimated execution prices
- Market volatility
#The reference price
A native order book is not assumed to be manipulation-proof. Aethr's reference price is the median of three HyperCore sources:
- the spot mid price,
- the time-weighted spot mid,
- the HyperCore perp oracle.
A spoofed spot book moves one of them; a real move moves two. When spot disagrees with the others, the confirming sources are re-read immediately so a genuine repricing is followed within one polling tick.
#Safeguards
| Flag | Triggered when |
|---|---|
STALE | Data is older than the freshness bound |
THIN | Bid depth within 2% of mid is below the market's minimum |
WIDE_SPREAD | The spread exceeds the market's maximum |
DEVIATION | Mid, reference or perp oracle disagree beyond the allowed band |
A flagged asset is frozen for new borrowing. On-chain, the HyperCoreRiskFeed enforces a staleness bound, a per-report price clamp and a window limit, and a guardian can freeze any market.
#Try it
curl https://aethr-api.vercel.app/v1/prices/WHYPE
curl "https://aethr-api.vercel.app/v1/prices/UBTC/estimate?side=sell&size=10"