Skip to main content
Back to course
Log in
Get started
Someone wanted to learn this too, so Grasp built them a personal learning path.
Create your own
Solana development by 2026
ยท
Module 7
Core Anchor Patterns: CPIs and PDAs
1
Cross-Program Invocation (CPI) Explained
Explain the concept of a Cross-Program Invocation (CPI) for program-to-program communication.
Explain the concept of a Cross-Program Invocation (CPI) for program-to-program communication.
2
Creating an Account with CPI
Perform a CPI to the System Program to create a new account.
Perform a CPI to the System Program to create a new account.
3
Transfer SOL Using CPI
Perform a CPI to the System Program to transfer SOL between accounts.
Perform a CPI to the System Program to transfer SOL between accounts.
4
Understanding Program Derived Addresses (PDAs)
Explain the purpose of Program Derived Addresses (PDAs) for creating program-controlled accounts.
Explain the purpose of Program Derived Addresses (PDAs) for creating program-controlled accounts.
5
PDA Derivation and Bump Seed Explained
Derive PDAs using seeds and a program ID, and explain the role of the bump seed.
Derive PDAs using seeds and a program ID, and explain the role of the bump seed.
6
Anchor: Initialize an Account at a PDA
Initialize a new account at a PDA address using Anchor constraints.
Initialize a new account at a PDA address using Anchor constraints.
7
Signing CPIs with `invoke_signed` and PDAs
Sign a CPI using a PDA by calling `invoke_signed`.
Sign a CPI using a PDA by calling `invoke_signed`.
Previous module
Anchor Framework Fundamentals
Next module
Working with Solana Tokens: SPL and Metaplex