Local development with Solana, Rust, Python and Django REST

Build and deploy Solana programs locally, invoke them from a Python client.

Ratings: 5.00 / 5.00




Description

Local Solana Development with Rust, Python and Django REST framework

This course introduces you to building Solana smart contracts (aka programs) locally using Rust. We will invoke those programs using Python clients and build a Django REST API that interfaces with the local Solana cluster.

It is a fast-paced course aimed at facilitating the transition from web2 to web3 development with Solana.

We'll first brush up on some web3 knowledge covering concepts such as keypairs, wallets, JSON-RPC and PoH. This is followed by a compact primer on Rust for web3 purposes. Here we'll learn about Structs, Enums, Macros and Traits, commonly used in program development.

We'll then start building Solana programs and deploying them to a local Solana cluster. These programs range from a simple "Hello world!" to one that allows you to store data on the cluster using PDAs (Program Derived addresses).

After program deployment, we'll attempt to invoke them from Python. This includes sending data that the Solana program will store on the blockchain.

In the final lecture, we will build a Django REST API that, unlike web2 applications that interface with a database on the backend, will interface with the Solana cluster to write data on the blockchain.

What You Will Learn!

  • Learn about web3-related Rust concepts
  • Write Solana programs with Rust
  • Invoke Solana programs from a Python client
  • Learn how to store data on the blockchain using PDAs
  • Send data to the Solana program from the Python client
  • Build a Django REST wrapper that interfaces with the Solana cluster on the backend

Who Should Attend!

  • Web2 developers wanting to make the switch to web3 development and Solana in particular
  • Developers curious about developing Rust Solana programs
  • Python or Django developers building clients that interact with the Solana blockchain