chaind-eth

Queue server for ethereum
Info | Log | Files | Refs | README | LICENSE

dispatch.py (210B)


      1 # external imports
      2 from chainlib.eth.tx import raw
      3 
      4 
      5 class EthDispatcher:
      6 
      7     def __init__(self, conn):
      8         self.conn = conn
      9 
     10 
     11     def send(self, payload):
     12         o = raw(payload)
     13         self.conn.do(o)