Skip to content
generate private key and address pairs for harmony tokens
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


To generate private key and address pairs for harmony tokens, first download keygen_linux or keygen_mac executable from bin directory, and then run the following command in Terminal.

(on Linux)
chmod +x keygen_linux 

(on MacOS)
chmod +x keygen_mac 

You can also run key generation by the following instructions:

Install python and python libraries
git clone
cd key-generation 
chmod +x
Generate private key and public address

Keep your private key safe

The program will first ask for your password which is used to encrypt the private key. The encrypted private key is stored in key.json file, so don't lose key.json file and don't forget your password.

The program also creates seed phrase (12 ordered words) which can be used to recover your private key.

This means you can recover the private key from either seed phrase or key.json with your password. The best practice is to write down the seed phrase (12 words) on paper and store it securely, and save the key.json file in offline storage (e.g. an usb or computer that is not connecting to the Internet)

You can’t perform that action at this time.