Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make stellar keys public-key available. #1851

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions FULL_HELP_DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ Create and manage identities including keys and addresses
###### **Subcommands:**

* `add` — Add a new identity (keypair, ledger, OS specific secure store)
* `public-key` — Given an identity return its address (public key)
* `public-key` — Given an identity return its address (public key). Alias: `stellar keys address`
* `fund` — Fund an identity on a test network
* `generate` — Generate a new identity using a 24-word seed phrase
* `ls` — List identities
Expand Down Expand Up @@ -973,7 +973,7 @@ Add a new identity (keypair, ledger, OS specific secure store)

## `stellar keys public-key`

Given an identity return its address (public key)
Given an identity return its address (public key). Alias: `stellar keys address`

**Usage:** `stellar keys public-key [OPTIONS] <NAME>`

Expand Down
4 changes: 2 additions & 2 deletions cmd/soroban-cli/src/commands/keys/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ pub enum Cmd {
/// Add a new identity (keypair, ledger, OS specific secure store)
Add(add::Cmd),

/// Given an identity return its address (public key)
#[command(visible_alias = "address")]
/// Given an identity return its address (public key). Alias: `stellar keys address`
#[command(alias = "address")]
PublicKey(public_key::Cmd),

/// Fund an identity on a test network
Expand Down
Loading