Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs/zkapps/tutorials/01-hello-world.mdx #788

Merged
Merged
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
6 changes: 3 additions & 3 deletions docs/zkapps/tutorials/01-hello-world.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ In later tutorials, you learn how to interact with a smart contract from the bro

The `src/index.ts` file contains all of the exports you want to make available for consumption from outside your smart contract project, such as from a UI.


## Write the zkApp Smart Contract

Now, the fun part! Write your smart contract in the `src/Square.ts` file.
Expand Down Expand Up @@ -490,10 +491,9 @@ The expected output is:
```sh
$ npm run build && node build/src/main.js
...
o1js loaded
state after init: 3
state after txn1: 9
assert_equal: 75 != 81
Field.assertEquals(): 75 != 81
state after txn2: 9
Shutting down
```
Expand Down Expand Up @@ -529,7 +529,7 @@ $ npm run build && node build/src/main.js
o1js loaded
state after init: 3
state after txn1: 9
assert_equal: 75 != 81
Field.assertEquals(): 75 != 81
state after txn2: 9
state after txn3: 81
Shutting down
Expand Down