Skip to content

Lil github repo of an oracle example. Had a hard time finding one so thought i would compile all the tutorials together.

Notifications You must be signed in to change notification settings

hussletoshi/solana-price-feed-oracle-example

Repository files navigation

This guide assumes you have all the tools needed to run anchor programs

Including Rust, Solana-cli and all related tools, npm and yarn, and anchor / avm.

Instructions

anchor build

and

npm i

Run the following command to get your deployment key

solana-keygen pubkey ./target/deploy/hello_pyth-keypair.json

Replace the system program key 111...111 with the key you get, in /programs/hello-pyth/lib.rs (declareid section) and anchor.toml

Following that run

anchor deploy and anchor test

About

Lil github repo of an oracle example. Had a hard time finding one so thought i would compile all the tutorials together.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published