docs.rs failed to build streak-api-0.1.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
streak-api-0.1.4
streak-api
Shared types, constants, instruction layouts, Pyth helpers, and off-chain sdk builders for STREAK on Solana.
Protocol site: streak.market.
This crate is intended for:
- On-chain programs that depend on
solana-programand compile against the same instruction/state definitions. - Clients (bots, CLIs, servers) that build transactions with
solana_sdk; use matching major versions of Solana crates as your RPC stack.
Contents
consts— program id, PDAs seeds, treasury / executor addresses, timing limits.state—Treasury,Ledger,Market,Positionaccount layouts (Steelaccount!).instruction— discriminators and typed instruction payloads used by the program.sdk— helpers that assemblesolana_program::instruction::Instructionwith the correct account metas (mirror on-chain ordering comments in the program).error—StreakErrorcodes shared with the program.
Settlement math and Pyth decoding helpers live under settlement / pyth for parity with on-chain checks.
Usage
Add to Cargo.toml:
= "0.1.0"
Depend on solana-program (and optionally solana-sdk off-chain) versions compatible with your deployment.
License
MIT — see the repository license file.