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: yarn-project/aztec-cli/README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -324,7 +324,7 @@ Options:
324
324
-`-c, --contract-abi <fileLocation>`: The compiled contract's ABI in JSON format. You can also use one of Aztec's example contracts found in (@aztec/noir-contracts)[https://www.npmjs.com/package/@aztec/noir-contracts], e.g. PrivateTokenContractAbi.
325
325
-`-ca, --contract-address <address>`: Address of the contract.
326
326
-`-k, --private-key <string>`: The sender's private key.
327
-
-`-u, --rpcUrl <string>`: URL of the Aztec RPC. Default: `http://localhost:8080`.
327
+
-`-u, --rpc-url <string>`: URL of the Aztec RPC. Default: `http://localhost:8080`.
328
328
329
329
This command calls a function on an Aztec contract. It requires the contract's ABI, address, function name, and optionally, function arguments. The command executes the function call and displays the transaction details.
330
330
@@ -352,7 +352,7 @@ Options:
352
352
-`-c, --contract-abi <fileLocation>`: The compiled contract's ABI in JSON format. You can also use one of Aztec's example contracts found in (@aztec/noir-contracts)[https://www.npmjs.com/package/@aztec/noir-contracts], e.g. PrivateTokenContractAbi.
353
353
-`-ca, --contract-address <address>`: Address of the contract.
354
354
-`-f, --from <string>`: Public key of the transaction viewer. If empty, it will try to find an account in the RPC.
355
-
-`-u, --rpcUrl <string>`: URL of the Aztec RPC. Default: `http://localhost:8080`.
355
+
-`-u, --rpc-url <string>`: URL of the Aztec RPC. Default: `http://localhost:8080`.
356
356
357
357
This command simulates the execution of a view function on a deployed contract without modifying the state. It requires the contract's ABI, address, function name, and optionally, function arguments. The command displays the result of the view function.
0 commit comments