chaind-eth/chaind/eth/dispatch.py

14 lines
210 B
Python
Raw Normal View History

2022-03-15 10:32:20 +01:00
# 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)