コード例 #1
0
 ///<param name="account">Stellar AccountResponse instance</param>
 ///<param name="keypair">Account keypair</param>
 public Account(StellarResponses.AccountResponse account, Stellar.KeyPair keypair)
 {
     this.InnerAccount   = account;
     this.InnerKeyPair   = keypair;
     this.AssetIssuers   = new Dictionary <string, string>();
     this.ClientInstance = new Client().HorizonClient;
 }
コード例 #2
0
 ///<summary>Build app instance</summary>
 ///<param name="appAccount">App account</param>
 ///<param name="userAccount">User account</param>
 ///<returns>Returns app instance</returns>
 public App(Blockchain.Account appAccount, Blockchain.Account userAccount)
 {
     this.InnerAppAccount  = appAccount;
     this.InnerUserAccount = userAccount;
     this.ClientInstance   = new Client().HorizonClient;
 }