Skip to content

Commit

Permalink
update o1js reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Trivo25 committed Sep 7, 2023
1 parent 144f6d1 commit e78945b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/zkapps/tutorials/03-deploying-to-a-network.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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<Field>();
Expand Down Expand Up @@ -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
```
--->
Expand Down

0 comments on commit e78945b

Please sign in to comment.