Tutorials

If you are someone who likes to learn by doing, the Substrate tutorials are a great place to start your journey. Tutorials don't provide much background about why you are performing certain steps or explain the coding details. Instead, the tutorials give you hands-on experience performing the tasks essential to building your own blockchain and focus on ensuring a successful result.

If you prefer to experiment on your own with less guidance, you might want to explore the Substrate Playground. If you prefer to dig into the details of the code directly, you might want to start with the Rust API documentation. But if you want to start your journey with a guided tour, try out the following tutorials.

Build a blockchain

The Build a blockchain tutorials illustrate the basics for working with blockchains nodes and networks, including how to make nodes communicate with each other in a network of peers and how to collect metrics about node operations. You'll learn how to:

  • Build a local node in your development environment.

  • Simulate a two-node network using predefined accounts.

  • Start a small network of trusted validator nodes.

  • Monitor node operations by collecting metrics.

  • Upgrade the runtime for a node.

Build application logic

The Build application logic tutorials focus on how you can customize the runtime using pallets, including how to add simple and complex pallets to the runtime and how to use pallets in combination with smart contracts. You'll learn how to:

  • Add a simple predefined pallet to the runtime.

  • Create a custom pallet using macros.

  • Specify the account to use as the originator of a function call.

  • Add an offchain worker and submit transactions using an offchain worker.

  • Publish a custom pallet for others to use.

Last updated