Build a Blockchain from Scratch with Rust - Rust #3.4 - Adding Generics to 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 video, we continue enhancing our Rust blockchain module by implementing generic type configurations in the system pallet, mirroring our work from the balances pallet. You'll learn how to make types like AccountID and BlockNumber configurable within your runtime, avoiding hardcoded values. We'll demonstrate importing and configuring necessary traits and ensuring compatibility. Through step-by-step adjustments and error handling, you'll gain a deeper understanding of managing flexible type definitions in Rust. By the end, your pallets will be modular and adaptable, ready for more complex blockchain applications.
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.