diff --git a/app/src/main/java/com/alphawallet/app/repository/EthereumNetworkBase.java b/app/src/main/java/com/alphawallet/app/repository/EthereumNetworkBase.java index df021d11cb..354a112e7c 100644 --- a/app/src/main/java/com/alphawallet/app/repository/EthereumNetworkBase.java +++ b/app/src/main/java/com/alphawallet/app/repository/EthereumNetworkBase.java @@ -64,7 +64,7 @@ public abstract class EthereumNetworkBase implements EthereumNetworkRepositoryTy public static final String BACKUP_INFURA_KEY = BuildConfig.XInfuraAPI; public static final String MAINNET_FALLBACK_RPC_URL = !getAmberDataKey().startsWith("obtain") ? "https://rpc.web3api.io?x-api-key=" + getAmberDataKey() : MAINNET_RPC_URL; - public static final String CLASSIC_RPC_URL = "https://ethereumclassic.network"; + public static final String CLASSIC_RPC_URL = "https://www.ethercluster.com/etc"; public static final String XDAI_RPC_URL = "https://dai.poa.network"; public static final String POA_RPC_URL = "https://core.poa.network/"; public static final String ROPSTEN_RPC_URL = "https://ropsten.infura.io/v3/" + getInfuraKey(); @@ -110,7 +110,7 @@ public abstract class EthereumNetworkBase implements EthereumNetworkRepositoryTy MAINNET_BLOCKSCOUT), new NetworkInfo(C.CLASSIC_NETWORK_NAME, C.ETC_SYMBOL, CLASSIC_RPC_URL, - "https://gastracker.io/tx/",CLASSIC_ID, true, CLASSIC_RPC_URL, null, C.CLASSIC_TICKER_NAME, CLASSIC_BLOCKSCOUT), + "https://blockscout.com/etc/mainnet/tx/",CLASSIC_ID, true, CLASSIC_RPC_URL, "https://blockscout.com/etc/mainnet/", C.CLASSIC_TICKER_NAME, CLASSIC_BLOCKSCOUT), new NetworkInfo(C.XDAI_NETWORK_NAME, C.xDAI_SYMBOL, XDAI_RPC_URL, diff --git a/dmz/src/main/java/com/alphawallet/token/web/Service/EthRPCNodes.java b/dmz/src/main/java/com/alphawallet/token/web/Service/EthRPCNodes.java index 933a41e72f..d5df531897 100644 --- a/dmz/src/main/java/com/alphawallet/token/web/Service/EthRPCNodes.java +++ b/dmz/src/main/java/com/alphawallet/token/web/Service/EthRPCNodes.java @@ -16,7 +16,7 @@ public class EthRPCNodes { private static final String MAINNET_RPC_URL = "https://mainnet.infura.io/v3/" + getInfuraKey(); - private static final String CLASSIC_RPC_URL = "https://web3.gastracker.io"; + private static final String CLASSIC_RPC_URL = "https://www.ethercluster.com/etc"; private static final String XDAI_RPC_URL = "https://dai.poa.network"; private static final String POA_RPC_URL = "https://core.poa.network/"; private static final String ROPSTEN_RPC_URL = "https://ropsten.infura.io/v3/" + getInfuraKey(); diff --git a/lib/src/main/java/com/alphawallet/ethereum/EthereumNetworkBase.java b/lib/src/main/java/com/alphawallet/ethereum/EthereumNetworkBase.java index da97cf654b..75c9af1a38 100644 --- a/lib/src/main/java/com/alphawallet/ethereum/EthereumNetworkBase.java +++ b/lib/src/main/java/com/alphawallet/ethereum/EthereumNetworkBase.java @@ -21,7 +21,7 @@ public abstract class EthereumNetworkBase { // implements EthereumNetworkReposit public static final int ARTIS_TAU1_ID = 246785; public static final String MAINNET_RPC_URL = "https://mainnet.infura.io/v3/da3717f25f824cc1baa32d812386d93f"; - public static final String CLASSIC_RPC_URL = "https://ethereumclassic.network"; + public static final String CLASSIC_RPC_URL = "https://www.ethercluster.com/etc"; public static final String XDAI_RPC_URL = "https://dai.poa.network"; public static final String POA_RPC_URL = "https://core.poa.network/"; public static final String ROPSTEN_RPC_URL = "https://ropsten.infura.io/v3/da3717f25f824cc1baa32d812386d93f"; @@ -46,7 +46,7 @@ public abstract class EthereumNetworkBase { // implements EthereumNetworkReposit { put(MAINNET_ID, new NetworkInfo("Ethereum", "ETH", MAINNET_RPC_URL, "https://etherscan.io/tx/", MAINNET_ID, true, "ethereum", MAINNET_BLOCKSCOUT)); - put(CLASSIC_ID, new NetworkInfo("Ethereum Classic", "ETC", CLASSIC_RPC_URL, "https://gastracker.io/tx/", + put(CLASSIC_ID, new NetworkInfo("Ethereum Classic", "ETC", CLASSIC_RPC_URL, "https://blockscout.com/etc/mainnet/tx/", CLASSIC_ID, true, "ethereum-classic", CLASSIC_BLOCKSCOUT)); put(XDAI_ID, new NetworkInfo("xDAI", "xDAI", XDAI_RPC_URL, "https://blockscout.com/poa/dai/tx/", XDAI_ID, false, "dai", XDAI_BLOCKSCOUT)); @@ -73,4 +73,4 @@ public static NetworkInfo getNetworkByChain(int chainId) { return networkMap.get(chainId); } -} \ No newline at end of file +} diff --git a/lib/src/main/java/com/alphawallet/token/entity/MagicLinkInfo.java b/lib/src/main/java/com/alphawallet/token/entity/MagicLinkInfo.java index 038369b697..1a0cf8e1e0 100644 --- a/lib/src/main/java/com/alphawallet/token/entity/MagicLinkInfo.java +++ b/lib/src/main/java/com/alphawallet/token/entity/MagicLinkInfo.java @@ -24,7 +24,7 @@ public class MagicLinkInfo //Etherscan domains private static final String mainNetEtherscan = "https://cn.etherscan.com/"; - private static final String classicEtherscan = "https://gastracker.io/"; + private static final String classicEtherscan = "https://blockscout.com/etc/mainnet/"; private static final String callistoEtherscan = "https://etherscan.io/"; //TODO: determine callisto etherscan private static final String kovanEtherscan = "https://kovan.etherscan.io/"; private static final String ropstenEtherscan = "https://ropsten.etherscan.io/";