package com.platform;

/**
 * Created by byfieldj on 3/26/18.
 */

public class JsonRpcConstants {


    // Ethereum rpc endpoint
    public static final String BRD_ETH_RPC_ENDPOINT = "/ethq/ropsten/proxy";
    public static final String ETH_RPC_TX_LIST = "https://ropsten.etherscan.io/api?module=account&action=txlist&address=%s";


}

@@ -16,16 +16,53 @@
 tform;%0A%0A
+import com.breadwallet.BuildConfig;%0A%0A
 /**%0A * C
@@ -129,18 +129,16 @@
 tants %7B%0A
-%0A%0A
     // E
@@ -216,22 +216,75 @@
 T = 
-%22/ethq/ropsten
+BuildConfig.BITCOIN_TESTNET ? %22/ethq/ropsten/proxy%22 : %22ethq/mainnet
 /pro
@@ -336,16 +336,58 @@
 X_LIST =
+ BuildConfig.BITCOIN_TESTNET ?%0A           
  %22https:
@@ -453,14 +453,98 @@
 ress=%25s%22
+ :%0A            %22https://api.etherscan.io/api?module=account&action=txlist&address=%25s%22
 ;
-%0A
 %0A%0A%7D%0A

use testnet or mainnet links accordingly