Skip to content

Commit

Permalink
correct consume-notes command
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik1999 committed May 1, 2024
1 parent e0894cd commit 7336979
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions docs/introduction/get-started/create-account-use-faucet.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,16 @@ The Miden client facilitates interaction with the Miden rollup and provides a wa
miden-client init
```

Accept the defaults for `Protocol`, `Node RPC Port`, and `Sqlite file path`by clicking enter.
Accept the default for `Protocol` by clicking enter.

When `Host` comes up, enter `18.203.155.106`

```sh
Host (default: localhost): 18.203.155.106
```

Then accept the defaults for `Node RPC Port`, and `Sqlite file path`.

4. Check you can sync with the blockchain.

```shell
Expand Down Expand Up @@ -143,7 +145,7 @@ State synced to block 179672
4. Consume the note and add the funds from its vault to our account using the following command:
```shell
miden-client tx new consume-notes --account <Account-Id> <Note-Id>
miden-client tx new consume-notes <Account-Id> <Note-Id>
```
Amazing! You just have created a client-side zero-knowledge proof locally on your machine.
Expand Down
2 changes: 1 addition & 1 deletion docs/introduction/get-started/p2p-private.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ In this section, we show you how to make private transactions and send funds to
4. Have the second account consume the note.

```sh
miden-client tx new consume-notes --account <regular-account-ID-B> <input-note-id>
miden-client tx new consume-notes <regular-account-ID-B> <input-note-id>
```

!!! tip
Expand Down
2 changes: 1 addition & 1 deletion docs/introduction/get-started/p2p-public.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ To do this, we use two terminals with their own state (using their own `miden-cl
4. Have the second account consume the note.
```sh
miden-client tx new consume-notes --account <regular-account-ID-C> <input-note-id>
miden-client tx new consume-notes <regular-account-ID-C> <input-note-id>
```
!!! tip
Expand Down

0 comments on commit 7336979

Please sign in to comment.