549ad58d61 | ||
---|---|---|
.github | ||
.vscode | ||
javascript | ||
programs | ||
python/switchboardpy | ||
rust/switchboard-v2 | ||
scripts | ||
.gitignore | ||
LICENSE | ||
README.md |
README.md
Switchboard V2
A collection of libraries and examples for interacting with Switchboard V2 on Solana.
Documentation: docs.switchboard.xyz
Getting Started
To get started, clone the sbv2-solana repository.
git clone https://github.com/switchboard-xyz/sbv2-solana
Program IDs
Network | Program ID |
---|---|
Mainnet-Beta | SW1TCH7qEPTdLsDHRgPuMQjbQxKdH2aBStViMFnt64f |
Devnet | 2TfB33aLaneQb5TNVwyDz3jSZXS6jdW2ARw1Dgf84XCG |
See switchboard.xyz/explorer for a list of feeds deployed on Solana.
See app.switchboard.xyz to create your own Solana feeds.
Libraries
Lang | Name | Description |
---|---|---|
Rust | switchboard-v2 [Crates.io, Typedocs] |
Rust crate to deserialize and read Switchboard data feeds |
JS | @switchboard-xyz/solana.js [npmjs, Typedocs] |
Typescript package to interact with Switchboard V2 |
Python | switchboardpy [pypi, Typedocs] |
Python package to interact with Switchboard V2. No longer maintained |
Example Programs
- native-feed-parser: Read a Switchboard feed using Solana's native program library
- anchor-feed-parser: Read a Switchboard feed using Anchor
- anchor-history-parser: Read a Switchboard history buffer using Anchor
- anchor-vrf-parser: Read a Switchboard VRF account and make a Cross Program Invocation (CPI) to request a new randomness value
- anchor-buffer-parser: Read a Switchboard buffer relayer using Anchor
Troubleshooting
- File a GitHub Issue
- Ask a question in Discord #dev-support