diff --git a/docs/soroban-cli-full-docs.md b/docs/soroban-cli-full-docs.md index 2feb731bf2..a64ebadbe0 100644 --- a/docs/soroban-cli-full-docs.md +++ b/docs/soroban-cli-full-docs.md @@ -22,14 +22,14 @@ This document contains the help content for the `soroban` command-line program. * [`soroban contract read`↴](#soroban-contract-read) * [`soroban contract restore`↴](#soroban-contract-restore) * [`soroban events`↴](#soroban-events) -* [`soroban identity`↴](#soroban-identity) -* [`soroban identity add`↴](#soroban-identity-add) -* [`soroban identity address`↴](#soroban-identity-address) -* [`soroban identity fund`↴](#soroban-identity-fund) -* [`soroban identity generate`↴](#soroban-identity-generate) -* [`soroban identity ls`↴](#soroban-identity-ls) -* [`soroban identity rm`↴](#soroban-identity-rm) -* [`soroban identity show`↴](#soroban-identity-show) +* [`soroban keys`↴](#soroban-keys) +* [`soroban keys add`↴](#soroban-keys-add) +* [`soroban keys address`↴](#soroban-keys-address) +* [`soroban keys fund`↴](#soroban-keys-fund) +* [`soroban keys generate`↴](#soroban-keys-generate) +* [`soroban keys ls`↴](#soroban-keys-ls) +* [`soroban keys rm`↴](#soroban-keys-rm) +* [`soroban keys show`↴](#soroban-keys-show) * [`soroban lab`↴](#soroban-lab) * [`soroban lab token`↴](#soroban-lab-token) * [`soroban lab token wrap`↴](#soroban-lab-token-wrap) @@ -76,7 +76,7 @@ Full CLI reference: https://github.com/stellar/soroban-tools/tree/main/docs/soro * `completion` — Print shell completion code for the specified shell * `contract` — Tools for smart contract developers * `events` — Watch the network for contract events -* `identity` — Create and manage identities including keys and addresses +* `keys` — Create and manage identities including keys and addresses * `lab` — Experiment with early features and expert tools * `network` — Start and configure networks * `version` — Print version information @@ -230,7 +230,7 @@ Extend the time to live ledger of a contract-data ledger entry. If no keys are specified the contract itself is extended. -**Usage:** `soroban contract extend [OPTIONS] --ledgers-to-extend --durability ` +**Usage:** `soroban contract extend [OPTIONS] --ledgers-to-extend --durability --source-account ` ###### **Options:** @@ -266,7 +266,7 @@ If no keys are specified the contract itself is extended. Deploy a contract -**Usage:** `soroban contract deploy [OPTIONS] <--wasm |--wasm-hash >` +**Usage:** `soroban contract deploy [OPTIONS] --source-account <--wasm |--wasm-hash >` ###### **Options:** @@ -337,7 +337,7 @@ Inspect a WASM file listing contract functions, meta, etc Install a WASM file to the ledger without creating a contract instance -**Usage:** `soroban contract install [OPTIONS] --wasm ` +**Usage:** `soroban contract install [OPTIONS] --source-account --wasm ` ###### **Options:** @@ -366,7 +366,7 @@ Generates an "implicit CLI" for the specified contract on-the-fly using the cont soroban contract invoke ... -- --help -**Usage:** `soroban contract invoke [OPTIONS] --id [-- ...]` +**Usage:** `soroban contract invoke [OPTIONS] --id --source-account [-- ...]` ###### **Arguments:** @@ -406,7 +406,7 @@ Optimize a WASM file Print the current value of a contract-data ledger entry -**Usage:** `soroban contract read [OPTIONS] --durability ` +**Usage:** `soroban contract read [OPTIONS] --durability --source-account ` ###### **Options:** @@ -451,7 +451,7 @@ Restore an evicted value for a contract-data legder entry. If no keys are specificed the contract itself is restored. -**Usage:** `soroban contract restore [OPTIONS] --durability ` +**Usage:** `soroban contract restore [OPTIONS] --durability --source-account ` ###### **Options:** @@ -524,11 +524,11 @@ Watch the network for contract events -## `soroban identity` +## `soroban keys` Create and manage identities including keys and addresses -**Usage:** `soroban identity ` +**Usage:** `soroban keys ` ###### **Subcommands:** @@ -542,11 +542,11 @@ Create and manage identities including keys and addresses -## `soroban identity add` +## `soroban keys add` Add a new identity (keypair, ledger, macOS keychain) -**Usage:** `soroban identity add [OPTIONS] ` +**Usage:** `soroban keys add [OPTIONS] ` ###### **Arguments:** @@ -561,11 +561,11 @@ Add a new identity (keypair, ledger, macOS keychain) -## `soroban identity address` +## `soroban keys address` Given an identity return its address (public key) -**Usage:** `soroban identity address [OPTIONS] [NAME]` +**Usage:** `soroban keys address [OPTIONS] ` ###### **Arguments:** @@ -579,11 +579,11 @@ Given an identity return its address (public key) -## `soroban identity fund` +## `soroban keys fund` Fund an identity on a test network -**Usage:** `soroban identity fund [OPTIONS] [NAME]` +**Usage:** `soroban keys fund [OPTIONS] ` ###### **Arguments:** @@ -600,11 +600,11 @@ Fund an identity on a test network -## `soroban identity generate` +## `soroban keys generate` Generate a new identity with a seed phrase, currently 12 words -**Usage:** `soroban identity generate [OPTIONS] ` +**Usage:** `soroban keys generate [OPTIONS] ` ###### **Arguments:** @@ -612,6 +612,7 @@ Generate a new identity with a seed phrase, currently 12 words ###### **Options:** +* `--no-fund` — Do not fund address * `--seed ` — Optional seed to use when generating seed phrase. Random otherwise * `-s`, `--as-secret` — Output the generated identity as a secret key * `--global` — Use global config @@ -624,11 +625,11 @@ Generate a new identity with a seed phrase, currently 12 words -## `soroban identity ls` +## `soroban keys ls` List identities -**Usage:** `soroban identity ls [OPTIONS]` +**Usage:** `soroban keys ls [OPTIONS]` ###### **Options:** @@ -638,11 +639,11 @@ List identities -## `soroban identity rm` +## `soroban keys rm` Remove an identity -**Usage:** `soroban identity rm [OPTIONS] ` +**Usage:** `soroban keys rm [OPTIONS] ` ###### **Arguments:** @@ -655,11 +656,11 @@ Remove an identity -## `soroban identity show` +## `soroban keys show` Given an identity return its private key -**Usage:** `soroban identity show [OPTIONS] [NAME]` +**Usage:** `soroban keys show [OPTIONS] ` ###### **Arguments:** @@ -703,7 +704,7 @@ Wrap, create, and manage token contracts Deploy a token contract to wrap an existing Stellar classic asset for smart contract usage -**Usage:** `soroban lab token wrap [OPTIONS] --asset ` +**Usage:** `soroban lab token wrap [OPTIONS] --asset --source-account ` ###### **Options:** @@ -725,7 +726,7 @@ Deploy a token contract to wrap an existing Stellar classic asset for smart cont Compute the expected contract id for the given asset -**Usage:** `soroban lab token id [OPTIONS] --asset ` +**Usage:** `soroban lab token id [OPTIONS] --asset --source-account ` ###### **Options:**