Skip to content
 
 

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

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages