Skip to content

Commit

Permalink
Remove JSON rpc mention (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
petarjuki7 authored Dec 20, 2024
1 parent 67dfa26 commit fe7933a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
2 changes: 1 addition & 1 deletion docs/05-developer-tools/01-CLI/01-merod.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Merod

import MerodInstallation from '../../shared/install-merod.mdx';

Merod is a command-line tool that allows you to manage Calimero nodes.
Merod is a command-line tool that allows you to initialize, configure and run Calimero nodes.

<details>
<summary>Installation</summary>
Expand Down
23 changes: 2 additions & 21 deletions docs/05-developer-tools/01-CLI/02-meroctl.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Meroctl

import MeroctlInstallation from '../../shared/install-meroctl.mdx';

Meroctl is a command-line tool that enables you to use node functionalities.
Meroctl is a command-line tool that enables you to interact with your Calimero node directly from the shell.

<details>
<summary>Installation</summary>
Expand All @@ -25,7 +25,6 @@ meroctl [OPTIONS] --node-name <NAME> <COMMAND>
- `app` Command for managing applications
- `context` Command for managing contexts
- `identity` Command for managing applications
- `json-rpc` Executing read and write Json RPC calls
- `proxy` Command for managing proxy contract
- `call` Executing read and write RPC calls
- `help` Print this message or the help of the given subcommand(s)
Expand Down Expand Up @@ -70,7 +69,6 @@ your nodes private key.
| `meroctl --node-name <NAME> app <COMMAND>` | Command for managing applications |
| `meroctl --node-name <NAME> context <COMMAND>` | Command for managing contexts |
| `meroctl --node-name <NAME> identity <COMMAND>` | Command for managing identities |
| `meroctl --node-name <NAME> json-rpc [OPTIONS] --as <EXECUTOR> <CONTEXT_ID> <METHOD>` | Executing read and write Json RPC calls |
| `meroctl --node-name <NAME> proxy <COMMAND>` | Command for managing proxy contract |
| `meroctl --node-name <NAME> call [OPTIONS] --as <EXECUTOR> <CONTEXT_ID> <METHOD>` | Executing read and write RPC calls |

Expand Down Expand Up @@ -113,23 +111,6 @@ Commands:

- `generate` Generate public/private key pair used for context identity

### Executing read and write Json RPC calls

```bash title="Terminal"
meroctl --node-name <NAME> json-rpc [OPTIONS] --as <EXECUTOR> <CONTEXT_ID> <METHOD>
```

Arguments:

- `<CONTEXT_ID>` ContextId of the context
- `<METHOD>` Method to fetch details

Options:

- `--args <ARGS>` JSON arguments to pass to the method
- `--as <EXECUTOR>` Public key of the executor
- `--id <ID>` Id of the JsonRpc execute call [default: dontcare]

### Command for managing proxy contract

```bash title="Terminal"
Expand All @@ -155,4 +136,4 @@ Options:

- `--args <ARGS>` JSON arguments to pass to the method
- `--as <EXECUTOR>` Public key of the executor
- `--id <ID>` Id of the JsonRpc execute call [default: dontcare]
- `--id <ID>` Id of the RPC execute call [default: dontcare]

0 comments on commit fe7933a

Please sign in to comment.