Rise Rust SDK
rise/rust publishes a single Rust library crate for interacting with Phoenix.
Published Crate
- Crate name:
phoenix-rise - Rust import path:
phoenix_rise
[]
= "0.1.1"
Optional features:
solana-keypairfor examples and auth/signing flows that use local Solana keypairsed25519-dalekfor service-account signing helpersrust_decimalfor decimal-backed helpers
Source Layout
The published phoenix-rise crate is assembled from:
- high-level HTTP, WebSocket, auth, and transaction-building flows in
sdk/src/ - API wire types in
types/src/ - instruction builders in
ix/src/ - market and margin math in
math/src/
Examples live in sdk/examples/ and are wired through the root package.
Examples
Examples that use a local Solana keypair require solana-keypair:
Examples that do not need that feature can be run directly:
Basic Usage
use ;