samples/nodejs/src/anoncredsRevocationScenario.js
async function createAndOpenWallet(actor) {
    const walletConfig = {"id": actor + ".wallet"}
    const walletCredentials = {"key": actor + ".wallet_key"}
    await indy.createWallet(walletConfig, walletCredentials)
    return await indy.openWallet(walletConfig, walletCredentials)
}
async function createAndOpenWallet(actor) {
    const walletConfig = {"id": actor + ".wallet"}
    const walletCredentials = {"key": actor + ".wallet_key"}
    await indy.createWallet(walletConfig, walletCredentials)
    return await indy.openWallet(walletConfig, walletCredentials)
}
async function createAndOpenWallet ( actor ) { const walletConfig = { "id" : actor + ".wallet" } const walletCredentials = { "key" : actor + ".wallet_key" } await indy . createWallet ( walletConfig , walletCredentials ) return await indy . openWallet ( walletConfig , walletCredentials ) }
Functions for wallet
Functions for wallet