Pyra Instructions
Instruction builders for the Pyra protocol on Solana. This crate provides functions to construct Solana instructions and transactions for all Pyra program operations.
Usage
Add this to your Cargo.toml:
[]
= "0.2"
Modules
user— User-facing instructions: account initialization, spend limit updates, and Drift setupadmin— Admin instructions: spend settlement, refunds, and account closuredrift— Drift protocol instructions: deposits, withdrawals, swaps, and order fulfillmentoperations— Composite operations that bundle multiple instructions into transactions
License
This project is licensed under MIT license.