/Cardano-docs

Helios examples from the book Cardano Smart Contracts with Helios

Primary LanguageJavaScriptMIT LicenseMIT

Helios Examples

The examples in this repository are part of the book

Author: Lawrence Ley B.Sc.

The book is focused on making the onboarding experience for new developers to Cardano as easy and as straightforward as possible. There is a lot of ground to cover so we start from the basics and go all the way to more sophisticated real world examples including both on-chain and off-chain code. We wrap up the book with blockchain monitoring, troubleshooting techniques and production readiness.

List of examples in increasing order of complexity

  1. transfer-ada - builds a simple transaction to transfer Ada
  2. nft - mints an NFT (video)
  3. emulator - uses the Helios emulator to mint a thread token without connecting to a real network
  4. vitest - uses the Vitest testing framework to demonstrate how test your smart contract (video)
  5. nft-multisig - mints a multi signature NFT (video)
  6. vesting - creates a vesting contract that locks funds until deadline
  7. donation - tracks donations on-chain when purchasing an eCommerce order
  8. events - block chain event monitoring example

Note: Testing results are located in the testing directory.

Useful links