public static void MyClassInitialize(TestContext testContext) { client = new RippleClient(serverUrl); client.Connect(); serializerSettings = new JsonSerializerSettings(); serializerSettings.NullValueHandling = NullValueHandling.Ignore; serializerSettings.DateTimeZoneHandling = DateTimeZoneHandling.Utc; serializerSettings.Converters.Add(new TransactionConverter()); }
public static async Task MyClassInitialize(TestContext testContext) { client = new RippleClient(serverUrl); client.Connect(); string faucetUrl = "https://faucet.altnet.rippletest.net/accounts"; AccountResponse result = await faucetUrl.PostAsync().ReceiveJson <AccountResponse>(); account = result.Account.Address; }
public static void MyClassInitialize(TestContext testContext) { client = new RippleClient(serverUrl); client.Connect().Wait(); }