defmodule Ethereumex do @external_resource "README.md" @moduledoc "README.md" |> File.read!() |> String.split("") |> Enum.fetch!(1) use Application import Supervisor.Spec, warn: false alias Ethereumex.Config alias Ethereumex.Counter def start(_type, _args) do :ok = Counter.setup() children = Config.setup_children() opts = [strategy: :one_for_one, name: Ethereumex.Supervisor] Supervisor.start_link(children, opts) end end