Emurgo Academy's BuildNOW Aiken course materials.
You can fork the following repositories. When you push your exercise repo commit, a GitHub Action should run and it must succeed. For detailed instructions for each exercise, please refer to README.md of the individual repository.
Aiken primitive types:
- showcase repo: In this project, we take a look into 10 Aiken primitive types
- exercise repo: Fix all the syntax and then run
aiken c
, all the tests must PASS
Custom types:
- showcase repo: In this project, we take a look into Aiken custom, opaque, and recursive types
- exercise repo: Your task is to FIX All the types, and play around with them afterward
Constants, conditional modules, and aiken docs
:
- showcase repo: In this project, we take a look into
const
,aiken docs
,env
andconfig
- exercise repo: Your task is to define all needed constants to PASS All the tests
- answers repo: This project contains the answers to the exercise repo
Functions:
- showcase repo: In this project, we take a look into functions and anonymous functions
- exercise repo: Your task is to define all needed functions to PASS All the tests
- answers repo: This project contains the answers to the exercise repo
Control flow:
- showcase and exercise repo:
if-else
,when-is
,if-is
,choose_data
- answer repo: This project contains the answer to the activity
Minting validator:
- showcase repo:
always_true
,check_redeemer
,check_redeemer_2
,nft
- exercise repo: Run
aiken c
, replace all todos with actual code - answer repo: This project contains the code for the exercise validators
Spending validator:
- showcase repo:
check_datum
,check_redeemer
,sc_wallet
,receipts
,cip_68
- exercise repo: Run
aiken c
, replace thetodo
with actual code and fix CIP-68 validator - answer repo: This project contains the code for the exercise validators
Staking validator:
- showcase repo:
withdraw
andpublish
handlers,else
block, withdraw-zero trick - exercise repo: Run
aiken c
, replace all todos with actual code - answer repo: This project contains the code for the exercise validators
aiken check
:
- showcase repo: Unit tests, property tests, and validator tests
- exercise repo: Your task is to FIX All the unit tests, property tests, and validator tests