Skip to content

Latest commit

 

History

History
69 lines (42 loc) · 3.94 KB

README.md

File metadata and controls

69 lines (42 loc) · 3.94 KB

EA_BuildNow_Aiken

Emurgo Academy's BuildNOW Aiken course materials.

Aiken Roadmap

aiken-roadmap

Suplemental 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 Types

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

Core Features

Constants, conditional modules, and aiken docs:

  • showcase repo: In this project, we take a look into const, aiken docs, env and config
  • 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:

Validators

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 the todo with actual code and fix CIP-68 validator
  • answer repo: This project contains the code for the exercise validators

Staking validator:

  • showcase repo: withdraw and publish 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

Testing and Debugging

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