static public async Task <string> getCredDef(string tag, WalletController wallet) { string list = await wallet.listCredDefs(); JArray a = JArray.Parse(list); foreach (var o in a.Children()) { string id = o["id"].ToString(); if (id.Contains(tag)) { return(o["value"].ToString()); } } return("No credential matches the tag: " + tag); }
public SetupFacilitator(ref WalletController wallet, ref LedgerController ledger) { d_wallet = wallet; d_ledger = ledger; }
public LedgerController(ref PoolController poolController, ref WalletController walletController) { d_poolController = poolController; d_walletController = walletController; }