Learn Rust syntax for Substrate | Substrate Seminar

Channel:
Subscribers:
5,190
Published on ● Video Link: https://www.youtube.com/watch?v=VVU3Io2dACY



Duration: 1:39:18
2,984 views
114


In this seminar, Dan goes over the syntax you can expect when working with Substrate.

Please note: although most of the content is still relevant, be aware that this video was recorded before the FRAME V2 updates. The main changes are: Trait is now renamed to Config, the Module struct is renamed to Pallet and the decl macros have been replaced with procedural macros.

0:00 - Intro
4:36 - How Rust, Substrate and FRAME relate
23:12 - Questions
38:44 - FRAME System crate
40:04 - FRAME Pallet syntax
43:43 - Convention: only define associated types
51:28 - The configuration trait
53:55 - Trait bounds
58:12 - Trait implementations
1:01:32 - Event type
1:06:24 - Questions
1:11:48 - Recap
1:13:10 - Share functionality between pallets
1:29:50 - Questions

⎼⎼⎼⎼⎼⎼⎼

→ For more videos on blockchain development and building Web 3.0,
subscribe to the channel: https://www.youtube.com/channel/UCSs5vZi0U7qHLkUjF3QnaWg?sub_confirmation=1

→ Website: https://www.parity.io/

→ To stay informed about Parity updates and events,
subscribe to the newsletter: https://www.parity.io/newsletter/

→ Follow us on Twitter (@ParityTech): https://twitter.com/ParityTech

→ Check our code on GitHub: https://github.com/paritytech/

#rustlang #substrate #programming #polkadot #parachains







Tags:
rust
blockchain
programming
web 3.0
rust syntax
substrate