From e78945beb8c7cf1d00b0a8684f653eae5644bd6c Mon Sep 17 00:00:00 2001 From: Florian Date: Thu, 7 Sep 2023 13:47:39 +0200 Subject: [PATCH] update o1js reference --- docs/zkapps/tutorials/03-deploying-to-a-network.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/zkapps/tutorials/03-deploying-to-a-network.mdx b/docs/zkapps/tutorials/03-deploying-to-a-network.mdx index c704831f4..59a65e639 100644 --- a/docs/zkapps/tutorials/03-deploying-to-a-network.mdx +++ b/docs/zkapps/tutorials/03-deploying-to-a-network.mdx @@ -34,7 +34,7 @@ Mina zkApps are available only on feature-complete Berkeley, Mina's public Testn ## Prerequisites -This tutorial has been tested with [Mina zkApp CLI](https://github.com/o1-labs/zkapp-cli) version `0.10.0` and [SnarkyJS](https://www.npmjs.com/package/snarkyjs) `0.11.3`. +This tutorial has been tested with [Mina zkApp CLI](https://github.com/o1-labs/zkapp-cli) version `0.10.0` and [o1js](https://www.npmjs.com/package/o1js) `0.12.1`. Ensure your environment meets the [Prerequisites](/zkapps/tutorials#prerequisites) for zkApp Developer Tutorials. @@ -126,7 +126,7 @@ $ zk file src/Square 4 state, 5 State, 6 method -7 } from 'snarkyjs'; +7 } from 'o1js'; 8 9 export class Square extends SmartContract { 10 @state(Field) num = State(); @@ -198,7 +198,7 @@ zk config ```sh $ echo '{ "privateKey": "EKEnVLUhYHDJvgmgQu5SzaV8MWKNfhAXYSkLBRk5KEfudWZRbs4P", "publicKey": "B62qq1miZzh8QMumJ2dhJSvPxdeShGQ2G2cH4YXwxNLpPSvKdRVTb3q" }' > keys/live-local-network.json -$ echo '{ "version": 1, "deployAliases": { "live-local-network": { "url": "http://localhost:8080/graphql", "feepayerKeyPath": "keys/live-local-network.json", "feepayerAlias": "cli-fee-payer", "keyPath": "keys/live-local-network.json", "fee": "0.1" } } }' > config.json +$ echo '{ "version": 1, "deployAliases": { "live-local-network": { "url": "https://proxy.berkeley.minaexplorer.com/graphql", "feepayerKeyPath": "keys/live-local-network.json", "feepayerAlias": "cli-fee-payer", "keyPath": "keys/live-local-network.json", "fee": "0.1" } } }' > config.json $ yes | zk deploy live-local-network ``` --->