You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/developer_versioned_docs/version-v3.0.0-devnet.20251212/getting_started_on_local_network.md
+15-23Lines changed: 15 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,12 @@ Run:
46
46
bash -i <(curl -s https://install.aztec.network)
47
47
```
48
48
49
+
Once the installation is complete, install the specific version:
50
+
51
+
```bash
52
+
aztec-up 3.0.0-devnet.20251212
53
+
```
54
+
49
55
This will install the following tools:
50
56
51
57
-**aztec** - compiles and tests aztec contracts and launches various infrastructure subsystems (full local network, sequencer, prover, pxe, etc) and provides utility commands to interact with the network
@@ -84,26 +90,6 @@ You'll know the local network is ready to go when you see something like this:
84
90
[INFO] Aztec Server listening on port 8080
85
91
```
86
92
87
-
### Codespaces
88
-
89
-
If you do not want to run the local network locally, or if your machine is unsupported (eg Windows), it is possible to run it within a GitHub Codespace.
90
-
91
-
[GitHub Codespaces](https://github.com/features/codespaces) are a quick way to develop: they provision a remote machine with all tooling you need for Aztec in just a few minutes. You can use some prebuilt images to make it easier and faster.
92
-
93
-
Choose a boilerplate and click "create new codespace":
This creates a codespace with a prebuilt image containing one of the "Aztec Boxes" and a development network (local network).
98
-
- You can develop directly on the codespace, push it to a repo, make yourself at home.
99
-
- You can also just use the local network that comes with it. The URL will be logged, you just need to use it as your `PXE_URL`.
100
-
101
-
You can then start, stop, or see the logs of your local network just by calling `local-network` or `npx aztec-app local-network`. Run `local-network -h` for a list of commands.
102
-
103
-
Codespaces are way more powerful than you may initially think. For example, you can connect your local `vscode` to a remote codespace, for a fully contained development environment that doesn't use any of your computer resources!
104
-
105
-
Visit the [codespaces documentation](https://docs.github.com/en/codespaces/overview) for more specific documentation around codespaces.
106
-
107
93
## Using the local network test accounts
108
94
109
95
import { CLI_Add_Test_Accounts } from '@site/src/components/Snippets/general_snippets';
@@ -121,12 +107,18 @@ We'll use the first test account, `test0`, throughout to pay for transactions.
121
107
## Creating an account in the local network
122
108
123
109
```bash
124
-
aztec-wallet create-account -a my-wallet --payment method=fee_juice,feePayer=test0
110
+
aztec-wallet create-account -a my-wallet -f test0
125
111
```
126
112
113
+
:::info
114
+
`aztec-wallet` will generate transaction proofs by default. This is not required when sending transactions on the local network, but it is required when sending transactions on the devnet or mainnet.
115
+
116
+
You can turn off proof generation by adding the `--prover none` flag to the command or setting `PXE_PROVER=none`.
117
+
:::
118
+
127
119
This will create a new wallet with an account and give it the alias`my-wallet`. Accounts can be referenced with `accounts:<alias>`. You will see logs telling you the address, public key, secret key, and more.
128
120
129
-
On successful depoyment of the account, you should see something like this:
121
+
On successful deployment of the account, you should see something like this:
130
122
131
123
```bash
132
124
New account:
@@ -231,7 +223,7 @@ Simulation result: 100n
231
223
232
224
## Playing with hybrid state and private functions
233
225
234
-
In the following steps, we'll moving some tokens from public to private state, and check our private and public balance.
226
+
In the following steps, we'll move some tokens from public to private state and check our private and public balance.
0 commit comments