Originally published byDev.to
Every time I got liquidated in DeFi, I had one question β
was that price actually fair?
There's no way to verify. So I built PythReceipt.
What it does
PythReceipt creates an immutable, on-chain receipt for every
liquidation β stamped with Pyth Network's live oracle data
at the exact moment of execution.
The Confidence Gate
Before any liquidation executes, PythReceipt checks Pyth Pro's
confidence interval:
- Confidence < 0.2% β β Liquidation allowed
- Confidence 0.2-0.5% β β οΈ Warning shown
- Confidence > 0.5% β π΄ Liquidation blocked
The Receipt
Every successful liquidation generates:
- On-chain Solana transaction
- Live Pyth price at exact moment
- Confidence interval value
- Best Bid / Best Ask
- Downloadable JSON proof
Tech Stack
- Next.js 14 + TypeScript
- Solana Devnet + Anchor
- Pyth Pro Lazer WebSocket
- Vercel
Try it: https://pyth-receipt.vercel.app
GitHub: https://github.com/rajdeblol/PythReceipt
πΊπΈ
More news from United StatesUnited States
NORTH AMERICA
Related News
Backfilling Is Harder Than Scraping: Lessons From Rebuilding 6 Months of Missing Data
April 1, 2026

How to Build an Android Document Scanner with Auto-Capture and PDF Export
April 1, 2026
OpenClaw Workspace Architecture: The File System That Makes Agents Smart
April 1, 2026
How Ubiquitous Language Can Solve Your Miscommunication Issues
April 1, 2026
SpaceX Starlink Satellite Suffers Mysterious 'Anomaly' In Orbit
April 1, 2026