Setup Chromia Account

Install Chromia CLI

You can install Chromia CLI using a package manager or by downloading it directly from Chromia CLI Packages.

To install Chromia CLI (chr) on macOS, follow these steps:

  1. If Homebrew is not installed, install it by running:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  2. Add the Chromia repository to Homebrew by running the following command:

    brew tap chromia/core https://gitlab.com/chromaway/core-tools/homebrew-chromia.git
  3. Install Chromia CLI with:

    brew install chromia/core/chr
  4. To verify the installation, check the version by running:

    chr --version

Create Private Keys

chr keygen -f eval_engine_key

You can find the generated private key in the eval_engine_key file. Save this private key in your environment variables.

The file will contain content similar to this:

#Keypair generated using secp256k1
#Sat Jan 25 08:25:39 MYT 2025
privkey=XXXXX
pubkey=XXXXX

Important: Do not commit the eval_engine_key file to git version control

Last updated