-
Notifications
You must be signed in to change notification settings - Fork 59
/
main.mo
25 lines (18 loc) · 911 Bytes
/
main.mo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
actor MotivationLetter {
// Task #1:
// Define an immutable variable `name` of type `Text`.
// Initialize it with your name.
// Task #2:
// Define a mutable variable `message` of type `Text`.
// Initialize it with your project goals on the Internet Computer.
// Task #3:
// Create an update function `setMessage` that takes `newMessage` of type `Text` as an argument
// and updates the `message` variable with the argument's value.
// Task #4:
// Define a query function `getMessage` that returns the current value of the `message` variable.
// Task #5:
// Define a query function `getName` that returns the current value of the `name` variable.
// Task #6:
// Deploy your canister and submit the Canister ID on motokobootcamp.com.
// Gain access to our secret OpenChat community and have your name included on the Legacy Scroll forever.
};