MoccasinAccount

class moccasin.moccasin_account.MoccasinAccount(private_key: str | bytes | None = None, keystore_path_or_account_name: Path | str | None = None, password: str = None, password_file_path: Path = None, address: Address | None = None, ignore_warning: bool = False)

Bases: LocalAccount

property address: ChecksumAddress | None

The checksummed public address for this account.

>>> my_account.address 
"0xF0109fC8DF283027b6285cc889F5aA624EaC1F55"
classmethod from_boa_address(address: Address) MoccasinAccount
property private_key: bytes
set_keystore_path(keystore_path: Path | str)
unlock(password: str = None, password_file_path: Path = None, prompt_even_if_unlocked: bool = False) HexBytes
unlocked() bool