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

To connect to the mainnet run the following configuration steps:

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

Connecting to capricorn network

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

fetchd config chain-id capricorn-1
fetchd config node https://rpc-capricorn.fetch.ai:443

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

Back to top