Native Exercises

A technical guide to Native Cross Program Invocations - Orchestrate smart contract composability by creating a factory program that remotely initializes and increments a counter. Master the low-level construction of Borsh-serialized instructions and account metadata to execute secure calls using the native invoke function.

Rust Developer

Solana

1. Anchor Exercises
A practical guide to Anchor Cross-Program Invocations - Orchestrate smart contract composability by building a factory program that drives an external counter via CPI. Master the workflow of importing IDLs with declare_program macros and constructing context-aware invocations to execute specific remote instructions. Reading Time: 0min
2. Native Exercises
A technical guide to Native Cross Program Invocations - Orchestrate smart contract composability by creating a factory program that remotely initializes and increments a counter. Master the low-level construction of Borsh-serialized instructions and account metadata to execute secure calls using the native invoke function. Reading Time: 0min

Course Overview

About the course

What you'll learn

Native Rust & Anchor framework

PDAs, CPIs, and SPL Tokens

DeFi builds: oracles, auctions, AMMs

Course Description

Meet your instructors

Tasuku Nakamura

Tasuku Nakamura

Founder at smartcontract.engineer

Smart contract engineer and educator.

Last updated on January 12, 2026