@staticmethod
def master_key_from_mnemonic(mnemonic, passphrase=''):
    ' Generates a master key from a mnemonic.\n\n        Args:\n            mnemonic (str): The mnemonic sentence representing\n               the seed from which to generate the master key.\n            passphrase (str): Password if one was used.\n\n        Returns:\n            HDPrivateKey: the master private key.\n        '
    return HDPrivateKey.master_key_from_seed(Mnemonic.to_seed(mnemonic, passphrase))
Generates a master key from a mnemonic.

Args:
    mnemonic (str): The mnemonic sentence representing
       the seed from which to generate the master key.
    passphrase (str): Password if one was used.

Returns:
    HDPrivateKey: the master private key.
@staticmethod
def master_key_from_mnemonic(mnemonic, passphrase=):
    ' Generates a master key from a mnemonic.\n\n        Args:\n            mnemonic (str): The mnemonic sentence representing\n               the seed from which to generate the master key.\n            passphrase (str): Password if one was used.\n\n        Returns:\n            HDPrivateKey: the master private key.\n        '
    return HDPrivateKey.master_key_from_seed(Mnemonic.to_seed(mnemonic, passphrase))