Skip to main content

Switchboard Logo

Switchboard x Aptos

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

NPM Badge

Getting Started

To get started, clone the sbv2-aptos repository.

git clone https://github.com/switchboard-xyz/sbv2-aptos

Then install the dependencies

cd sbv2-aptos
pnpm install

Addresses

Program Deployment

Below are the mainnet Aptos addresses associated with the Switchboard deployment.

AccountAddress
Program ID
Program Authority
StateAddress

Queues

QueueAddress
Permissioned Queue

The permissioned queue requires aggregators to have PERMIT_ORACLE_QUEUE_USAGE permissions before using the queue's resources.

Permissionless Queue

The permissionless queue does not require aggregators to have PERMIT_ORACLE_QUEUE_USAGE permissions before using a queue's resources. This is the default queue when building feeds in the publisher.

Clients

LangNameDescription
MoveswitchboardA Move module to interact with Switchboard on Aptos.
Javascript@switchboard-xyz/aptos.jsA Typescript client to interact with Switchboard on Aptos.

Example Programs

LangNameDescription
Movefeed-parserRead a Switchboard feed on Aptos"

Troubleshooting

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