Hedera Transaction Tool Demo
v0.10.0
v0.10.0
  • Overview
  • Configuration
  • Installation
  • Keys
    • Generate a key
    • Import keys
    • Add public keys
    • Change your key name
    • Change your key password
    • Export your public key
    • Recovery your keys
    • Forgot your key password
    • View your recovery phrase
    • Change your recovery phrase password
    • Forgot your recovery phrase password
  • Accounts
    • Add an account
    • Change account name
    • Import accounts
    • Add new account
    • Add account network
    • Get account balance
    • Get account info
  • Create Transactions
    • Create an account
    • Update an account
    • Transfer hbar
    • File contents update
    • Admin remove content
    • Admin restore content
    • Create transactions from an existing transaction
    • Software update
  • Sign Transactions
    • Individual transactions
    • Multiple (batch) transactions
  • History
  • Settings
  • Software Update
  • CLI Commands
    • Launch CLI
    • Change key formats
    • Get account info
    • Collate transactions
    • Submit transactions
Powered by GitBook
On this page

Was this helpful?

  1. CLI Commands

Change key formats

This command changes a key that was created outside of the tool (like the Hedera portal) to a .pem file for the application to accept. You will need a json file that contains your private and public key. The private key .pem file and public key .pub file that is generated will be in the same location as the .json file.

Sample .json file
{
    "operator": {
        "publicKey": "enter public key",
        "privateKey": "enter private key"
    }

}

Command

convert-key

ck

Argument

Description

Required/Optional

-k

The path to the .json file with the private and public key

Required

-p

Option to disable the password policy check for a minimum of a 10 character password

Optional

bash launch.sh ck

Example

bash launch.sh ck -k </path/to/key/jsonKey.json> 
PreviousLaunch CLINextGet account info

Last updated 3 years ago

Was this helpful?