Skip to main content
The initiad CLI is a command-line interface for interacting with the Initia L1. This tool provides comprehensive functionality for developers and users to manage accounts, query blockchain data, submit transactions, and perform other operations.

Overview

With initiad, you can:
  • Account Management: Create, import, and manage blockchain accounts
  • Transaction Operations: Send transactions, delegate tokens, and interact with smart contracts
  • Data Queries: Query blockchain state, account balances, and transaction history
  • Validator Operations: Create validators, delegate stakes, and manage governance proposals
  • Network Interaction: Connect to different networks (mainnet, testnet, local)
initiad is built using the Cosmos SDK and provides a familiar interface for users of other Cosmos-based chains.

Prerequisites

Before installing initiad, ensure you have the following requirements:
  • Go: Version 1.21 or higher
  • Git: For cloning the repository
  • Make: For building the binary
You can verify your Go installation by running go version in your terminal.

Installation

1

Clone the Repository

First, clone the initiad repository from GitHub:
2

Get Version and Checkout

Fetch the current network version and checkout the corresponding tag. Select the network that matches your intended use case:
Always use a specific version tag rather than the main branch for production environments to ensure stability.
Mainnet and testnet may run different versions, so select the appropriate network endpoint.
3

Build and Install

Compile and install the initiad binary:
This will build the binary and install it to your $GOPATH/bin directory.

Verification

After installation, verify that initiad is correctly installed and accessible:

Check CLI Version

Verify Installation Path

Check Available Commands

Network Configuration

By default, initiad connects to the Initia mainnet. You can configure it to connect to different networks:

Next Steps

Now that you have initiad installed and configured, you can:

Create Your First Account

Set up accounts for sending transactions and managing assets

Query Blockchain Data

Learn how to query balances, transactions, and network information

Send Transactions

Execute transactions, transfers, and smart contract interactions