Cardano Developer Workshop in Maranatha Christian University - TFT (Training for The Trainers) 22 November 2024

Cardano Developer Workshop in Maranatha Christian University - TFT (Training for The Trainers) 22 November 2024

Date : Friday, 22 November 2024

Purpose of this event :

  • Introducing the smart contract programming language using Aiken.
  • Practicing the development of a Full-Stack DApp, starting from writing a spending validator code and building the front-end interface.

Host :

  • @valdryanivandito (Speaker)

Total Participants : 8 Participants

Video Recording can be watched in Komunitas Cardano Indonesia YouTube Channel :

The repository code as follows :

Documentations :

Summary :

We covered these topics during TFT Class :

  • Topic-1 : UPLC / Plutus Core, contract address, EUTxO, datum, and redeemer
  • Topic-2 : Introduction to Aiken language
  • Topic-3 : Build simple spending validator - HelloWorld
  • Topic-4 : Lock and unlock ADA from contract address

On this final day, we explored Aiken and developed a simple full-stack DApp. The DApp involved building a validator script and integrating it into the front-end, allowing users to interact with it. Users could input the amount of ADA they wished to lock in the contract address. If they wanted to release the ADA from the contract, they would need to access the web page and provide the transaction’s TxHash.

Before diving into the practical session, we covered foundational concepts such as UPLC/Plutus Core, contract addresses, EUTxO, datum, and redeemer. As we know, Cardano supports various programming languages besides PlutusTx, such as Marlowe, Aiken, Opshin, and Helios. Regardless of the programming language used, all of them are eventually compiled into UPLC and serialized into the CBOR format. These fundamental principles formed the basis of our learning in the TFT class.

We also emphasized the importance of understanding EUTxO, datum, and redeemer as core concepts. However, teaching smart contract programming can be challenging, especially without a finished product. Often, the learning process feels abstract without a tangible interface, even when using playgrounds or simulations. For this reason, Valdryan Ivandito as the tutor/speaker, prepared a simple full-stack DApp example hosted in a GitHub repository, showcasing both the validator code and the front-end interface.

Despite the preparation, the session was far from easy. The limited time and varying backgrounds of the participants, many of whom were not programmers or software developer posed challenges. Nevertheless, the TFT class successfully demonstrated and thoroughly explained the end-to-end development of a DApp, providing a concrete understanding of how to implement smart contract or validator code with a web application.

We were truly grateful that we were able to complete the fifth and final day of the TFT class. Despite their busy schedules, the lecturers participating in the program showed incredible commitment by attending every session from start to finish. They deserve immense appreciation for their willingness to learn and their open-mindedness toward blockchain technology, particularly Cardano, which is still relatively new to many of us.

On behalf of the Cardano Indonesia Community and the Cardano Developer Community Indonesia, I, Valdryan Ivandito, extend my deepest gratitude and appreciation towards Oscar Karnalim the Dean of the Faculty, for supporting this collaboration, as well as the participating lecturers: Heri Andrianto, Robby Tan, Agus Prijono, Sulaeman Santoso, Rossevine Artha Natasya, Meliana Christianti, Hapnes Toba, Sendy Ferdian Sujadi, and Ratnadewi, for completing the TFT Comprehensive Cardano Developer Workshop Program at Maranatha Christian University in 2024.

Regards,
@Valdryan_Ivandito

1 Like

Link to the GitHub repo is added & updated. Thanks @Valdryan_Ivandito