Exemplo n.º 1
0
    def __init__(self, client, wallet: Wallet, attrRepo: AttributeRepo,
                 publicRepo: PublicRepo = None):
        publicRepo = publicRepo or SovrinPublicRepo(client=client,
                                                    wallet=wallet)
        issuerWallet = SovrinIssuerWalletInMemory(wallet.name, publicRepo)

        super().__init__(issuerWallet, attrRepo)
def publicRepo(steward, stewardWallet):
    return SovrinPublicRepo(steward, stewardWallet)
Exemplo n.º 3
0
 def __init__(self, client, wallet: Wallet, publicRepo: PublicRepo = None):
     publicRepo = publicRepo or SovrinPublicRepo(client=client,
                                                 wallet=wallet)
     verifierWallet = WalletInMemory(wallet.defaultId, publicRepo)
     super().__init__(verifierWallet)
Exemplo n.º 4
0
 def __init__(self, client, wallet: Wallet, publicRepo: PublicRepo = None):
     publicRepo = publicRepo or SovrinPublicRepo(client=client,
                                                 wallet=wallet)
     proverWallet = ProverWalletInMemory(wallet.name, publicRepo)
     super().__init__(proverWallet)