Skip to main content

sourceConfigs

This configuration allows you to set the configuration value for your outpost chain. It allows you to switch between the mainnet and the testnet configurations and to override the default endpoints and values used by cosmos-kit.

The sourceConfigs type of the object is the following:

sourceConfigs: {
ChainConfig {
id: string;
name: string;
rpc?: string;
rest?: string;
}
}

This configuration affects the logic of the platform.

id

This is the chain id of your outpost chain you want to use.

id: string;

name

This is the chain name of your outpost chain you want to use.

name: string;

The following parameters could be set to overwrite the default values set by cosmos-kit. If you do not want to overwrite them, simply comment or discard the following lines.

rpc

This is your outpost chain RPC you want to override to the default endpoint used by cosmos-kit.

rpc?: string;

rest

This is your outpost chain LCD you want to override to the default endpoint used by cosmos-kit.

rest?: string;

Useful Information

To get useful information about the various chain, you can give a look at the cosmos/chain-registry repository.