A production-grade oracle system for Solana DeFi protocols, providing reliable price feeds for any asset type through a robust multi-tier architecture.
- Multi-Tier Data Sources: CLMM pools → Traditional AMMs → External oracles
- Byzantine Fault Tolerance: Geometric median aggregation with manipulation resistance
- Automated Security: Circuit breakers, liquidity checks, and outlier detection
- Production Ready: Comprehensive governance, monitoring, and upgrade mechanisms
- Solana Optimized: Zero-copy accounts, compute unit management, rent efficiency
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ Primary Tier │───▶│ Secondary Tier │───▶│ Tertiary Tier │
│ CLMM Pools │ │ Traditional AMM │ │ External Oracle │
│ (Raydium/Orca) │ │ (Raydium V2) │ │ (Pyth/Switch) │
└─────────────────┘ └──────────────────┘ └─────────────────┘
│ │ │
└───────────────────────┼───────────────────────┘
▼
┌─────────────────────────┐
│ Price Aggregation │
│ Byzantine Fault Tol. │
│ Confidence Scoring │
└─────────────────────────┘
- Blockchain: Solana
- Framework: Anchor
- Language: Rust
- Math: Q64.64 Fixed-Point Arithmetic
- Security: Multi-signature governance
- cNFT Fractionalization: Accurate pricing for fractionalized compressed NFTs
- Multi-Asset DeFi: Any protocol requiring reliable price feeds
- Cross-Protocol: Bridge between different AMM architectures
- Infrastructure: Foundation for complex DeFi applications
# Clone repository
git clone https://github.com/yourusername/solana-multi-asset-oracle.git
cd solana-multi-asset-oracle
# Install dependencies
npm install
# Build program
anchor build
# Run tests
anchor testContributions welcome! Please read CONTRIBUTING.md for guidelines.
This software handles financial data.
MIT License - see LICENSE for details.LICENSE for details.
Built as part of the SkyTrade cNFT fractionalization project. Special thanks to the Solana DeFi ecosystem.