Welcome to Day 4 of the Motoko Bootcamp. Kudos to you for persevering through the first 3 days - you're a true hero! 🦸
If you think you've missed something, feel free to revisit previous lessons. Today, our primary focus is on addressing potential challenges when upgrading your canister. This is essential for maintaining user engagement by introducing new features and functionalities. 🆙
Keep in mind, if reading and coding is pushing your brain to its limit, take a break. Go for a walk or arrange a game session with your teammates to recharge. Try Skribbl.io, a free online multiplayer drawing and guessing pictionary game, for some creative fun. 🖍️
Be sure to consult the calendar for the precise schedule of each lecture.
Title | Mentor | Description |
---|---|---|
Motoko: Shareables types, handling errors & admin functionalities | Seb | This lecture covers different topics (cycle management, errors and admin functionnalities) through examples and live coding. |
Motoko: Heap, stable memory & updates | Matthew | This lecture dives into the two different types of memories (stable vs heap) and how to deal with upgrades. |
When starting your day use this list as a guide, it contains all the material that you need to read and the challenges you need to tackle.
- Read Chapter 9: Handling errors
- Read Chapter 11: Intercanister calls
- Read Chapter 12: Upgrading a canister in full.
- Complete the project of the day.
Before finishing your day, review the following list and ensure that you have addressed each item on it. It's important that you have a clear understanding of all these concepts. Why not try explaining them to one of your teammate to gauge your level of understanding?
- Understand the difference between stable & heap memory.
- Understand how to use the
stable
keyword and what are the stables types. - Getting familiar with potential issues when upgrading a canister.
- Getting familiar with error management and the different types of errors in Motoko.
- Completing the project of the day.
Did you know? The name Motoko is a reference to Motoko Kusanagi, the main protagonist in the manga Ghost in the Shell.
Good luck 🍀