Skip to content

CLI - Introduction

The command line client provides all of the capabilities for interacting with the fetch ledger such as creating addresses, sending transactions and the governance capabilities. Before starting with the command line client you need to follow the installation instructions here

Connecting to a network

While some users will want to connect a node to the network and sync the entire blockchain, for many however, it is quicker and easier to connect directly to existing publically available nodes.

Connecting to fetchhub mainnet v2 network

To connect to the mainnet v2 network run the following configuration steps:

fetchd config chain-id fetchhub-2
fetchd config node https://rpc-fetchhub.fetch-ai.com:443

Connecting to stargateworld network

To connect to the stargateworld network run the following configuration steps:

fetchd config chain-id stargateworld-3
fetchd config node https://rpc-stargateworld.fetch-ai.com:443

Checkout the Network Information page for more detailed information on the available networks.