rusty-crewmates / substrate-tutorials

A collection of exercices to teach yourself Substrate
Apache License 2.0
131 stars 113 forks source link
blockchain rust substrate tutorials

Exercises to learn substrate

Who is this tutorial for?

This tutorial is for developers willing to learn the basics of Substrate development and broaden their skillsets through real-world use cases.

You will need a solid grasp of the Rust programming language before you start to learn Substrate.

Some good entry points to learning Rust πŸ“š    As officially referred to [here](https://www.rust-lang.org/learn), the best paths to get started with Rust are: - The [Rust Book](https://doc.rust-lang.org/book/) (aka "The Book"): the official manual, which is very well written and approachable. - The [Rustlings git repository](https://github.com/rust-lang/rustlings/): a thorough series of exercises. - The [Rust by examples](https://doc.rust-lang.org/stable/rust-by-example/) documentation.    And of course, you should always challenge yourself with a side project or two.

What is Substrate?

Substrate can be described as a blockchain framework β€” specifically, a framework for building customized blockchains. It is built on the Rust programming language, which makes use of novel design patterns to enable the development of code that is safe and fast.

To give some context, Polkadot is a layer-0 protocol and multichain network laying the foundation for the future of Web3. Substrate is the primary blockchain SDK used by developers to create the parachains that make up the Polkadot network.

How to train?

If you want to run your pallet in a real runtime, you can easily edit the substrate-node-template and add your pallet to its runtime.

What's in those exercises?

We designed the exercises to teach you:

If you are stuck, you can always check the solution branch. It's not cheating, just learning πŸ§‘β€πŸŽ“

Thanks to our sponsors

This tutorial is made possible thanks to a grant from the Web3 Foundation. Thanks a lot to them!