From 4884aac2ba0907654eab0a766073855308e593aa Mon Sep 17 00:00:00 2001 From: Josh Crites Date: Mon, 9 Jun 2025 16:18:22 -0400 Subject: [PATCH 1/2] update to beta.6 --- docs/docs/tutorials/noirjs_app.md | 9 +++++---- .../version-v1.0.0-beta.6/tutorials/noirjs_app.md | 11 ++++++----- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/docs/tutorials/noirjs_app.md b/docs/docs/tutorials/noirjs_app.md index f254457048b..2666fcddf87 100644 --- a/docs/docs/tutorials/noirjs_app.md +++ b/docs/docs/tutorials/noirjs_app.md @@ -23,7 +23,7 @@ Let's go barebones. Doing the bare minimum is not only simple, but also allows y Barebones means we can immediately start with the dependencies even on an empty folder 😈: ```bash -yarn add @noir-lang/noir_js@1.0.0-beta.2 @aztec/bb.js@0.72.1 +yarn add @noir-lang/noir_js@1.0.0-beta.6 @aztec/bb.js@0.84.0 ``` Wait, what are these dependencies? @@ -33,7 +33,7 @@ Wait, what are these dependencies? :::info -In this guide, we will install versions pinned to 1.0.0-beta.2. These work with Barretenberg version 0.72.1, so we are using that one version too. Feel free to try with older or later versions, though! +In this guide, we will install versions pinned to 1.0.0-beta.6. These work with Barretenberg version 0.84.0, so we are using that one version too. Feel free to try with older or later versions, though! ::: @@ -47,7 +47,7 @@ It's not just you. We also enjoy syntax highlighting. [Check out the Language Se ::: -All you need is a `main.nr` and a `Nargo.toml` file. You can follow the [noirup](../getting_started/noir_installation.md) installation and just run `noirup -v 1.0.0-beta.2`, or just create them by hand: +All you need is a `main.nr` and a `Nargo.toml` file. You can follow the [noirup](../getting_started/noir_installation.md) installation and just run `noirup -v 1.0.0-beta.6`, or just create them by hand: ```bash mkdir -p circuit/src @@ -158,12 +158,13 @@ At this point in the tutorial, your folder structure should look like this: ```tree . └── circuit + └── node_modules └── src └── main.nr Nargo.toml + index.html index.js package.json - index.html ...etc ``` diff --git a/docs/versioned_docs/version-v1.0.0-beta.6/tutorials/noirjs_app.md b/docs/versioned_docs/version-v1.0.0-beta.6/tutorials/noirjs_app.md index d0f6277829f..2666fcddf87 100644 --- a/docs/versioned_docs/version-v1.0.0-beta.6/tutorials/noirjs_app.md +++ b/docs/versioned_docs/version-v1.0.0-beta.6/tutorials/noirjs_app.md @@ -23,7 +23,7 @@ Let's go barebones. Doing the bare minimum is not only simple, but also allows y Barebones means we can immediately start with the dependencies even on an empty folder 😈: ```bash -yarn add @noir-lang/noir_js@1.0.0-beta.2 @aztec/bb.js@0.72.1 +yarn add @noir-lang/noir_js@1.0.0-beta.6 @aztec/bb.js@0.84.0 ``` Wait, what are these dependencies? @@ -33,7 +33,7 @@ Wait, what are these dependencies? :::info -In this guide, we will install versions pinned to 1.0.0-beta.2. These work with Barretenberg version 0.72.1, so we are using that one version too. Feel free to try with older or later versions, though! +In this guide, we will install versions pinned to 1.0.0-beta.6. These work with Barretenberg version 0.84.0, so we are using that one version too. Feel free to try with older or later versions, though! ::: @@ -47,7 +47,7 @@ It's not just you. We also enjoy syntax highlighting. [Check out the Language Se ::: -All you need is a `main.nr` and a `Nargo.toml` file. You can follow the [noirup](../getting_started/noir_installation.md) installation and just run `noirup -v 1.0.0-beta.2`, or just create them by hand: +All you need is a `main.nr` and a `Nargo.toml` file. You can follow the [noirup](../getting_started/noir_installation.md) installation and just run `noirup -v 1.0.0-beta.6`, or just create them by hand: ```bash mkdir -p circuit/src @@ -158,12 +158,13 @@ At this point in the tutorial, your folder structure should look like this: ```tree . └── circuit + └── node_modules └── src └── main.nr Nargo.toml + index.html index.js package.json - index.html ...etc ``` @@ -267,7 +268,7 @@ At this point, you have a working ZK app that works on the browser. Actually, it If you want to continue learning by doing, here are some challenges for you: -- Install [nargo](https://noir-lang.org/docs/getting_started/noir_installation) and write [Noir tests](../tooling/testing) +- Install [nargo](https://noir-lang.org/docs/getting_started/noir_installation) and write [Noir tests](../tooling/tests) - Change the circuit to accept a [public input](../noir/concepts/data_types/#private--public-types) as the cutoff age. It could be different depending on the purpose, for example! - Enjoy Noir's Rust-like syntax and write a struct `Country` that implements a trait `MinAge` with a method `get_min_age`. Then, make a struct `Person` have an `u8` as its age and a country of type `Country`. You can pass a `person` in JS just like a JSON object `person: { age, country: { min_age: 18 }}` From 1e458894d6806edfaa1edfa5167af8270109616d Mon Sep 17 00:00:00 2001 From: Josh Crites Date: Mon, 9 Jun 2025 16:20:25 -0400 Subject: [PATCH 2/2] fix link --- .../version-v1.0.0-beta.6/tutorials/noirjs_app.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/versioned_docs/version-v1.0.0-beta.6/tutorials/noirjs_app.md b/docs/versioned_docs/version-v1.0.0-beta.6/tutorials/noirjs_app.md index 2666fcddf87..3b257ba2ecf 100644 --- a/docs/versioned_docs/version-v1.0.0-beta.6/tutorials/noirjs_app.md +++ b/docs/versioned_docs/version-v1.0.0-beta.6/tutorials/noirjs_app.md @@ -268,7 +268,7 @@ At this point, you have a working ZK app that works on the browser. Actually, it If you want to continue learning by doing, here are some challenges for you: -- Install [nargo](https://noir-lang.org/docs/getting_started/noir_installation) and write [Noir tests](../tooling/tests) +- Install [nargo](https://noir-lang.org/docs/getting_started/noir_installation) and write [Noir tests](../tooling/testing) - Change the circuit to accept a [public input](../noir/concepts/data_types/#private--public-types) as the cutoff age. It could be different depending on the purpose, for example! - Enjoy Noir's Rust-like syntax and write a struct `Country` that implements a trait `MinAge` with a method `get_min_age`. Then, make a struct `Person` have an `u8` as its age and a country of type `Country`. You can pass a `person` in JS just like a JSON object `person: { age, country: { min_age: 18 }}`