From 7e4bc22fb341362899144f32f216c91754f3e968 Mon Sep 17 00:00:00 2001 From: henry Date: Thu, 30 Nov 2017 22:49:44 -0400 Subject: [PATCH] Api generator pointing to the testnet server --- .../crystalwallet/apigenerator/GrapheneApiGenerator.java | 9 +++++---- .../crystalwallet/manager/BitsharesAccountManager.java | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/cy/agorise/crystalwallet/apigenerator/GrapheneApiGenerator.java b/app/src/main/java/cy/agorise/crystalwallet/apigenerator/GrapheneApiGenerator.java index 926292d..e41a15a 100644 --- a/app/src/main/java/cy/agorise/crystalwallet/apigenerator/GrapheneApiGenerator.java +++ b/app/src/main/java/cy/agorise/crystalwallet/apigenerator/GrapheneApiGenerator.java @@ -57,10 +57,11 @@ public abstract class GrapheneApiGenerator { //TODO network connections //TODO make to work with all Graphene type, not only bitshares - //public static String url = "http://128.0.69.157:8090"; - //private static String equivalentUrl = "http://128.0.69.157:8090"; - public static String url = "wss://bitshares.openledger.info/ws"; - private static String equivalentUrl = "wss://bitshares.openledger.info/ws"; + public static String url = "http://185.208.208.147:11012"; + public static String faucetUrl = "http://185.208.208.147:5010"; + private static String equivalentUrl = "http://185.208.208.147:8090"; + //public static String url = "wss://bitshares.openledger.info/ws"; + //private static String equivalentUrl = "wss://bitshares.openledger.info/ws"; // The message broker for bitshares diff --git a/app/src/main/java/cy/agorise/crystalwallet/manager/BitsharesAccountManager.java b/app/src/main/java/cy/agorise/crystalwallet/manager/BitsharesAccountManager.java index 3da16eb..59ceefd 100644 --- a/app/src/main/java/cy/agorise/crystalwallet/manager/BitsharesAccountManager.java +++ b/app/src/main/java/cy/agorise/crystalwallet/manager/BitsharesAccountManager.java @@ -59,7 +59,7 @@ public class BitsharesAccountManager implements CryptoAccountManager, CryptoNetI String btsIdAccount = BitsharesFaucetApiGenerator.registerBitsharesAccount(grapheneAccount.getName(), new Address(grapheneAccount.getOwnerKey(context),"BTS").toString(), new Address(grapheneAccount.getActiveKey(context),"BTS").toString(), - new Address(grapheneAccount.getMemoKey(context),"BTS").toString(),GrapheneApiGenerator.url); + new Address(grapheneAccount.getMemoKey(context),"BTS").toString(),GrapheneApiGenerator.faucetUrl); if(btsIdAccount !=null) { grapheneAccount.setAccountId(btsIdAccount);