Etherex.Client.GanacheCLI (Etherex v1.0.0-rc18) View Source

Module to start/stop an Ethereum client by using ganache-cli.

Start it with start/0, stop it with stop/0 and get the logs with log/0.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Returns the list of log lines from the standard output and standard error of the Ethereum client. Resets the log.

Starts an ethereum client using command ganache-cli.

Stops the ethereum client previously started with command ganache-cli. Returns the list of log lines from the standard output and standard error since last reset.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.

Returns the list of log lines from the standard output and standard error of the Ethereum client. Resets the log.

Starts an ethereum client using command ganache-cli.

Stops the ethereum client previously started with command ganache-cli. Returns the list of log lines from the standard output and standard error since last reset.