tuweni / org.apache.tuweni.ethclient / EthereumClient

EthereumClient

class EthereumClient : CoroutineScope (source)

Top-level class to run an Ethereum client.

Constructors

<init>

Top-level class to run an Ethereum client.

EthereumClient(vertx: Vertx, config: EthereumClientConfig, coroutineContext: CoroutineContext = Dispatchers.Unconfined)

Properties

config

val config: EthereumClientConfig

coroutineContext

val coroutineContext: CoroutineContext

peerRepositories

val peerRepositories: HashMap<String, EthereumPeerRepository>

vertx

val vertx: Vertx

Functions

start

suspend fun start(): Unit

stop

fun stop(): Unit

Companion Object Properties

logger

val logger: Logger!