samples/nodejs/src/anoncredsRevocationScenario.js
async function createAndOpenPoolHandle(actor) {
    const poolName = actor + "-pool-sandbox"
    const poolGenesisTxnPath = await util.getPoolGenesisTxnPath(poolName)
    const poolConfig = {"genesis_txn": poolGenesisTxnPath}
    await indy.createPoolLedgerConfig(poolName, poolConfig)
        .catch(e => {
            console.log("ERROR : ", e)
            process.exit()
        })
    return await indy.openPoolLedger(poolName, poolConfig)
}
async function createAndOpenPoolHandle(actor) {
    const poolName = actor + "-pool-sandbox"
    const poolGenesisTxnPath = await util.getPoolGenesisTxnPath(poolName)
    const poolConfig = {"genesis_txn": poolGenesisTxnPath}
    await indy.createPoolLedgerConfig(poolName, poolConfig)
        .catch(e => {
            console.log("ERROR : ", e)
            process.exit()
        })
    return await indy.openPoolLedger(poolName, poolConfig)
}
async function createAndOpenPoolHandle ( actor ) { const poolName = actor + "-pool-sandbox" const poolGenesisTxnPath = await util . getPoolGenesisTxnPath ( poolName ) const poolConfig = { "genesis_txn" : poolGenesisTxnPath } await indy . createPoolLedgerConfig ( poolName , poolConfig ) . catch ( e => { console . log ( "ERROR : " , e ) process . exit ( ) } ) return await indy . openPoolLedger ( poolName , poolConfig ) }
Functions for pool handler
Functions for pool handler