Api generator pointing to the testnet server
This commit is contained in:
parent
a541a70c1a
commit
7e4bc22fb3
2 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue