def create_wallet(): wallets = Wallets() wallet = Wallet() address = wallet.address wallets.add_wallet(address, wallet) wallets.save_to_file() print("Your new address: {}".format(address))
def AddAddress(address, wallet): # Add address to wallet wallets = Wallets() wallets.add_wallet(address, wallet) return wallets.save_to_file()