Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions modules/sdk-core/src/bitgo/environments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ interface EnvironmentTemplate {
apiToken?: string;
};
};
// The key here is coinFamily and it will be same for both mainnet and testnet (eg: 'cronos')
cosmos?: {
[key: string]: {
nodeUrl: string;
};
};
}

export interface Environment extends EnvironmentTemplate {
Expand Down
8 changes: 8 additions & 0 deletions modules/statics/src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ export interface AccountNetwork extends BaseNetwork {
readonly blockExplorerUrl?: string;
}

export interface CosmosNetwork extends AccountNetwork {
readonly addressPrefix: string;
readonly validatorPrefix: string;
readonly denom: string;
readonly gasAmount: string;
readonly gasLimit: number;
}

/**
* Specification name type of the chain. Used in setting up the registry
*/
Expand Down