Skip to content

Commit 79ba486

Browse files
authored
doc: add exmples
1 parent 5608f73 commit 79ba486

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

docs/cdk/getting-started/cdk-cli-tool.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ This CLI tool is an entry point for chain administrators to access the CDK syste
1010

1111
As the chain admin, you simply need to download the precompiled [CDK package binaries](https://github.com/0xPolygon/cdk/releases/).
1212

13-
There is no need to install Golang, browse the CDK repo, or set up any additional tools. Moreover, the process is entirely trustless.
14-
1513
## Running the CLI tool
1614

1715
!!! info
@@ -48,6 +46,12 @@ Options:
4846
* `-c, --components <COMPONENTS>` - Components to run [env: `CDK_COMPONENTS=`]
4947
* `-h, --help` - Print help
5048

49+
Example:
50+
51+
```
52+
cdk node --config /etc/cdk/cdk-node-config.toml --components sequence-sender,aggregator
53+
```
54+
5155
### `cdk erigon`
5256

5357
You can run a cdk-erigon RPC node that syncs to an existing chain using the default parameters.
@@ -71,3 +75,9 @@ Usage: `cdk versions`
7175

7276
Options:
7377
* `-h, --help` - Print help
78+
79+
Example:
80+
81+
```
82+
cdk erigon --config /etc/cdk/cdk-node-config.toml --chain genesis.json
83+
```

0 commit comments

Comments
 (0)