Build a Blockchain from Scratch with Rust - Rust #2.1 - Introduction to the System Pallet
5.0(5)
40 learners
What you'll learn
This course includes
3.3 hours of video
Certificate of completion
Access on mobile and TV
Summary
Full Transcript
In this lesson, we create the system module for our Rust blockchain application by setting up the system.rs file. We walk through defining the Pallet struct to store critical blockchain data, including the current block number and the transaction count (nonce) for each user. Utilizing BTreeMap, we'll manage these values efficiently. You'll learn to initialize the struct with default values and prepare the system module for further development. By the end of this video, you'll have a foundational system module ready for implementing blockchain functionality in upcoming lessons.
This video is part of a learning journey created by WEB3DEV. To watch all videos and learn more, sign-up at https://build.w3d.community/
Continue this lesson in the app
Install CourseHive on Android or iOS to keep learning while you move.