Example #1
0
 public Wallet(Account acc = null, bool test = true)
 {
     _repo = new AccountsRepository();
     _repo.Add(acc);
     _zil  = test ? new Zilliqa() : new Zilliqa(Zilliqa.MAINNET);
     _curr = acc;
 }
Example #2
0
 public virtual void SetUp()
 {
     _client  = new MusZil_APIClient(DEV_URL);
     _repo    = new AccountsRepository();
     _address = new Address("zil1fs6jhg4axvj9ekscq6v7ddwxxd9tthpxl7820q");
     _account = AccountFactory.New(_pk);
     _wallet  = new Wallet(_account);
     _zil     = new Zilliqa();
 }