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

docs: including sandbox diagrams in the sandbox section #2573

Merged
merged 1 commit into from
Sep 28, 2023
Merged
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
6 changes: 6 additions & 0 deletions docs/docs/dev_docs/getting_started/sandbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ In this section, we created 2 instances of the `TokenContract` contract abstract

We can see that each account has the expected balance of tokens.

### Diagram of calling an unconstrained (view) function
<img src="/img/sandbox_unconstrained_function.svg" alt="Unconstrained function call" />

## Creating and submitting transactions

Now lets transfer some funds from Alice to Bob by calling the `transfer` function on the contract. This function takes 4 arguments:
Expand Down Expand Up @@ -346,6 +349,9 @@ That's it! We have successfully deployed a private token contract to an instance

You can find the [complete tutorial code here](https://github.com/AztecProtocol/dev-rel/tree/main/tutorials/sandbox-tutorial/token).

### Diagram of sending a transaction
<img src="/img/sandbox_sending_a_tx.svg" alt="Sending a transaction" />

## Next Steps

Here we showed how to interact with the sandbox, but didn't go into details on how to write your own contract or any relevant setup needed for it.
Expand Down
Loading