Getting Started
To get started, clone the sbv2-near repository.
git clone https://github.com/switchboard-xyz/sbv2-near
Then install the dependencies
cd sbv2-near
pnpm install
pnpm build
Addresses
- Mainnet
- Testnet
Program Deployment
Below are the mainnet Near addresses associated with the Switchboard deployment.
Account | Address |
---|---|
Program ID | |
Program Authority |
Queues
Queue | Address |
---|---|
Permissionless Queue | The permissionless queue does not require aggregators to have |
Program Deployment
Below are the testnet Near addresses associated with the Switchboard deployment.
Account | Address |
---|---|
Program ID | |
Program Authority |
Queues
Queue | Address |
---|---|
Permissionless Queue | The permissionless queue does not require aggregators to have |
Clients
Lang | Name | Description |
---|---|---|
Rust | sbv2-near | A Rust crate to deserialize and read a Switchboard data feed within a NEAR contract. |
Javascript | @switchboard-xyz/near.js | A Typescript client to interact with Switchboard on NEAR. |
Example Programs
Lang | Name | Description |
---|---|---|
Rust | feed-parser | Read a Switchboard feed on NEAR" |
Troubleshooting
- File a GitHub Issue
- Ask a question in Discord #dev-support