Quest 4: Your First Smart Contract on Canton
Days
Hrs
Mins
Learning Outcomes
By the end of the quest, you will be able to:
- Successfully install and verify the functionality of the Daml Studio extension
- Define a basic Daml template and identify the fundamental concepts involved in smart contract development, including transactions, Daml modules and files,, and templates and contracts,.
- Utilise Daml Scripts to create a test scenario on a simulated ledger
Quest Details
Introduction
This quest guides learners through a practical session of basic smart contract development on Canton. You will begin by installing the Daml Studio extension. Once the environment is set up, you will dive into the foundational elements of the Daml smart contract language, learning how to define a minimal contract using a Daml template. You will explore the concepts of Daml modules and files, understanding how templates define the data and authorization rules, such as identifying signatories. Finally, you will learn to utilize Daml Scripts as the main tool for testing your templates, allowing you to simulate transactions, create contracts, and view the resulting ledger state.
Prerequisites
- Completion of Quest 3: Getting Started with Daml Development on Canton
- Highly recommended to have finished Supplemental Guide 4: Introduction to Ledger and Smart Contract Programming in Daml
Deliverables
This quest has 1 deliverable.
- Screenshot
This quest is part of a campaign so do check out other quests!
Find articles to support you through your journey or chat with our support team.
Help Center