Module Mavryk_protocol.Account

An account is a named key-pair.

type t = private
  1. | Of_name of Internal_pervasives.string
  2. | Key_pair of {
    1. name : Internal_pervasives.string;
    2. pubkey : Internal_pervasives.string;
    3. pubkey_hash : Internal_pervasives.string;
    4. private_key : Internal_pervasives.string;
    }
val of_name : Internal_pervasives.string -> t
val pubkey_hash : t -> Internal_pervasives.string
val private_key : t -> Internal_pervasives.string