} // End print welcome static void loadKeys() { publicKey = "bank.CloudCoin.global"; privateKey = "0DECE3AF-43EC-435B-8C39-E2A5D0EA8676"; email = "*****@*****.**"; Console.Out.WriteLine("Public key is " + publicKey); Console.Out.WriteLine("Private key is " + privateKey); Console.Out.WriteLine("Email is " + email); myKeys = new BankKeys(publicKey, privateKey, email); }
} // End print welcome static void loadKeys() { //insert own keys url = ""; privateKey = ""; account = ""; Console.Out.WriteLine("Public key is " + url); Console.Out.WriteLine("Private key is " + privateKey); Console.Out.WriteLine("account is " + account); myKeys = new BankKeys(url, privateKey, account); }
//Constructor public CloudBankUtils(BankKeys startKeys) { keys = startKeys; cli = new HttpClient(); totalCoinsWithdrawn = 0; onesInBank = 0; fivesInBank = 0; twentyFivesInBank = 0; hundresInBank = 0; twohundredfiftiesInBank = 0; }//end constructor
//Constructor public CloudBankUtils(BankKeys startKeys) { keys = startKeys; haveKeys = false; if (startKeys != null) { haveKeys = true; } cli = new HttpClient(); totalCoinsWithdrawn = 0; onesInBank = 0; fivesInBank = 0; twentyFivesInBank = 0; hundredsInBank = 0; twohundredfiftiesInBank = 0; }//end constructor