diff --git a/extensions/constants.ts b/extensions/constants.ts index 55d97c00..847cfd6e 100644 --- a/extensions/constants.ts +++ b/extensions/constants.ts @@ -24,8 +24,10 @@ export enum NetworkNames { Moonbase = "moonbase", Fuse = 'fuse', FuseSparknet = 'fuseSparknet', - Celo = "celo", - CeloTest = "celoTest", + Celo = 'celo', + CeloTest = 'celoTest', + Cronos = "cronos", + CronosTest = 'cronosTest', Etherspot = 'etherspot', LocalA = 'localA', LocalB = 'localB', @@ -195,6 +197,16 @@ export const NETWORK_CONFIGS: { defaultProviderUrl : 'https://rpc.fusespark.io', defaultGasPrice: 1, }, + [NetworkNames.Cronos]: { + chainId: 122, + defaultProviderUrl: 'https://evm.cronos.org', + defaultGasPrice: 20, + }, + [NetworkNames.CronosTest]: { + chainId: 338, + defaultProviderUrl : 'https://evm-t3.cronos.org', + defaultGasPrice: 2100 + }, [NetworkNames.Etherspot]: { chainId: 4386, defaultProviderUrl: 'https://qa-etherspot-testnet.pillarproject.io', diff --git a/package.json b/package.json index a65df752..e2bbd268 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@etherspot/contracts", - "version": "1.8.0", + "version": "1.8.1", "description": "Etherspot Solidity contracts", "keywords": [ "ether", @@ -52,6 +52,8 @@ "deploy:celoTest": "hardhat deploy --network celoTest", "deploy:fuse": "hardhat deploy --network fuse", "deploy:fuseSparknet": "hardhat deploy --network fuseSparknet", + "deploy:cronos": "hardhat deploy --network cronos", + "deploy:cronosTest": "hardhat deploy --network cronosTest", "deploy:etherspot": "hardhat deploy --network etherspot", "deploy:localA": "hardhat deploy --network localA", "deploy:localB": "hardhat deploy --network localB",