Solana Explained: Accounts, PDAs, CPIs & Anchor CRUD Demo

Author: Francesco Ciulla
Published At: 2025-04-30T00:00:00
Length: 14:43

Summary

Description

Get started with the official Solana Documentation here: https://solana.com/docs

Ready to dive deep into Solana development?

This video is your guide to understanding the absolute essentials: Accounts, Program Derived Addresses (PDAs), and Cross-Program Invocations (CPIs). We'll explore Solana's unique architecture, uncovering why its programs are stateless and how they securely manage data and permissions using these core concepts. Whether you're new to Solana or seeking to solidify your understanding, mastering these fundamentals is key to building effectively on the platform.

In the first part of the video, we explain these core ideas. Then, we switch gears and get hands-on! Follow along as we use the powerful Anchor framework to build, deploy, and test a practical CRUD (Create, Read, Update, Delete) application from scratch using Rust. You'll see exactly how Accounts, PDAs, and program interactions work in a real coding scenario, including setting up the project, writing the Rust code, and testing it with a TypeScript script.

This tutorial is perfect for developers new to Solana, those coming from chains like Ethereum who want to understand the differences, or anyone looking for a practical, step-by-step Anchor coding demo.

The full code shown in the demo is available on GitHub - https://github.com/FrancescoXX/solana-demo-1

0:00 Introduction

0:35 How Solana works under the hood

3:11 PDA: Program Derived Address

3:54 CPI: Cross Program Invocation

5:23 Recap

5:56 Demo - Introduction to Anchor, project initialization

7:00 lib.rs file - functions definition

9:40 Testing the application - TypeScript script

12:00 Final test

ALL THE LINKS HERE: https://francescociulla.com

Translated At: 2025-07-02T18:50:26Z

Request translate (One translation is about 5 minutes)

Version 3 (stable)

Optimized for a single speaker. Suitable for knowledge sharing or teaching videos.

Recommended Videos