Client_keys_commands.Bls_commandsBLS commands are used by rollup clients to handle their keys directly.
val generate_keys :
force:bool ->
encrypted:bool ->
Mavryk_client_base.Client_keys.Aggregate_alias.Secret_key.fresh_param ->
Mavryk_client_base.Client_context.io_wallet ->
unit Mavryk_base.TzPervasives.tzresult Lwt.tgenerate_keys ~force ~encrypted alias cctxt generates a BLS based pair of keys with a fresh mnemonic with alias as alias. If force is true, it will replace the alias if it already exists. If encrypted is true, then it will ask for a passphrase, and encrypt the generated key.
val list_keys :
Mavryk_client_base.Client_context.io_wallet ->
unit Mavryk_base.TzPervasives.tzresult Lwt.tlist_keys cctxt lists the BLS keys known by the wallet.
val show_address :
show_private:bool ->
string ->
Mavryk_client_base.Client_context.io_wallet ->
unit Mavryk_base.TzPervasives.tzresult Lwt.tshow_address ~show_private alias shows the address corresponding to given alias.
val import_secret_key :
force:bool ->
Mavryk_client_base.Client_keys.Aggregate_alias.Secret_key.fresh_param ->
Mavryk_client_base.Client_keys.aggregate_sk_uri ->
Mavryk_client_base.Client_context.io_wallet ->
unit Mavryk_base.TzPervasives.tzresult Lwt.timport_secret_key ~force alias uri cctxt imports a secret key from uri as alias in the wallet. If force is true, it will replace the alias if it already exists.