Client_keys.Public_key
type t = pk_uri * Mavryk_crypto.Signature.V_latest.Public_key.t option
val encoding : t Mavryk_base.TzPervasives.Data_encoding.t
val load :
Client_context.wallet ->
(string * t) list Mavryk_base.TzPervasives.tzresult Lwt.t
val set :
Client_context.wallet ->
(string * t) list ->
unit Mavryk_base.TzPervasives.tzresult Lwt.t
val find :
Client_context.wallet ->
string ->
t Mavryk_base.TzPervasives.tzresult Lwt.t
val find_opt :
Client_context.wallet ->
string ->
t option Mavryk_base.TzPervasives.tzresult Lwt.t
val rev_find :
Client_context.wallet ->
t ->
string option Mavryk_base.TzPervasives.tzresult Lwt.t
val rev_find_all :
Client_context.wallet ->
t ->
string list Mavryk_base.TzPervasives.tzresult Lwt.t
val name :
Client_context.wallet ->
t ->
string Mavryk_base.TzPervasives.tzresult Lwt.t
val mem :
Client_context.wallet ->
string ->
bool Mavryk_base.TzPervasives.tzresult Lwt.t
val add :
force:bool ->
Client_context.wallet ->
string ->
t ->
unit Mavryk_base.TzPervasives.tzresult Lwt.t
val add_many :
Client_context.wallet ->
(string * t) list ->
unit Mavryk_base.TzPervasives.tzresult Lwt.t
Similar to repeated calls to add
, but more efficient. Always forces addition of new elements.
val del :
Client_context.wallet ->
string ->
unit Mavryk_base.TzPervasives.tzresult Lwt.t
val update :
Client_context.wallet ->
string ->
t ->
unit Mavryk_base.TzPervasives.tzresult Lwt.t
val of_source : string -> t Mavryk_base.TzPervasives.tzresult Lwt.t
val to_source : t -> string Mavryk_base.TzPervasives.tzresult Lwt.t
val alias_parameter :
unit ->
(string * t, Client_context.wallet) Mavryk_clic.parameter
val alias_param :
?name:string ->
?desc:string ->
('a, Client_context.wallet as 'b) Mavryk_clic.params ->
((string * t) -> 'a, 'b) Mavryk_clic.params
val aliases_param :
?name:string ->
?desc:string ->
('a, Client_context.wallet as 'b) Mavryk_clic.params ->
((string * t) list -> 'a, 'b) Mavryk_clic.params
val fresh_alias_param :
?name:string ->
?desc:string ->
('a, < .. > as 'obj) Mavryk_clic.params ->
(fresh_param -> 'a, 'obj) Mavryk_clic.params
val force_switch : unit -> (bool, _) Mavryk_clic.arg
val of_fresh :
Client_context.wallet ->
bool ->
fresh_param ->
string Mavryk_base.TzPervasives.tzresult Lwt.t
val parse_source_string :
Client_context.wallet ->
string ->
t Mavryk_base.TzPervasives.tzresult Lwt.t
val source_param :
?name:string ->
?desc:string ->
('a, Client_context.wallet as 'obj) Mavryk_clic.params ->
(t -> 'a, 'obj) Mavryk_clic.params
val source_arg :
?long:string ->
?placeholder:string ->
?doc:string ->
unit ->
(t option, Client_context.wallet as 'obj) Mavryk_clic.arg
val autocomplete :
Client_context.wallet ->
string list Mavryk_base.TzPervasives.tzresult Lwt.t