@classmethod
def generate(cls, password=b'', entropy=0, testnet=False):
    mnemonic = secure_mnemonic(entropy=entropy)
    return (mnemonic, cls.from_mnemonic(mnemonic, password=password, testnet=testnet))
@classmethod
def generate(cls, password=b, entropy=0, testnet=False):
    mnemonic = secure_mnemonic(entropy=entropy)
    return (mnemonic, cls.from_mnemonic(mnemonic, password=password, testnet=testnet))