Tutorial
Creating a StackUp Smart Contract
4 steps
In this tutorial, we’ll be creating a smart contract that mimics some of StackUp’s functionalities. In particular, this smart contract will contain functionalities such as creating, joining and submitting quests. This smart contract will be used in the subsequent tutorials of this module, where we’ll be creating a frontend that allows users to interact with the smart contract.
Learners are expected to have knowledge of Solidity before proceeding with this tutorial. Please head to our Introduction to Blockchain & Solidity module if you haven’t yet learnt Solidity or require a refresher.
Helpful prior knowledge
Solidity
Learning Outcomes
By the end of this tutorial, you would have:
- Created a smart contract that mimics features of StackUp such as creating, joining and submitting quests
- Practiced handling data structures in Solidity such as enums, structs, mappings, etc
Tutorial Steps
Total steps: 4
-
Step 1: Overview of Quest
-
Step 2: Declaring Variables
-
Step 3: Creating a Quest
-
Step 4: Joining & Submitting a Quest
Find articles to support you through your journey or chat with our support team.
Help Center