Exemple #1
0
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
Exemple #2
0
def steward_wallets(poolTxnData):
    steward_data = get_data_for_role(poolTxnData, STEWARD)
    return build_wallets_from_data(steward_data)