Search…
⌃K

Pyth on Cosmwasm

Consume Pyth Network prices in applications on Cosmwasm
Cosmwasm contracts can update and fetch the Pyth prices using the Pyth Cosmwasm Contract, deployed on their network. The documented source code can be found here.

Updating Price Feeds

The mechanism by which price feeds are updated on Cosmwasm is explained here. The pyth-common-js can be used to fetch the latest price feed data which then can be passed to the ExecuteMsg, on-chain function.

Examples

Networks

Pyth is currently available on the following cosmwasm chains:

Testnet

Network
Contract address
Injective
inj1z60tg0tekdzcasenhuuwq3htjcd5slmgf7gpez

Price Feeds

Network
Available Price Feeds
Cosmwasm Testnet