chaind-eth/chaind/eth/dispatch.py
2022-03-15 09:32:20 +00:00

14 lines
210 B
Python

# external imports
from chainlib.eth.tx import raw
class EthDispatcher:
def __init__(self, conn):
self.conn = conn
def send(self, payload):
o = raw(payload)
self.conn.do(o)