Connect to a network
To start interacting with a blockchain, you first need to establish a connection to a network node. You can use
LedgerClient as a client object which takes a
NetworkConfig as an argument.
For convenience, some networks' configurations are provided automatically. For example,
NetworkConfig.fetch_mainnet() is the configuration for the Fetch ledger. If you want to interact with other chains, you can customise
NetworkConfig as shown in the example below:
A full list of chain identifiers, denominations and end-points can be found at the Cosmos chain registry.