File tree Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Original file line number Diff line number Diff line change @@ -1022,7 +1022,12 @@ export const coins = CoinMap.fromCoins([
1022
1022
8 ,
1023
1023
UnderlyingAsset . CRONOS ,
1024
1024
BaseUnit . CRONOS ,
1025
- [ ...COSMOS_SIDECHAIN_FEATURES_WITH_STAKING , CoinFeature . CUSTODY_BULK_TRANSACTION ]
1025
+ [
1026
+ ...COSMOS_SIDECHAIN_FEATURES_WITH_STAKING ,
1027
+ CoinFeature . CUSTODY_BULK_TRANSACTION ,
1028
+ CoinFeature . SHARED_COSMOS_SDK ,
1029
+ CoinFeature . SHARED_COSMOS_WP ,
1030
+ ]
1026
1031
) ,
1027
1032
account (
1028
1033
'49d56512-bddb-41aa-ac7f-f4a4c494b412' ,
@@ -1032,7 +1037,12 @@ export const coins = CoinMap.fromCoins([
1032
1037
8 ,
1033
1038
UnderlyingAsset . CRONOS ,
1034
1039
BaseUnit . CRONOS ,
1035
- [ ...COSMOS_SIDECHAIN_FEATURES_WITH_STAKING , CoinFeature . CUSTODY_BULK_TRANSACTION ]
1040
+ [
1041
+ ...COSMOS_SIDECHAIN_FEATURES_WITH_STAKING ,
1042
+ CoinFeature . CUSTODY_BULK_TRANSACTION ,
1043
+ CoinFeature . SHARED_COSMOS_SDK ,
1044
+ CoinFeature . SHARED_COSMOS_WP ,
1045
+ ]
1036
1046
) ,
1037
1047
account (
1038
1048
'854513b2-cf1a-44b4-879b-e3aae0b5f227' ,
Original file line number Diff line number Diff line change @@ -930,16 +930,30 @@ class MantraTestnet extends Testnet implements AccountNetwork {
930
930
explorerUrl = 'https://explorer.mantrachain.io/MANTRA-Dukong/tx/' ;
931
931
}
932
932
933
- class Cronos extends Mainnet implements AccountNetwork {
933
+ class Cronos extends Mainnet implements CosmosNetwork {
934
934
name = 'Cronos POS' ;
935
935
family = CoinFamily . CRONOS ;
936
936
explorerUrl = 'https://cronos-pos.org/explorer/tx/' ;
937
+ // Add these properties to implement CosmosNetwork interface
938
+ addressPrefix = 'cro' ;
939
+ validatorPrefix = 'crocncl' ;
940
+ denom = 'basecro' ;
941
+ gasAmount = '30000' ;
942
+ gasLimit = 500000 ;
943
+ validDenoms = [ 'cro' , 'basecro' ] ;
937
944
}
938
945
939
- class CronosTestnet extends Testnet implements AccountNetwork {
946
+ class CronosTestnet extends Testnet implements CosmosNetwork {
940
947
name = 'Testnet Cronos POS' ;
941
948
family = CoinFamily . CRONOS ;
942
949
explorerUrl = 'https://cronos-pos.org/explorer/croeseid4/tx/' ;
950
+ // Add these properties to implement CosmosNetwork interface
951
+ addressPrefix = 'tcro' ;
952
+ validatorPrefix = 'tcrocncl' ;
953
+ denom = 'basetcro' ;
954
+ gasAmount = '30000' ;
955
+ gasLimit = 500000 ;
956
+ validDenoms = [ 'tcro' , 'basetcro' ] ;
943
957
}
944
958
945
959
class FetchAi extends Mainnet implements AccountNetwork {
You can’t perform that action at this time.
0 commit comments