Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Rust #2.5 - Using Macros to Print Blockchain Runtime State
Play lesson

Build a Blockchain from Scratch with Rust - Rust #2.5 - Using Macros to Print Blockchain Runtime State

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 explore how to visualize the internal state of our Rust blockchain runtime by leveraging Rust's powerful macros. Specifically, we use the #[derive(Debug)] macro to enable printing the contents of our runtime, including the system and balances pallets. You'll learn how to apply this macro to your structs and understand its utility in debugging and development. By the end of this video, you'll be able to print and inspect the state of your blockchain, ensuring everything is functioning correctly. This foundational knowledge of macros sets the stage for more advanced macro usage in future 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/

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere