Learning Step-by-Step
We've made two learning paths to teach you how to build on Radix, one for if you want to make full stack apps (using Scrypto for on ledger components and JS for the front end) and another for if you want to build and connect a front end web app to existing scrypto components.
Scrypto
If you’re only planning to build on ledger (in Scrypto) then follow the full stack path. Sections covering front end interactions are marked as skippable.
Scrypto and Front End
This step-by-step guide will build you up from the very basics of Scrypto all the way through to a full application with a frontend. It is intended to be followed from start to end, but if you’re just looking to achieve specific tasks you can browse the steps by topic below.
The basics of Scrypto package structure and how to use it
| Step | Title | Topic |
| 0 | Getting Rust & Scrypto | Installing the Scrypto toolchain |
| 1 | Run Your First Scrypto Project | Running Scrypto code in the Radix Engine Simulator |
| 2 | Explain Your First Scrypto Project | Scrypto package structure and template code explanation |
An introduction to resource metadata and behaviours
| Step | Title | Topic |
| 3 | Create Your First Custom Resource | Create resources with different metadata |
| 4 | Build a Gumball Machine | Build a simple Gumball Machine blueprint |
| 5 | Give the Gumball Machine an Owner | Ownership and protected methods |
| 6 | Make the Gumball Machine Refillable | The mintable resource behaviour |
Interact with your package on the test network
| Step | Title | Topic |
| 7 | Create and Use Transaction Manifests | Use transaction manifests in the Radix Engine Simulator |
| 8 | Use the Gumball Machine on Stokenet | Deploy a package on the Stokenet test network |
| 9 | Run Your First Front End dApp | Deploy and run a simple front end dapp on Stokenet |
| 10 | Run the Gumball Machine Front End dApp | Deploy and run the Gumball Machine as a front end dapp on Stokenet |
| 11 | Set Verification Metadata | Two way linking metadata for verification |
Non-fungible resources, authorization and advanced resource behaviours
| Step | Title | Topic |
| 12 | Create Your First Non-Fungible | Mint a non-fungible resource |
| 13 | Build a Candy Store | Custom authorization roles |
| 14 | Make Recallable Badges | The recallable and burnable resource behaviours |
Interaction between blueprints
| Step | Title | Topic |
| 15 | Build a Multi-Blueprint Package | Modularise packages into smaller blueprints |
| 16 | Create Owned Components | Compare owned and global components |
| 17 | Use External Blueprints | Use blueprints that aren’t a part of your package |
| 18 | Use External Components | Use components that aren’t a part of your package |
Testing
| Step | Title | Topic |
| 19 | Explain Your First Test | Understand and run the tests on the Hello template blueprint |
| 20 | Test a Multi-Blueprint Package | Unit and integration tests |
DEX example
| Step | Title | Topic |
| 21 | Run the Radiswap dApp | Deploy and run a simple two resource DEX |
Front End
If you are only looking to build a front end for a preexisting scrypto package you will gain the most from the following sections:
| Step | Title | Topic |
| 9 | Run Your First Front End dApp | Deploy and run a simple front end dapp on Stokenet |
| 10 | Run the Gumball Machine Front End dApp | Deploy and run the Gumball Machine as a front end dapp on Stokenet |
| 11 | Set Verification Metadata | Two way linking metadata for verification |
| 21 | Run the Radiswap dApp - Front End | Deploy and run a simple two resource DEX |