Developers
Installation

Allora CLI Spec

Allora provides a CLI tools that allows network participants to perform different functions on the Allora Network:

  • allorad - Used to read and write data to the chain, e.g. to create a wallet, create new topics or add/delegate stake to a reputer
    • Refer to the Allorad Reference section for a full list of allorad commands with their explanations

Installing allorad

Prerequisites

You will need to install go to download and use allorad successfully.

To install Go, follow one of the recommended methods below or consult the official Go documentation (opens in a new tab) for the correct download for your operating system. The command-line instructions are based on standard installation locations, but you may customize them as needed.

Installation

curl -sSL https://raw.githubusercontent.com/allora-network/allora-chain/main/install.sh | bash -s -- v0.3.0

A successful installation should output the following line:

YYYY-MM-DD hh:mm:ss (N MB/s) - ‘/tmp/allorad’ saved [116706514/116706514]

Verifying Installation

After installation, verify that allorad is correctly installed and ready to interact with the Allora Network by running:

allorad version

allorad supports general Cosmos SDK and Tendermint commands. You can run the tool to see a list of commands with explanations of what they do:

$ allorad
allorad - the Allora chain

Usage:
  allorad [command]

Available Commands:
  comet       CometBFT subcommands
  completion  Generate the autocompletion script for the specified shell
  config      Utilities for managing application configuration
  debug       Tool for helping with debugging your application
  export      Export state to JSON
  genesis     Application's genesis-related subcommands
  help        Help about any command
  init        Initialize private validator, p2p, genesis, and application configuration files
  keys        Manage your application's keys
  prune       Prune app history states by keeping the recent heights and deleting old heights
  query       Querying subcommands
  rollback    rollback Cosmos SDK and CometBFT state by one height
  snapshots   Manage local snapshots
  start       Run the full node
  status      Query remote node for status
  tx          Transactions subcommands
  version     Print the application binary version information

Flags:
  -h, --help                help for allorad
      --home string         directory for config and data (default "/Users/<USER>/.allorad")
      --log_format string   The logging format (json|plain) (default "plain")
      --log_level string    The logging level (trace|debug|info|warn|error|fatal|panic|disabled or '*:<level>,<key>:<level>') (default "info")
      --log_no_color        Disable colored logs
      --trace               print out full stack trace on errors

Use "allorad [command] --help" for more information about a command.