Source code for bitshares.aio.wallet

# -*- coding: utf-8 -*-
from bitsharesbase.account import PrivateKey
from graphenecommon.aio.wallet import Wallet as GrapheneWallet
from ..instance import BlockchainInstance


# Uses synchronous BlockchainInstance because it's __init__ is synchronous.
# Other methods will use async Instance.
[docs]@BlockchainInstance.inject class Wallet(GrapheneWallet):
[docs] def define_classes(self): # identical to those in bitshares.py! self.default_key_store_app_name = "bitshares" self.privatekey_class = PrivateKey