Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Rust #4.4 - Dispatching Calls
Play lesson

Build a Blockchain from Scratch with Rust - Rust #4.4 - Dispatching Calls

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 complete the implementation of the dispatch function, a crucial step for enabling our Rust blockchain to handle and execute transactions. We start by defining a runtime call for balance transfers, specifying the recipient and amount to be transferred. The dispatch function matches these calls and routes them to the appropriate functions within the balances pallet. This process involves using the caller information from the dispatch and handling the parameters within the extrinsic. By the end of this lesson, you'll have a working dispatch mechanism, setting the stage for block creation and execution in upcoming lessons. This will streamline transaction handling, making our blockchain more efficient and functional. 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