Skip to content

Instantly share code, notes, and snippets.

View 0xCipherCoder's full-sized avatar

0xCipherCoder

View GitHub Profile
@0xCipherCoder
0xCipherCoder / switchboard_on_demand.rs
Last active February 13, 2025 16:19
Switchboard on demand example code
// Cargo.toml
switchboard-on-demand-client = "0.2.12"
num-traits = "0.2.19"
solana-client = "2.1.9"
solana-sdk = "2.1.9"
// switchboard.rs
use crate::oracle::types::{OracleError, OracleProvider};