Skip to content
Draft
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
14 changes: 12 additions & 2 deletions modules/statics/src/coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,12 @@ export const coins = CoinMap.fromCoins([
8,
UnderlyingAsset.CRONOS,
BaseUnit.CRONOS,
[...COSMOS_SIDECHAIN_FEATURES_WITH_STAKING, CoinFeature.CUSTODY_BULK_TRANSACTION]
[
...COSMOS_SIDECHAIN_FEATURES_WITH_STAKING,
CoinFeature.CUSTODY_BULK_TRANSACTION,
CoinFeature.SHARED_COSMOS_SDK,
CoinFeature.SHARED_COSMOS_WP,
]
),
account(
'49d56512-bddb-41aa-ac7f-f4a4c494b412',
Expand All @@ -1032,7 +1037,12 @@ export const coins = CoinMap.fromCoins([
8,
UnderlyingAsset.CRONOS,
BaseUnit.CRONOS,
[...COSMOS_SIDECHAIN_FEATURES_WITH_STAKING, CoinFeature.CUSTODY_BULK_TRANSACTION]
[
...COSMOS_SIDECHAIN_FEATURES_WITH_STAKING,
CoinFeature.CUSTODY_BULK_TRANSACTION,
CoinFeature.SHARED_COSMOS_SDK,
CoinFeature.SHARED_COSMOS_WP,
]
),
account(
'854513b2-cf1a-44b4-879b-e3aae0b5f227',
Expand Down
18 changes: 16 additions & 2 deletions modules/statics/src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -930,16 +930,30 @@ class MantraTestnet extends Testnet implements AccountNetwork {
explorerUrl = 'https://explorer.mantrachain.io/MANTRA-Dukong/tx/';
}

class Cronos extends Mainnet implements AccountNetwork {
class Cronos extends Mainnet implements CosmosNetwork {
name = 'Cronos POS';
family = CoinFamily.CRONOS;
explorerUrl = 'https://cronos-pos.org/explorer/tx/';
// Add these properties to implement CosmosNetwork interface
addressPrefix = 'cro';
validatorPrefix = 'crocncl';
denom = 'basecro';
gasAmount = '30000';
gasLimit = 500000;
validDenoms = ['cro', 'basecro'];
}

class CronosTestnet extends Testnet implements AccountNetwork {
class CronosTestnet extends Testnet implements CosmosNetwork {
name = 'Testnet Cronos POS';
family = CoinFamily.CRONOS;
explorerUrl = 'https://cronos-pos.org/explorer/croeseid4/tx/';
// Add these properties to implement CosmosNetwork interface
addressPrefix = 'tcro';
validatorPrefix = 'tcrocncl';
denom = 'basetcro';
gasAmount = '30000';
gasLimit = 500000;
validDenoms = ['tcro', 'basetcro'];
}

class FetchAi extends Mainnet implements AccountNetwork {
Expand Down
Loading