#vault #cpi #solana

solana_vault_cpi

CPI interface for Solana Vault on Solana blockchain. Provides Anchor CPI bindings for vault operations.

1 unstable release

new 0.1.0 Apr 30, 2025

#31 in #cpi


Used in orderly-connector-rs

MIT license

21KB

solana_vault_cpi

This crate provides a CPI (Cross-Program Invocation) interface for the Solana Vault program, using Anchor framework bindings. It is designed for use in the Orderly Network and related Solana DeFi integrations.

Features

  • Anchor CPI bindings for Solana Vault
  • Compatible with Solana 1.16.x and Anchor 0.28.x
  • Auto-generated CPI interface from idl.json

Usage

Add to your Cargo.toml:

[dependencies]
solana_vault_cpi = "0.1.0" # or latest version

Import in your code:

use solana_vault_cpi::*;

License

MIT

Dependencies

~27–36MB
~612K SLoC