26 lines
453 B
TypeScript
26 lines
453 B
TypeScript
/**
|
|
* Types
|
|
*/
|
|
export type TCosmosChain = keyof typeof COSMOS_MAINNET_CHAINS
|
|
|
|
/**
|
|
* Chains
|
|
*/
|
|
export const COSMOS_MAINNET_CHAINS = {
|
|
'cosmos:cosmoshub-4': {
|
|
chainId: 'cosmoshub-4',
|
|
name: 'Cosmos Hub',
|
|
logo: '/chain-logos/cosmos-cosmoshub-4.png',
|
|
rgb: '107, 111, 147',
|
|
rpc: ''
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Methods
|
|
*/
|
|
export const COSMOS_SIGNING_METHODS = {
|
|
COSMOS_SIGN_DIRECT: 'cosmos_signDirect',
|
|
COSMOS_SIGN_AMINO: 'cosmos_signAmino'
|
|
}
|