DerivationPath

class cometa.key_handler.secure_key_handler.DerivationPath(purpose, coin_type, account, role, index)[source]

Bases: AccountDerivationPath

Represents a full BIP-1852 derivation path for a specific key. m / purpose’ / 1815’ / account’ / role / index

Parameters:
role: KeyDerivationRole

The key role (External, Internal, Staking, etc.).

index: int

The key index within the role.