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: minor quickstart fixes #4330

Merged
merged 5 commits into from
Jan 31, 2024
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: 5 additions & 1 deletion docs/docs/developers/getting_started/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Once these have been installed, to start the sandbox, run:
aztec-sandbox
```

This will attempt to run the Sandbox on ` localhost:8080`, so you will have to make sure nothing else is running on that port or change the port defined in `./.aztec/docker-compose.yml`. Running the command again will overwrite any changes made to the `docker-compose.yml`.
This will attempt to run the Sandbox on ` localhost:8080`, so you will have to make sure nothing else is running on that port or change the port defined in `./.aztec/docker-compose.yml`. Running the installation again will overwrite any changes made to the `docker-compose.yml`.

This command will also install the CLI if a node package version of the CLI isn't found locally.

Expand All @@ -71,6 +71,10 @@ Start by deploying a token contract. After it is deployed, we check that the dep

#include_code deploy yarn-project/end-to-end/src/guides/up_quick_start.sh bash

:::note
If you're not using the default port for the Sandbox, make sure to pass the `--rpc-url` parameter, e.g.: `--rpc-url http://localhost:8000`.
:::

Note that the deployed contract address is exported, so we can use it as `$CONTRACT` later on.

## Call a contract with the CLI
Expand Down
14 changes: 1 addition & 13 deletions docs/docs/learn/concepts/hybrid_state/main.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,6 @@ Internal to the Aztec network, public state is stored and updated by the sequenc

## Private State

Every smart contract needs a way to track information over time - that's what state is. In order to have both private and public transactions and storage in Aztec, we have to have public and private state.

On this page, you’ll learn

- Aztec's unique interpretation of private state
- Representation of private state in an append-only database
- Concept of 'deleting' private state variables using nullifiers
- How to modify private state
- How Aztec abstracts the UTXO model from developers

## Private State on Aztec

Private state must be treated differently from public state and this must be expressed in the semantics of Aztec.nr.

Private state is encrypted and therefore is "owned" by a user or a set of users (via shared secrets) that are able to decrypt the state.
Expand All @@ -32,7 +20,7 @@ Private state is represented in an append-only database since updating a record

The act of "deleting" a private state variable can be represented by adding an associated nullifier to a nullifier set. The nullifier is generated such that, without knowing the decryption key of the owner, an observer cannot link a state record with a nullifier.

Modification of state variables can be emulated by nullifying the a state record and creating a new record to represent the variable. Private state has an intrinsic UTXO structure and this must be represented in the language semantics of manipulating private state.
Modification of state variables can be emulated by nullifying the state record and creating a new record to represent the variable. Private state has an intrinsic UTXO structure and this must be represented in the language semantics of manipulating private state.

### Abstracting UTXO's from App's / Users

Expand Down
Loading