@staticmethod
def from_b58check(private_key):
    ' Decodes a Base58Check encoded private-key.\n\n        Args:\n            private_key (str): A Base58Check encoded private key.\n\n        Returns:\n            PrivateKey: A PrivateKey object\n        '
    b58dec = base58.b58decode_check(private_key)
    version = b58dec[0]
    assert (version in [PrivateKey.TESTNET_VERSION, PrivateKey.MAINNET_VERSION])
    return PrivateKey(int.from_bytes(b58dec[1:], 'big'))
Decodes a Base58Check encoded private-key.

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

Returns:
    PrivateKey: A PrivateKey object
@staticmethod
def from_b58check(private_key):
    ' Decodes a Base58Check encoded private-key.\n\n        Args:\n            private_key (str): A Base58Check encoded private key.\n\n        Returns:\n            PrivateKey: A PrivateKey object\n        '
    b58dec = base58.b58decode_check(private_key)
    version = b58dec[0]
    assert (version in [PrivateKey.TESTNET_VERSION, PrivateKey.MAINNET_VERSION])
    return PrivateKey(int.from_bytes(b58dec[1:], 'big'))