Skip to content

Switchboard V2 SDK for the Solana Blockchain

License

Notifications You must be signed in to change notification settings

mrgnlabs/sbv2-solana

 
 

Repository files navigation

Switchboard V2

A collection of libraries and examples for interacting with Switchboard V2 on Solana.

Test Status Anchor Test Status Crates.io NPM Badge

Discord Twitter

Documentation: docs.switchboard.xyz

Getting Started

To get started, clone the sbv2-solana repository.

git clone https://github.com/switchboard-xyz/sbv2-solana

Then install the dependencies

cd sbv2-solana
pnpm install
pnpm build

Program IDs

Network Program ID
Mainnet-Beta SW1TCH7qEPTdLsDHRgPuMQjbQxKdH2aBStViMFnt64f
Devnet SW1TCH7qEPTdLsDHRgPuMQjbQxKdH2aBStViMFnt64f

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

Troubleshooting

  1. File a GitHub Issue
  2. Ask a question in Discord #dev-support

About

Switchboard V2 SDK for the Solana Blockchain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 73.1%
  • Python 19.8%
  • Rust 6.5%
  • Other 0.6%