Module Client_config.Cfg_file

type t = {
  1. base_dir : string;
  2. node_addr : string option;
  3. node_port : int option;
  4. tls : bool option;
  5. media_type : Mavryk_rpc_http.Media_type.Command_line.t option;
  6. endpoint : Uri.t option;
  7. web_port : int;
  8. remote_signer : Uri.t option;
  9. confirmations : int option;
  10. password_filename : string option;
  11. internal_events : Mavryk_base.Internal_event_config.t option;
}
val default : t
val encoding : t Mavryk_base.TzPervasives.Data_encoding.encoding
val from_json : Mavryk_base.TzPervasives.Data_encoding.Json.json -> t
val read : string -> (t, Mavryk_error_monad.Error_monad.tztrace) Stdlib.result Lwt.t
val write : string -> t -> unit Mavryk_error_monad.Error_monad.tzresult Lwt.t