def METHOD_NAME(self, network):
    wallet = HDWallet(gap_limit=2)
    wallet._manually_initialize()
    manager = super().METHOD_NAME(network, wallet=wallet)
    manager.reactor = self.clock
    manager.test_mode = False
    manager.avg_time_between_blocks = 64
    # Don't use it anywhere else. It is unsafe to generate mnemonic words like this.
    # It should be used only for testing purposes.
    m = Mnemonic('english')
    words = m.to_mnemonic(bytes(random.randint(0, 255) for _ in range(32)))
    wallet.unlock(words=words, tx_storage=manager.tx_storage)
    return manager