Lesson: Cross-Program Invocations (CPIs)
Chapter 1: What are CPIs
Lesson 6: Cross-Program Invocations (CPIs)
Chapter 1: What are CPIs?
CPIs let one program call another, enabling modular and composable Solana applications.
Key Points:
Think of CPIs as inter-program function calls.
Used for tasks like token transfers.
Require careful account validation.
Interactivity: Simulate a CPI between two programs and trace the call flow.
Last updated