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 | Installing the Scrypto toolchain | |
1 | Running Scrypto code in the Radix Engine Simulator | |
2 | Scrypto package structure and template code explanation |
An introduction to resource metadata and behaviours
Step | Title | Topic |
---|---|---|
3 | Create resources with different metadata | |
4 | Build a simple Gumball Machine blueprint | |
5 | Ownership and protected methods | |
6 | The mintable resource behaviour |
Interact with your package on the test network
Step | Title | Topic |
---|---|---|
7 | Use transaction manifests in the Radix Engine Simulator | |
8 | Deploy a package on the Stokenet test network | |
9 | Deploy and run a simple front end dapp on Stokenet | |
10 | Deploy and run the Gumball Machine as a front end dapp on Stokenet | |
11 | Two way linking metadata for verification |
Non-fungible resources, authorization and advanced resource behaviours
Step | Title | Topic |
---|---|---|
12 | Mint a non-fungible resource | |
13 | Custom authorization roles | |
14 | The recallable and burnable resource behaviours |
Interaction between blueprints
Step | Title | Topic |
---|---|---|
15 | Modularise packages into smaller blueprints | |
16 | Compare owned and global components | |
17 | Use blueprints that aren’t a part of your package | |
18 | Use components that aren’t a part of your package |
Testing
Step | Title | Topic |
---|---|---|
19 | Understand and run the tests on the Hello template blueprint | |
20 | Unit and integration tests |
DEX example
Step | Title | Topic |
---|---|---|
21 | 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 | Deploy and run a simple front end dapp on Stokenet | |
10 | Deploy and run the Gumball Machine as a front end dapp on Stokenet | |
11 | Two way linking metadata for verification | |
21 | Deploy and run a simple two resource DEX |