package octez-shell-libs
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053
doc/octez-shell-libs.signer-backends/Tezos_signer_backends/Unencrypted/Aggregate/index.html
Module Unencrypted.AggregateSource
include Tezos_client_base.Client_keys.AGGREGATE_SIGNER
include Tezos_client_base.Client_keys.COMMON_SIGNER
with type public_key_hash =
Tezos_crypto.Aggregate_signature.Public_key_hash.t
and type public_key = Tezos_crypto.Aggregate_signature.Public_key.t
and type secret_key = Tezos_crypto.Aggregate_signature.Secret_key.t
and type pk_uri = Tezos_client_base.Client_keys.aggregate_pk_uri
and type sk_uri = Tezos_client_base.Client_keys.aggregate_sk_uri
scheme is the name of the scheme implemented by this signer module.
title is a one-line human readable description of the signer.
description is a multi-line human readable description of the signer, that should include the format of key specifications.
neuterize sk is the corresponding pk.
val import_secret_key :
io:Tezos_client_base.Client_context.io_wallet ->
pk_uri ->
(public_key_hash * public_key option) Tezos_base.TzPervasives.tzresult Lwt.timport_secret_key ~io pk is the function to be called when interactively importing a key-pair and returning the public key and its hash.
Some signer implementations improve long-term security by requiring human/manual validation while importing keys, the ~io argument can be used to prompt the user in such case.
public_key pk is the Ed25519 version of pk.
val public_key_hash :
pk_uri ->
(public_key_hash * public_key option) Tezos_base.TzPervasives.tzresult Lwt.tpublic_key_hash pk is the hash of pk. As some signers will query the full public key to obtain the hash, it can be optionally returned to reduce the amount of queries.
val sign :
Tezos_client_base.Client_keys.aggregate_sk_uri ->
Tezos_base.TzPervasives.Bytes.t ->
Tezos_crypto.Aggregate_signature.t Tezos_base.TzPervasives.tzresult Lwt.tval make_sk :
Tezos_crypto.Aggregate_signature.secret_key ->
Tezos_client_base.Client_keys.aggregate_sk_uri
Tezos_base.TzPervasives.tzresultval make_pk :
Tezos_crypto.Aggregate_signature.public_key ->
Tezos_client_base.Client_keys.aggregate_pk_uri
Tezos_base.TzPervasives.tzresult