public static void Init() { //Enable/Disable Debug. UStellarDebug.SetDebug(debug); //Info UStellarDebug.Debug(string.Concat("Stellar SDK - Started")); }
public static Server GetServer() { //Info if (server == null) { UStellarDebug.Debug(string.Concat("Stellar SDK - You don't have any 'Server' set up!"), DebugType.Warning); } return(server); }
public static void SetNetwork(Network network, Server server) { UStellarManager.network = network; stellar_dotnet_sdk.Network.Use(network); UStellarDebug.Debug(string.Concat("Network Setup", Environment.NewLine, "Passphrase: ", network.NetworkPassphrase), DebugType.Info); SetServer(server); }
public static Network GetNetwork() { //Info if (network == null) { UStellarDebug.Debug(string.Concat("Stellar SDK - You don't have any 'Network' set up!"), DebugType.Warning); } return(network); }
public static void SetServer(Server server) { UStellarManager.server = server; UStellarDebug.Debug("Server Setup", DebugType.Info); }