def exportStewardGenTxn(baseDir, displayTxn, name): verkey = getLocalVerKey(name, baseDir) txn = 'add genesis transaction {nym} with data {"'.format(nym=PlenumTransactions.NYM.name) + name + '": {' \ '"verkey": "' + verkey + '"} role={role}'.format( role=Roles.STEWARD.name) storeExportedTxns(baseDir, txn) printGenTxn(txn, displayTxn)
def getVerKeyFromName(baseDir, roleName): return getLocalVerKey(roleName, baseDir)
def getStewardKeyFromName(baseDir, name): return getLocalVerKey(name, baseDir)