Back to feed
Dev.to
Dev.to
7/16/2026
Arc 11 Catch-Up: Composing Solana Programs with CPIs

Arc 11 Catch-Up: Composing Solana Programs with CPIs

Short summary

This tutorial covers Cross-Program Invocations (CPIs) on Solana, explaining how programs call other programs to perform operations they don't own — like transferring SOL via the System Program or minting tokens via Token-2022. CPIs preserve Solana's security model where owner programs control their own state, while executing atomically within the same transaction. The article walks through privilege boundaries, signer authority propagation, and PDA-based authority for more advanced CPI patterns.

  • CPIs let Solana programs call other programs while preserving ownership boundaries and atomic execution
  • Signer authority and writable access cannot be escalated during a CPI — they must exist in the outer transaction
  • PDA-controlled authority enables programs to sign inner instructions without a wallet signer

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more