You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We aim to provide clear, beginner-friendly tutorials and basic program examples for both the Miden Rust client and WebClient. Currently, we guide new developers using our integration tests, but the tutorials will serve as a more accessible introduction. These tutorials will demonstrate how to use the Miden client as a library to build applications, covering most of the fundamental features. To ensure consistency, each tutorial will be available for both the Rust client and the WebClient.
Requirements
The tutorials should be executed against our testnet and not use the MockChain.
For now, the tutorials need to be written in MASM. When we have our Rust compiler, we will switch to Rust.
We also need a text explaining the code in-depth and easy to follow for every tutorial. We will add those texts to our docs.
Tutorial ideas
Exchange contract: Mint 10 notes of asset A, in an account consume all notes and create 10 new note P2ID for 10 different receivers. This tutorial should show how a custom transaction is being built
Simple counter contract: Deploy a simple smart contract that counts a number. If one wants to change that number, he/she needs to pay at least the amount of the size of the number
Rock, Paper, Scissors: Create a smart contract to play Rock Paper Scissors. Find a solution to keep a player's move secret until both players made their move
The text was updated successfully, but these errors were encountered:
Guess my number: Create a smart contract that assumes a random number between 1 and 100. It should determine the player's win if their guessed number is correct.
Goal
We aim to provide clear, beginner-friendly tutorials and basic program examples for both the Miden Rust client and WebClient. Currently, we guide new developers using our integration tests, but the tutorials will serve as a more accessible introduction. These tutorials will demonstrate how to use the Miden client as a library to build applications, covering most of the fundamental features. To ensure consistency, each tutorial will be available for both the Rust client and the WebClient.
Requirements
MockChain
.Tutorial ideas
The text was updated successfully, but these errors were encountered: