- 08 May 2024
- 1 Minute to read
- DarkLight
- PDF
Learning Step-by-Step
- Updated on 08 May 2024
- 1 Minute to read
- DarkLight
- PDF
Scrypto and Frontend
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.
Run Your First Scrypto Project - Running Scrypto code in the Radix Engine Simulator
Explain Your First Scrypto Project - Scrypto package structure and template code explanation
Create Your First Custom Resource - Create resources with different metadata
Build a Gumball Machine - Build a simple Gumball Machine blueprint
Give the Gumball Machine an Owner - Ownership and protected methods
Make the Gumball Machine Refillable - The mintable resource behaviour
Create and Use Transaction Manifests - Use transaction manifests in the Radix Engine Simulator
Use the Gumball Machine on Stokenet - Deploy a package on the Stokenet test network
Run Your First Front End dApp - Deploy and run a simple front end dapp on Stokenet
Run the Gumball Machine Front End dApp - Deploy and run the Gumball Machine as a front end dapp on Stokenet
Set Verification Metadata - Two way linking metadata for verification
Create Your First Non-Fungible - Mint a non-fungible resource
Build a Candy Store - Custom authorization roles
Make Recallable Badges - The recallable and burnable resource behaviours
Build a Multi-Blueprint Package - Modularise packages into smaller blueprints
Create Owned Components - Compare owned and global components
Use External Blueprints - Use blueprints that aren’t a part of your package
Use External Components - Use components that aren’t a part of your package
Explain Your First Test - Understand and run the tests on the Hello template blueprint
Test a Multi-Blueprint Package - Unit and integration tests
Run the Radiswap dApp - Deploy and run a simple two resource DEX
Frontend
If you are only looking to build a front end for a preexisting scrypto package you will gain the most from the following sections:
Run Your First Front End dApp - Deploy and run a simple front end dapp on Stokenet
Run the Gumball Machine Front End dApp - Deploy and run the Gumball Machine as a front end dapp on Stokenet
Set Verification Metadata - Two way linking metadata for verification
Run the Radiswap dApp - Deploy and run a simple two resource DEX