Go to file
Conner Gallagher 50e580cdd4 wip 2023-05-08 21:24:37 -06:00
.docs wip 2023-05-08 20:33:32 -06:00
.github fix: gha 2023-03-20 09:20:12 -06:00
.vscode fix: removed oracle import from solana.js for browser compatibility 2023-03-23 09:28:41 -06:00
javascript wip 2023-05-08 21:24:37 -06:00
programs chore: README 2023-04-26 12:14:41 -06:00
python/switchboardpy chore: migrated devnet program to same pubkey as mainnet (#100) 2023-03-16 16:28:06 -06:00
rust/switchboard-v2 wip 2023-05-08 21:24:37 -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: README 2023-04-26 12:14:41 -06:00
package.json chore: added github action for anchor example programs 2023-03-09 12:04:25 -07:00
pnpm-lock.yaml js-sdk: uprev 2.1.10 2023-04-19 11:16:34 -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 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