Docs: initial update jcli/certificate
@@ -4,35 +4,36 @@ Tooling for offline transaction creation
## Building stake pool registration certificate
-Builds a signed certificate.
+Builds a stake pool registration certificate.
-The process can be split into steps on the first step certificate
-is created.
```sh
jcli certificate new stake-pool-registration \
- --vrf-key <vrf-public-key> --kes-key <kes-public-key> \
- [--owner <owner-public-key>] \
+ --vrf-key <vrf-public-key> \
+ --kes-key <kes-public-key> \
+ --start-validity <seconds-since-start> \
+ --management-threshold <THRESHOLD> \
+ --owner <owner-public-key> \
+ [--operator <operator-public-key>] \
--serial <node-serial> \
- <output-file>
+ [<output-file>]
```
-if output-file is omited result will be written to stdout. Once
-certificate is ready you must sign it with the private keys of
-all the owners:
+Where:
-```sh
-jcli certificate sign <key> <input-file> <output-file>
-```
+- `--operator <operator-public-key>` - *optional*, public key of the operator(s) of the pool.
+- `output-file` - *optional*, write the output to the given file or print it to the standard output if not defined
## Building stake pool delegation certificate
-Builds a stake pool delegation certificate
+Builds a stake pool delegation certificate.
```sh
-jcli certificate new stake-delegation [OPTIONS] <STAKE_KEY> <STAKE_POOL_IDS>...
+jcli certificate new stake-delegation <STAKE_KEY> <STAKE_POOL_IDS> [--output <output-file>]
```
-Options are:
--o, --output <output> - write the output to the given file or print it to the standard output if not defined
-<STAKE_KEY> - the public key used in the stake key registration
-<STAKE_POOL_IDS>... - hex-encoded stake pool IDs and their numeric weights in format "pool_id:weight". If weight is not provided, it defaults to 1.
+Where:
+
+- `-o, --output <output-file>` - *optional*, write the output to the given file or print it to the standard output if not defined
+- `<STAKE_KEY>` - the public key used in the stake key registration
+- `<STAKE_POOL_IDS>...` - hex-encoded stake pool IDs and their numeric weights in format **"pool_id:weight"**.
+ If *weight* is not provided, *it defaults to 1*.
