TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/axelarnetwork/axelar-core/llms.txt
Use this file to discover all available pages before exploring further.
axelard keys command group manages cryptographic keys stored in a local keyring. These keys are used to sign transactions, operate validators, and construct multisig accounts. The keyring supports multiple storage backends, each with different security trade-offs.
Keyring Backends
Allkeys subcommands accept a --keyring-backend flag that selects how private key material is stored and protected on the local machine.
| Backend | Description |
|---|---|
os | Uses the operating system’s native credential store (Keychain on macOS, SecretService on Linux). Recommended for production. |
file | Encrypted file in the app’s home directory. Prompts for a passphrase on each access. The default backend. |
kwallet | KDE Wallet Manager (Linux only). Requires kwallet to be running. |
pass | Uses the pass CLI tool backed by GnuPG. Requires pass and gpg to be installed. |
test | Unencrypted on-disk storage. Never use in production. For automated testing only. |
memory | In-memory only. Keys are lost when the process exits. |
axelard keys add
Generates a new private key (or recovers an existing one from a mnemonic) and stores it in the keyring under the given name.
Name to assign to the key in the keyring.
Prompt for a BIP39 mnemonic seed phrase to recover an existing key instead of generating a new one.
Path to a file containing the mnemonic (used with
--recover or --interactive).Comma-separated list of key names already in the keyring to form a legacy multisig public key.
Minimum number of signatures required for the multisig key. Defaults to
1.When set, multisig keys are used in the exact order provided rather than sorted by address.
BIP44 coin type for HD key derivation. Defaults to
118 (Cosmos).BIP44 account number for HD derivation. Max
2147483647.BIP44 address index for HD derivation. Max
2147483647.Manual BIP32 derivation path, overriding the BIP44 config.
Key signing algorithm:
secp256k1 (default) or ed25519.Store only a reference to a private key held on a connected Ledger hardware device.
Generate (or recover) the key without writing it to the keyring.
Suppress printing the seed phrase to the terminal (useful when other people may see the screen).
Interactively prompt for BIP44 path, BIP39 mnemonic, and passphrase. Short form:
-i.Import an arbitrary public key in JSON format. No private key will be stored.
Import an arbitrary public key in base64 format. No private key will be stored.
axelard keys list
Lists all public keys stored in the keyring, along with their associated name, type, and address.
Output only key names, one per line. Short form:
-n.Output format:
text or json. Defaults to text.axelard keys show
Retrieves and displays information about one or more keys by name or address. When multiple keys are provided, an ephemeral multisig key named multi is constructed.
Output only the bech32 address. Cannot be combined with
--output. Short form: -a.Output only the public key. Cannot be combined with
--output. Short form: -p.Bech32 prefix encoding:
acc (account), val (validator operator), or cons (consensus). Defaults to acc.When multiple key names are provided, sets the signing threshold for the constructed multisig view. Defaults to
1.Output the address on a connected Ledger device display. Cannot be combined with
--pubkey. Short form: -d.axelard keys delete
Removes one or more keys from the keyring by name.
Skip the confirmation prompt when deleting offline or Ledger key references. Defaults to
true. Short form: -y.Remove the key unconditionally without requiring a passphrase. Deprecated. Short form:
-f.Deleting a Ledger key reference only removes the local public key reference — the private key on the hardware device is unaffected.
axelard keys export
Exports a private key from the keyring as an ASCII-armored encrypted string (PEM format). The exported string can be re-imported with axelard keys import.
Export the raw private key bytes as a hexadecimal string. Requires
--unsafe.Enable unsafe operations. Required when using
--unarmored-hex.axelard keys import
Imports an ASCII-armored private key file (previously exported with axelard keys export) into the local keyring.
Name to assign to the imported key in the keyring.
Path to the ASCII-armored PEM file exported by
axelard keys export.axelard keys import-hex
Imports a private key encoded as a raw hexadecimal string into the local keyring.
Name to assign to the imported key.
Hex-encoded private key bytes.
Signing algorithm of the key:
secp256k1 (default) or ed25519. Run axelard keys list-key-types for all supported types.axelard keys mnemonic
Generates a fresh BIP39 mnemonic phrase (seed phrase) from system entropy. Useful for generating a mnemonic to later use with --recover.
Prompts the user to supply their own entropy instead of reading from the system. For advanced users who want to provide custom randomness.
This command generates a mnemonic but does not create or save a key. Use
axelard keys add --recover to derive and store a key from the mnemonic.axelard keys parse
Converts an address or public key between hexadecimal and bech32 encoding formats, printing all variant representations.
axelard keys rename
Renames an existing key in the keyring.
Skip confirmation prompt when renaming offline or Ledger key references. Defaults to
true. Short form: -y.Renaming a Ledger key reference only renames the local public key record — the private key on the hardware device is unchanged.
Common Inherited Flags
Allaxelard keys subcommands accept these parent flags:
Select keyring backend:
os, file, kwallet, pass, test, or memory. Defaults to file.Override the keyring directory. Defaults to the app’s
--home directory.App home directory. Defaults to
$HOME/.axelar.Output format:
text or json. Defaults to text.