{"repo":"blueshift-gg/doppler","free":true,"listed":false,"github":"https://github.com/blueshift-gg/doppler","clone":"git clone https://github.com/blueshift-gg/doppler.git","description":"The fastest oracle on Solana","language":"Rust","stars":166,"topics":["defi","oracle","price-feed","solana"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"A 21 CU Solana Oracle Program Overview Doppler is an ultra-optimized oracle program for Solana, achieving unparalleled performance at just 21 Compute Units (CUs) per update. Built with low-level optimizations and minimal overhead, Doppler sets the standard for high-frequency, low-latency price feeds on Solana. Features - 21 CU Oracle Updates : The most efficient oracle implementation on Solana - Generic Payload Support : Flexible data structure supporting any payload type - Sequence-Based Updates : Built-in replay protection and ordering guarantees - Zero Dependencies : Pure no std Rust implementation for minimal overhead - Direct Memory Operations : Optimized assembly-level exits for maximum efficiency Installation Add Doppler SDK and required Solana crates to your Cargo.toml : Program ID Architecture Doppler uses a simple yet powerful architecture: 1. Admin Account : Controls oracle updates (hardcoded for security) 2. Oracle Account : Stores the sequence number and payload data 3. Sequence Validation : Ensures updates are monotonically increasing Data Structure Usage Guide 1. Setting Up Compute Budget To achieve the 21 CU performance, configure your transaction with appropriate compute budget: 2. Setting Priority Fees For high-frequency oracle updates, use priority fees to ensure timely inclusion: 3. Optimizing Account Data Size Use setLoadedAccountsDataSizeLimit to optimize memory allocation: 4. Creating an Oracle Update 5. Complete Transaction Example Performance Optimiza","default_branch":null,"files":null,"tree":[],"storefront":"/r/blueshift-gg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/blueshift-gg/doppler/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}