Search across all documentation pages
11 pages in this section.
How Solana programs call other programs - account passing, invoke vs invoke_signed, depth limits, System and Token CPIs, reentrancy, and composability.
Learn cross-program invocation (CPI) basics with 10 Rust examples. Call programs, build instructions, clone AccountInfo, and propagate CPI errors.
Distinguish between invoke and invoke_signed for cross-program invocations. Learn when to use each for secure program interactions and PDA-signed transactions.
Learn to correctly pass accounts in Solana cross-program invocations (CPIs). Understand account ordering, signer flags, writability, and privilege escalation.
Learn how to use Cross-Program Invocations (CPI) with the System Program to create accounts, transfer SOL, and manage account rent.
Learn to perform SPL Token operations like transfer, mint, and burn using Cross-Program Invocations (CPI) in Rust, including key validation checks.
Learn best practices for secure, efficient, and maintainable cross-program invocations (CPIs) in Agave, including safety, efficiency, and operational guidelines.
A single-page roundup of every highlight bullet from the 10 pages in the CPIs section, grouped by source page so you can scan all 57 takeaways without opening each article individually.