plugins.aea-ledger-ethereum-hwi.aea_ledger_ethereum_hwi.bip32
BIP32 utils
Original implementation: https://github.com/LedgerHQ/apduboy/blob/master/apduboy/lib/bip32.py
Level Objects
@dataclass
class Level()
Level separator.
value
@property
def value() -> int
Value
__str__
def __str__() -> str
String representation.
Derivation Objects
@dataclass
class Derivation()
Path derivation
__truediv__
def __truediv__(level: int) -> "Derivation"
Combine multiple path derivations using / operator.
account
@property
def account() -> int
Account value.
parent
@property
def parent() -> "Derivation"
Parent value.
path
@property
def path() -> str
Calculated path.
to_list
def to_list() -> List[int]
Convert to list.
depth
@property
def depth() -> int
Depth.
__repr__
def __repr__()
String representation.
__str__
def __str__()
String representation.
h
def h(value: int) -> int
Wrap value.