WikiTrainingUnderstand the code

✍️ Understand the code

Github repo:

📺 Video Walkthroughs – Building the code

Description:

This guide covers the essential steps to get started with the Midnight examples from the MeshJS GitHub repository. It begins with setting up your environment using WSL and Docker, followed by configuring the Lace Wallet for blockchain interactions. You’ll also be guided through setting up Visual Studio Code (VsCode), running the Proof Server, and using the compiler. Additional topics include installing the VsCode Extension, installing the example projects, and building them for execution. Each step is aimed at ensuring a smooth installation and usage experience for developers exploring the Midnight framework.

Duration: 1 hour

📺 Video Walkthroughs – Understand the code (Part 1)

Description:

This segment dives deeper into the structure and tooling used in the Midnight project. It begins with an overview of the monorepo setup and the use of workspaces, followed by an introduction to Turbo Repo for efficient development workflows. The walkthrough continues with an exploration of various Midnight packages and how they interact. You’ll also learn about using test containers, integrating RxJS for reactive programming, and working with the compiler wrapper. Finally, the guide demonstrates practical applications through a counter example, showcasing both the contract implementation and its interaction with an oracle/test environment.

Duration: 1 hour

📺 Video Walkthroughs – Understand the code (Part 2)

Description:

This section focuses on configuring the core components needed to run and interact with the Midnight network. It starts with an overview of the network setup, including details on endpoints and how they are structured. Next, it covers wallet configuration, ensuring secure and functional connections for transactions and contract interactions. The guide concludes with an explanation of provider configuration, highlighting how different services and tools are integrated to support development and deployment within the Midnight ecosystem.

Duration: 1 hour