solana-developers / solana-cookbook

https://solanacookbook.com/
624 stars 344 forks source link

docs: added switchboard docs #372

Closed anoushk1234 closed 2 years ago

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
solana-cookbook ✅ Ready (Inspect) Visit Preview Jun 16, 2022 at 9:10AM (UTC)
gallynaut commented 2 years ago

Can we modify the page structure so it looks like this:


## Data Feeds
### How to Read Feed in Program
### How to Read Feed on Client Side
### How to Create Feed on Client Side
### How to Create Feed from Publisher

## Verifiable Randomness
### How to Read VRF Account in Program
### How to Read VRF Account on Client Side
### How to Create VRF Account on Client Side
### How to Request Randomness on Client Side
### How to Request Randomness in Program

## Localnet Integration
Switchboard allows you to run an oracle on localnet so you can simulate your on-chain workflow. Check out [Switchboard’s developer docs](https://docs.switchboard.xyz/developers/localnet) for more information.

## Resources
### APIs and Libraries
 - [Switchboard Task Types](https://docs.switchboard.xyz/api/tasks)
 - [Rust API Docs](https://docs.rs/switchboard-v2/latest/switchboard_v2/)
 - [Typescript API Docs](https://docs.switchboard.xyz/api/ts)
 - [Python API Docs](https://docs.switchboard.xyz/api/py)
 - [CLI Docs](https://docs.switchboard.xyz/api/cli)
### Examples
 - [[Client] Custom Data Feed Walkthrough](https://github.com/switchboard-xyz/switchboard-v2/tree/main/packages/feed-walkthrough)
 - [[Program] Anchor Feed Parser](https://github.com/switchboard-xyz/switchboard-v2/tree/main/programs/anchor-feed-parser)
 - [[Program] Anchor VRF Parser](https://github.com/switchboard-xyz/switchboard-v2/tree/main/programs/anchor-vrf-parser)
### More Information
 - [Protocol Documentation](https://docs.switchboard.xyz/introduction)
 - [SuperteamDAO Deep Dive](https://crawling-cent-d6b.notion.site/The-Switchboard-Deep-Dive-717df6ba0b92465e8118351466257a0f)
anoushk1234 commented 2 years ago

@gallynaut @jacobcreech so this good to go?

anoushk1234 commented 2 years ago

hey @jacobcreech when will this get merged?