Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/src/rust-client/create_deploy_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ sidebar_position: 2

_Using the Miden client in Rust to create accounts and deploy faucets_

**[View the complete runnable example on GitHub](https://github.com/0xMiden/tutorials/blob/main/rust-client/src/bin/create_mint_consume_send.rs)**

## Overview

In this tutorial, we will create a Miden account for _Alice_ and deploy a fungible faucet. In the next section, we will mint tokens from the faucet to fund her account and transfer tokens from Alice's account to other Miden accounts.
Expand Down Expand Up @@ -429,4 +431,4 @@ cargo run --release --bin create_mint_consume_send

### Continue learning

Next tutorial: [Mint, Consume, and Create Notes](mint_consume_create_tutorial.md)
Next tutorial: [Mint, Consume, and Create Notes](mint_consume_create_tutorial.md)
2 changes: 2 additions & 0 deletions docs/src/rust-client/delegated_proving_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ sidebar_position: 12

_Using delegated proving to minimize transaction proving times on computationally constrained devices_

**[View the complete runnable example on GitHub](https://github.com/0xMiden/tutorials/blob/main/rust-client/src/bin/delegated_prover.rs)**

## Overview

In this tutorial we will cover how to use delegated proving with the Miden Rust client to minimize the time it takes to generate a valid transaction proof. In the code below, we will create an account, mint tokens from a faucet, then send the tokens to another account using delegated proving.
Expand Down
2 changes: 2 additions & 0 deletions docs/src/rust-client/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ The Miden Rust client can be used for a variety of things, including:

This section of the docs is an overview of the different things one can achieve using the Rust client, and how to implement them.

For complete runnable examples, browse the [`rust-client/src/bin`](https://github.com/0xMiden/tutorials/tree/main/rust-client/src/bin) source directory. Individual tutorials also link directly to their corresponding example where available.

Keep in mind that both the Rust client and the documentation are works-in-progress!
4 changes: 3 additions & 1 deletion docs/src/rust-client/mappings_in_masm_how_to.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ sidebar_position: 10

_Using mappings in Miden assembly for storing key value pairs_

[View the complete runnable Rust example](https://github.com/0xMiden/tutorials/blob/main/rust-client/src/bin/mapping_example.rs)

## Overview

In this example, we will explore how to use mappings in Miden Assembly. Mappings are essential data structures that store key-value pairs. We will demonstrate how to create an account that contains a mapping and then call a procedure in that account to update the mapping.
Expand Down Expand Up @@ -323,4 +325,4 @@ This example shows how the script calls the procedure in the account, which then

### Continue learning

Next tutorial: [How to Create Notes in Miden Assembly](creating_notes_in_masm_tutorial.md)
Next tutorial: [How to Create Notes in Miden Assembly](creating_notes_in_masm_tutorial.md)
2 changes: 2 additions & 0 deletions docs/src/rust-client/public_account_interaction_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ sidebar_position: 5

_Using the Miden client in Rust to interact with public smart contracts on Miden_

**[View the complete runnable example on GitHub](https://github.com/0xMiden/tutorials/blob/main/rust-client/src/bin/counter_contract_increment.rs)**

## Overview

In the previous tutorial, we built a simple counter contract and deployed it to the Miden testnet. However, we only covered how the contract’s deployer could interact with it. Now, let’s explore how anyone can interact with a public smart contract on Miden.
Expand Down