Skip to content

Commit

Permalink
Update Ethereum Classic RPC and Block Explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
antsankov committed Jun 24, 2020
1 parent 17f71b4 commit abbf6c5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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));
Expand All @@ -73,4 +73,4 @@ public static NetworkInfo getNetworkByChain(int chainId) {
return networkMap.get(chainId);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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/";
Expand Down

0 comments on commit abbf6c5

Please sign in to comment.