Go to file
Conner Gallagher c7a19be3e0 chore(rust-sdk): published v0.1.22
- fixes vrf_close CPI
2023-03-15 12:15:43 -06:00
.github fix(gha): added matrix for node versions 2023-03-09 14:01:33 -07:00
.vscode added SwitchboardTestContextV2 2023-01-17 21:01:28 -07:00
javascript fix(solana.js): vrfAccount awaits removal of websocket subscription 2023-03-13 17:06:45 -06:00
programs feat(vrf-parser): add action to close VRF account with CPI 2023-03-15 12:08:48 -06:00
python/switchboardpy build(deps): bump certifi in /python/switchboardpy 2022-12-07 23:49:12 +00:00
rust/switchboard-v2 chore(rust-sdk): published v0.1.22 2023-03-15 12:15:43 -06:00
scripts updated program examples 2023-01-18 20:17:40 -07:00
.gitignore fix gitignore 2023-01-06 11:11:51 -07:00
LICENSE cleaned up package.json, tsconfig.json, and misc build configs 2022-05-25 12:38:29 -06:00
README.md chore(vrf-parser): add example showing how to load switchboard queue 2023-03-13 16:57:54 -06:00
package.json chore: added github action for anchor example programs 2023-03-09 12:04:25 -07:00
pnpm-lock.yaml chore(vrf-parser): add example showing how to load switchboard queue 2023-03-13 16:57:54 -06:00
pnpm-workspace.yaml chore: migrate to pnpm workspaces 2023-03-08 15:47:17 -07:00

README.md

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 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

Troubleshooting

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