def init(self, args, opts):
        if opts.debug:
            Debugger().register(self)

        if ":" in opts.bind:
            address, port = opts.bind.split(":")
            port = int(port)
        else:
            address, port = opts.bind, 8000

        auto_remote_event = {
            'increment': '*'
        }

        node = Node().register(self)
        node.add(
            'peer_name', address, port, auto_remote_event=auto_remote_event)
dataset/ETHPy150Open circuits/circuits/examples/node/increment/client_auto_binding.py/NodeClient.init/original