Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Rust #6.3 - Adding Call Macro to Proof of Existence Pallet
Play lesson

Build a Blockchain from Scratch with Rust - Rust #6.3 - Adding Call Macro to Proof of Existence 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 demonstrate how to streamline the Proof of Existence palette in our Rust blockchain project using macros. By leveraging macros, we automate the generation of enums and dispatch functions, reducing code duplication and aligning with the Polkadot SDK architecture. We'll show you how to isolate functions, apply macro_call, and adjust the main function to integrate the newly generated code efficiently. Watch as we simplify the process of creating and revoking claims, ensuring a more maintainable and scalable codebase. By the end of this tutorial, you'll understand how to use macros to enhance your Rust programming workflow. 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