Exemple #1
0
        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;
        }
Exemple #3
0
 public static void MyClassInitialize(TestContext testContext)
 {
     client = new RippleClient(serverUrl);
     client.Connect().Wait();
 }