1. Overview
  2. Developer Tutorials
  3. Autheo Development Environment Setup

Autheo Development Environment Setup

Autheo uses an underlying Cronos EVM architecture based on the Cosmos SDK. When developing for the Autheo blockchain, you will need to install cronosd, the command-line interface(CLI) associated with Cronos blockchains. The following document while guide you through the installation process for cronosd.

Install Dependencies

Before you install cronosd, you'll need some basic dependencies.

Install Go (Golang)

The Cosmos SDK, which both Autheo and Cronos are built on, uses Go as its primary programming language. The first thing you'll need is to install Go on your machine.

Install Go on macOS/Linux: If you’re on macOS or Linux, you can install Go using Homebrew (for macOS) or your package manager (for Linux).

macOS:

brew install go

Ubuntu/Debian:

sudo apt update
sudo apt install golang-go

For other systems or installation methods, follow the official instructions from the Go website: Go Installation.

Install Git

You will also need Git to clone the Cronos repository from GitHub. If Git is not already installed on your system, you can install it as follows:

macOS:

brew install git

Ubuntu/Debian:

sudo apt install git

For other operating systems, visit: Git Downloads.

Install Cronosd

Clone the Cronos GitHub Repository

Once you have Git and Go installed, the next step is to clone the Cronos repository from GitHub.

Run the following commands to clone the Cronos repository:

git clone https://github.com/crypto-org-chain/cronos.git
cd cronos

This will download the source code for cronosd to your local machine.

Checkout the Latest Release

The Cronos repository may have multiple branches. To ensure you're working with the latest stable release, check out the most recent release tag.

git checkout v1.2.2

Replace v1.2.2 with the latest stable version number if necessary. You can check the latest releases on the Cronos GitHub Releases Page.

Build Cronosd

To build cronosd from source, run the following command from within the cloned cronos directory:

make install

This command compiles the cronosd binary and places it in your $GOPATH/bin directory.

After successful installation, you should be able to run cronosd from the terminal. If it is not working, try restarting your terminal or rebooting your machine.

You can verify the installation by checking the version of cronosd:

cronosd version

If everything is set up correctly, this command will output the version of cronosd that you installed.

Next Steps

Related Articles


Was this article helpful?
©Autheo 2024