Hedera Transaction Tool Demo
v0.2.0
v0.2.0
  • Overview
  • Configuration
  • Installation
  • Keys
    • Generate a key
    • Change key name
    • Export your public key
    • Import keys
    • Add public keys
    • Recovery your keys
    • View your recovery phrase
  • Accounts
    • Add an account
    • Change account name
    • Import accounts
  • 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
  • Sign Transactions
    • Individual transactions
    • Multiple (batch) transactions
  • Forgot Your Password
  • 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?