@staticmethod
def from_b58check(key):
    ' Decodes a Base58Check encoded key.\n\n        The encoding must conform to the description in:\n        https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#serialization-format\n\n        Args:\n            key (str): A Base58Check encoded key.\n\n        Returns:\n            HDPrivateKey or HDPublicKey:\n                Either an HD private or\n                public key object, depending on what was serialized.\n        '
    return HDKey.from_bytes(base58.b58decode_check(key))
Decodes a Base58Check encoded key.

The encoding must conform to the description in:
https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#serialization-format

Args:
    key (str): A Base58Check encoded key.

Returns:
    HDPrivateKey or HDPublicKey:
        Either an HD private or
        public key object, depending on what was serialized.
@staticmethod
def from_b58check(key):
    ' Decodes a Base58Check encoded key.\n\n        The encoding must conform to the description in:\n        https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#serialization-format\n\n        Args:\n            key (str): A Base58Check encoded key.\n\n        Returns:\n            HDPrivateKey or HDPublicKey:\n                Either an HD private or\n                public key object, depending on what was serialized.\n        '
    return HDKey.from_bytes(base58.b58decode_check(key))