Price Feeds
SDKs

SDKs

The pyth-sdk-cw (opens in a new tab) (github (opens in a new tab)) crate provides Rust interfaces for the Pyth CosmWasm contract for use in on-chain applications.

Off-chain users can use any cosmwasm SDK. The Typescript examples in the documentation use @cosmjs/cosmwasm-stargate (opens in a new tab).

Installation Instructions

Add the SDK to your project by adding the following dependency to your Cargo.toml file:

[dependencies]
pyth-sdk-cw = "1.0.0"
Last updated on