old_contents: import zmq
  
  class QueryIdent:
  
      def __init__(self):
          self._ctx = zmq.Context()
          self._socket = self._ctx.socket(zmq.REQ)
          
          # Point to OpenBazaar Identity server for now
          self._socket.connect("tcp://seed.openbazaar.org:5558")
  
      def lookup(self, user):
          self._socket.send(user)
          key = self._socket.recv()
          print user
          if key == "__NONE__":
              return None
          return key
  
  if __name__ == "__main__":
      query = QueryIdent()
      print query.lookup("caedes").encode("hex")
  
  
new_contents: import zmq
  
  class QueryIdent:
  
      def __init__(self):
          self._ctx = zmq.Context()
          self._socket = self._ctx.socket(zmq.REQ)
          
          # Point to OpenBazaar Identity server for now
          self._socket.connect("tcp://seed.openbazaar.org:5558")
  
      def lookup(self, user):
          self._socket.send(user)
          key = self._socket.recv()
          print user
          if key == "__NONE__":
              return None
          return key
  
  if __name__ == "__main__":
      query = QueryIdent()
  
  
subject: Remove default cedes pointless search