Skip to content

switchboard-xyz/near-sdk

Repository files navigation

Switchboard Logo

Switchboard x NEAR

A collection of libraries and examples for interacting with Switchboard on Aptos.

Crates.io NPM Badge

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

The following addresses can be used with the Switchboard deployment on Near

Mainnet

Account Address
Program ID switchboard-v2.near
Program Authority sbv2-authority.near
Permissionless Queue Ztup1aJ8WTe81RZHx7nUP9zxUMrDe9r2TyTCzRzpRoY

Testnet

Account Address
Program ID switchboard-v2.testnet
Program Authority sbv2-authority.testnet
Permissionless Queue HFSJrvA1w2uhciLGLUfE4sADGwGBpUiAjxZPgeFSs61M

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

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

About

Switchboard V2 SDK for the NEAR Blockchain

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages