Skip to content

Latest commit

 

History

History
96 lines (76 loc) · 4.7 KB

README.md

File metadata and controls

96 lines (76 loc) · 4.7 KB

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