ligo/lib_client_base/client_keys.mli

36 lines
1.4 KiB
OCaml
Raw Normal View History

2016-09-08 21:13:10 +04:00
(**************************************************************************)
(* *)
2017-11-14 03:36:14 +04:00
(* Copyright (c) 2014 - 2017. *)
2016-09-08 21:13:10 +04:00
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
(* *)
(* All rights reserved. No warranty, explicit or implicit, provided. *)
(* *)
(**************************************************************************)
module Public_key_hash :
Client_aliases.Alias with type t = Ed25519.Public_key_hash.t
module Public_key : Client_aliases.Alias with type t = Ed25519.Public_key.t
module Secret_key : Client_aliases.Alias with type t = Ed25519.Secret_key.t
2016-09-08 21:13:10 +04:00
val get_key:
2017-11-07 20:38:11 +04:00
Client_commands.full_context ->
2016-09-08 21:13:10 +04:00
Public_key_hash.t ->
( string * Public_key.t * Secret_key.t ) tzresult Lwt.t
val get_keys:
2017-11-07 20:38:11 +04:00
#Client_commands.wallet ->
( string * Public_key_hash.t * Public_key.t * Secret_key.t ) list tzresult Lwt.t
2016-09-08 21:13:10 +04:00
val list_keys:
2017-11-07 20:38:11 +04:00
Client_commands.full_context ->
(string * Public_key_hash.t * bool * bool) list tzresult Lwt.t
val gen_keys:
2017-11-07 17:23:01 +04:00
?force:bool ->
?seed: Ed25519.Seed.t ->
2017-11-07 20:38:11 +04:00
#Client_commands.wallet ->
string ->
unit tzresult Lwt.t
val commands: unit -> Client_commands.command list