Intermediate Course

This course offers a continuation of studies in the Program on Vara development, building upon the foundational knowledge acquired in the basic course. It is designed for individuals who have completed the introductory level and are prepared to explore the implementation of programs using Gear technologies.

1/3 videos

Message Receiving

In this lesson, learn about on-chain message receiving, a fundamental aspect of decentralized systems. Explore how programs efficiently handle request messages and their practical implications for user experience.

Key Concepts Covered:

  • Message Receiving: Gain a comprehensive understanding of how messages are received on-chain and their role in dApps.
  • Proxy Program: Learn about proxy programs and their function in facilitating communication between entities on the blockchain.
  • Target Program: Understand the responsibilities of target programs in processing received messages and executing corresponding actions.

The interaction between the two programs is illustrated through practical examples and clear explanations, providing insights into the real-world application of on-chain message receiving.

Wait and Wake Functions in Asynchronous Logic

In this video, explore the distinction between Wait() and Wake() functions in asynchronous logic, crucial elements Vara uses to optimize message handling in programs.

Understand the significance and practical applications of exec::wait() and exec::wake() functions, gaining invaluable insights to improve your understanding of asynchronous programming.

Leverage them effectively in your programming and your dApp-building endeavors.

Using wait_for() for Timeout Handling

In this tutorial, you'll understand the powerful wait_for() function, an essential tool for managing asynchronous programming. Learn how to use wait_for() to set a timeout period for your functions, ensuring your programs remain responsive even when faced with delays or unresponsiveness.

What's covered?

  • The concept of asynchronous programming and its benefits
  • How wait_for() works and when to use it
  • Practical examples to implement wait_for() in your code
  • Best practices for handling timeouts and improving program reliability
  • All playlists