[][src]Module solana_clap_utils::keypair

Structs

KeypairWithSource

Enums

KeypairUrl
Source

Constants

ASK_KEYWORD
ASK_SEED_PHRASE_ARG
SKIP_SEED_PHRASE_VALIDATION_ARG

Functions

keypair_from_seed_phrase

Reads user input from stdin to retrieve a seed phrase and passphrase for keypair derivation Optionally skips validation of seed phrase Optionally confirms recovered public key

keypair_input

Checks CLI arguments to determine whether a keypair should be:

parse_keypair_path
presigner_from_pubkey_sigs
prompt_passphrase

Prompts user for a passphrase and then asks for confirmirmation to check for mistakes

signer_from_path