Build a Blockchain from Scratch with Rust - Rust #5.3 - Implementing Dispatch Logic in 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 lesson, we implement the dispatch functionality for our Proof of Existence pallet, following the same structure as used in the balances pallet. We start by defining the dispatchable calls—create_claim and revoke_claim—and then implement the dispatch function to route these calls to their respective functions within the pallet. By reusing the established pattern, we ensure consistency and modularity in our code. This step-by-step implementation showcases how to handle different types of calls within the pallet, making it ready for integration into the main runtime. Join us as we prepare to bring full functionality to the Proof of Existence pallet.
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.