Documentation
WebsiteMineGitHubFaucet
  • Welcome to MakeOS
  • Introduction
    • Install
    • Quick Start
    • Set Up a Private Network
    • Get Test Coins
    • Track a Repository
    • What is MakeOS
    • How it Works
    • Tokenomics ($MAKE)
    • Dilithium (Deprecated)
    • Roadmap
    • Team
  • Concepts
    • Repository
      • Register a Repository
      • Initialize a New Repository
      • Repository Governance
      • Access Control Config
    • Namespace
    • Key
    • Issue Management
    • Merge Request
    • Transactions
      • Register a Repository
      • Send Coins
    • Validator
    • Host
    • Remote
  • JavaScript Console API
    • repo
    • pushkey
    • namespace
    • node
    • user
    • transaction
    • ticket
  • KIT CLI Reference
    • Overview
    • init
    • start
    • console
    • attach
    • key
      • create
      • gen
      • get
      • import
      • list
      • update
    • tx
      • get
    • repo
      • config
      • create
      • hook
      • init
      • vote
    • user
      • send
    • pk
      • register
    • sign
      • commit
      • note
      • tag
    • contributor
      • add
    • issue
      • close
      • create
      • list
      • read
      • reopen
      • status
    • mr
      • checkout
      • close
      • create
      • fetch
      • list
      • read
      • reopen
      • status
Powered by GitBook
On this page
  • Usage
  • Arguments
  • Options
  • Example

Was this helpful?

  1. KIT CLI Reference
  2. key

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
Enter your passphrase to unlock the key
Passphrase> ******
✅ Key revealed successfully!
- User Address: os1wfx7vp8qfyv98cctvamqwec5xjrj48tpklxklh
- Push Address: pk1wfx7vp8qfyv98cctvamqwec5xjrj48tpkfwme7
- Public Key: 49G1iGk8fY7RQcJQ7LfQdThdyfaN8dKfxhGQSh8uuNaK35CgazZ
- Private Key: wetT9rgtetCHJV69oGCLpqQ8MiNTzB9...ipaEUyaKgi8QGmzRUPU1SmrfNSy4j7DDJ
  • Get a key using its address.

kit key get os1wfx7vp8qfyv98cctvamqwec5xjrj48tpklxklh  --show-key
Enter your passphrase to unlock the key
Passphrase> ******
✅ Key revealed successfully!
- User Address: os1wfx7vp8qfyv98cctvamqwec5xjrj48tpklxklh
- Push Address: pk1wfx7vp8qfyv98cctvamqwec5xjrj48tpkfwme7
- Public Key: 49G1iGk8fY7RQcJQ7LfQdThdyfaN8dKfxhGQSh8uuNaK35CgazZ
- Private Key: wetT9rgtetCHJV69oGCLpqQ8MiNTzB9...ipaEUyaKgi8QGmzRUPU1SmrfNSy4j7DDJ
  • Get a key using its push key address.

kit key get pk1wfx7vp8qfyv98cctvamqwec5xjrj48tpkfwme7  --show-key
Enter your passphrase to unlock the key
Passphrase> ******
✅ Key revealed successfully!
- User Address: os1wfx7vp8qfyv98cctvamqwec5xjrj48tpklxklh
- Push Address: pk1wfx7vp8qfyv98cctvamqwec5xjrj48tpkfwme7
- Public Key: 49G1iGk8fY7RQcJQ7LfQdThdyfaN8dKfxhGQSh8uuNaK35CgazZ
- Private Key: wetT9rgtetCHJV69oGCLpqQ8MiNTzB9...ipaEUyaKgi8QGmzRUPU1SmrfNSy4j7DDJ
PreviousgenNextimport

Last updated 4 years ago

Was this helpful?