Constant Values¶
- class hdwallet.consts.SLIP10_ED25519_CONST¶
SLIP10-ED25519Constants.Name
Value
PRIVATE_KEY_BYTE_LENGTH
32
PUBLIC_KEY_PREFIX
0x00PUBLIC_KEY_BYTE_LENGTH
32
- class hdwallet.consts.KHOLAW_ED25519_CONST¶
KHOLAW-ED25519Constants.Name
Value
PRIVATE_KEY_BYTE_LENGTH
64
PUBLIC_KEY_PREFIX
0x00PUBLIC_KEY_BYTE_LENGTH
32
- class hdwallet.consts.SLIP10_SECP256K1_CONST¶
SLIP10-SECP256K1Constants.Name
Value
USE
‘coincurve’
POINT_COORDINATE_BYTE_LENGTH
32
PRIVATE_KEY_BYTE_LENGTH
32
PUBLIC_KEY_PREFIX
0x04PUBLIC_KEY_COMPRESSED_BYTE_LENGTH
33
PUBLIC_KEY_UNCOMPRESSED_BYTE_LENGTH
65
- class hdwallet.consts.PUBLIC_KEY_TYPES¶
PUBLIC_KEY_TYPESConstants.Name
Value
COMPRESSED
‘uncompressed’
UNCOMPRESSED
‘compressed’
- classmethod get_types() List[str]¶
Get a list of all public key types.
- Returns:
List of public key types.
- Return type:
List[str]
- class hdwallet.consts.WIF_TYPES¶
WIF_TYPESConstants.Name
Value
WIF
‘wif’
WIF_COMPRESSED
‘wif-compressed’
- classmethod get_types() List[str]¶
Get a list of all WIF types.
- Returns:
List of WIF types.
- Return type:
List[str]
- class hdwallet.consts.SEMANTICS¶
BIP141
SEMANTICSConstants.Name
Value
P2WPKH
‘p2wpkh’
P2WPKH_IN_P2SH
‘p2wpkh-in-p2sh’
P2WSH
‘p2wsh’
P2WSH_IN_P2SH
‘p2wsh-in-p2sh’
- classmethod get_types() List[str]¶
Get a list of all BIP141 semantic types.
- Returns:
List of BIP141 semantic types.
- Return type:
List[str]