Skip to content

cbisaillon/Scrypto-Advent-Calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scrypto Advent Calendar

I am publishing new Christmas related Scrypto examples every day from Dec 1st to Dec 25th.

"Watch" this project to get notified when I push my daily examples !

Learning Scrypto

The examples I publish will become more and more difficult as we approach the 25th. If you ever feel like you don't understand, you can ask me questions on the Scrypto discord chanel, my username is @cbisaillon.

You can also read the Scrypto tutorial I wrote with Rock Howard

How to run the examples

  1. Follow this guide to install the scrypto simulator
  2. Enter one of the example directories: cd day1
  3. Follow the instructions in the README.md for that particular example

Example list

Title What you will learn
Day 1: Present factory Token creation
Day 2: SantaCookieEater component Token creation, Assertions, Vaults
Day 3: Present distributor Token creation, Vaults, Loops
Day 4: House component Badge and authorization
Day 5: Present delivery schedule Epoch updates, assertions
Day 6: Present list with badges Badge as identification
Day 7: Elf workshop Minting badges, Authorization
Day 8: Santa component calling House component Multiple blueprints in same package, badge as authorization
Day 9: Santa and PresentList components Inter-component communication with ABI
Day 10: Coal yield farming Epoch updates, Resource minting
Day 11: GiftExchange with PriceOracle Inter-component communication, Oracles, Badges for authorization
Day 12: Yankee Swap component Badge as identification, withdrawing tokens
Day 13: Elf work clock Inter-component communication, Oracle, Storing metadata on badges
Day 14: Automatic coffee brewing Inter-component communication, epoch updates
Day 15: Vaccine passport NFT minting, NFT metadata update
Day 16: Degenerate Elves NFT minting, Randomness
Day 17: Present list as NFTs NFT minting, NFT metadata update,
Day 18: Price-based token unlock Inter-component communication, NFT minting and updating, NFT as identification
Day 19: Subscription payment system NFT minting and updating, Token burning
Day 20: DAO membership system NFT minting and updating, NFT as identification
Day 21: Funds splitter Multi-blueprints package, NFT minting and updating, Withdrawing tokens
Day 22: Proposal voting system Multi-blueprints package, NFT minting and updating, Voting
Day 23: Rating system Multi-blueprints package, NFT minting and updating, NFT as authorization
Day 24: Election system Multi-blueprints package, NFT minting and updating, Epoch updates, Voting

About

Scrypto Advent Calendar. Learn the new programming langage to build secure DeFi applications quickly.

Topics

Resources

Stars

Watchers

Forks

Languages