shell.wallet

class eosfactory.shell.wallet.Wallet(name=None, password='', verbosity=None, file=False)

Bases: eosfactory.core.cleos.WalletCreate

Create a new wallet locally and operate it.

  • parameters:

    name: The name of the new wallet, defaults to `default`.
    is_verbose: If `0`, do not print unless on error, 
        default is `1`.
    
  • attributes:

    name: The name of the wallet.
    password: The password returned by wallet create.
    error: Whether any error ocurred.
    json: The json representation of the object.
    is_verbose: Verbosity at the constraction time.  
    
import_key(account_or_key)

Imports private keys of an account into wallet. Returns list of cleos.WalletImport objects

index()

Lists opened wallets, * marks unlocked. Returns cleos.WalletList object

keys()

Lists public keys from all unlocked wallets. Returns cleos.WalletKeys object.

lock()

Lock the wallet. Returns cleos.WalletLock object.

lock_all()

Lock the wallet. Returns cleos.WalletLock object.

map_account(account_object_name, account_object)
open()

Opens the wallet. Returns WalletOpen object

open_unlock()

Open&Unlock automatics.

private_keys()

Lists public keys from all unlocked wallets. Returns cleos.WalletKeys object.

remove_key(account_or_key)
restore_accounts()
unlock()

Unlock the wallet. Returns WalletUnlock object.