def sdk_stewards(looper, sdk_wallet_handle, poolTxnData): stewards = [] pool_txn_stewards_data = get_data_for_role(poolTxnData, STEWARD) for _, steward_seed in pool_txn_stewards_data: did_future = create_and_store_my_did(sdk_wallet_handle, json.dumps({"seed": steward_seed})) did, _ = looper.loop.run_until_complete(did_future) stewards.append(did) return stewards
def steward_wallets(poolTxnData): steward_data = get_data_for_role(poolTxnData, STEWARD) return build_wallets_from_data(steward_data)