get

The get command finds a key in the keystore, unlocks it and prints it out.

Usage

kit key get [options] 
Usage:
  kit key get [flags] <address>

Flags:
  -h, --help       help for get
      --show-key   Show the private key

Arguments

  • addressOrIndex - The address of the key or its index on the keystore.

Options

  • --show-key - If set, the private key of the key will be printed out. By default, the command will not print out the private key.

  • -h, --help - Prints out a help message.

Example

  • Get a key using its keystore index.

kit key get 1 --show-key
  • Get a key using its address.

kit key get os1wfx7vp8qfyv98cctvamqwec5xjrj48tpklxklh  --show-key
  • Get a key using its push key address.

kit key get pk1wfx7vp8qfyv98cctvamqwec5xjrj48tpkfwme7  --show-key

Last updated