Skip to content

Digital-Distributed-Asset/lisbon_scrypto_tutorial

 
 

Repository files navigation

Scrypto Lisbon Tutorial

This tutorial will teach you the basics of Scrypto, the smart contract programming language of Radix. Here is a summary of what you will learn:

Example What you will learn
Hello World The basic structure, how to create a token and how to write methods.
Gumball Machine How to parameterize your components and accept a payment.
Gumball Machine (Auth) How to protect your methods through authentication.
Bored Gumball Club NFTs How to create NFTs and mint resources.
RadiSwap Learn to build a more concrete example and use the transaction manifest to compose calls.

Running the examples

Before running the examples, you will need to install the Scrypto toolchain and an IDE that supports Rust. We recommend using VS Code with the Rust extension.

Getting syntax highlighting in TX manifests

To enable syntax highlighting in the transactions manifest file (used in the 5th example) you can right-click the rtm_color.vsix file and select Install extension VSIX.

This extension was provided by community member 0xOmar. Thank you!

About

Code used for the Scrypto tutorial during the Lisbon event

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 70.5%
  • Shell 15.0%
  • Batchfile 14.5%