We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d17f6de commit fcfdedaCopy full SHA for fcfdeda
core/src/main/java/org/web3j/account/LocalWeb3jAccount.java
@@ -28,7 +28,9 @@ public class LocalWeb3jAccount {
28
private static final Path EPIRUS_CONFIG_PATh =
29
Paths.get(System.getProperty("user.home"), ".epirus", ".config");
30
31
- private static String NODE_RPC_ENDPOINT = "https://%s-eth.epirus.io/%s";
+ public static final String DEFAULT_APP_URL =
32
+ System.getenv().getOrDefault("EPIRUS_APP_URL", "https://app.epirus.io");
33
+ private static final String NODE_RPC_ENDPOINT = DEFAULT_APP_URL + "/api/rpc/%s/%s/";
34
35
public static HttpService getOnlineServicesHttpService(final Network network) throws Exception {
36
if (configExists()) {
0 commit comments