Open sebastianst opened 3 years ago
It may be worth adding a constructor that can be passed an ethclient.Client in case an application using this wrapper already creates and uses an ethclient.
ethclient.Client
We could definitely do this easily with a new ClientOption á la WithEthClient(client) analogous to WithDialer and WithListener.
ClientOption
WithEthClient(client)
WithDialer
WithListener
It may be worth adding a constructor that can be passed an
ethclient.Client
in case an application using this wrapper already creates and uses an ethclient.