Module sc_cli::utils

source ·
Expand description

subcommand utilities

Macros

Allows for calling $method with appropriate crypto impl.

Functions

helper method for decoding hex
formats seed as hex
generate a pair from suri
Try to parse given public as hex encoded public key and print relevant information.
Try to parse given uri and print relevant information.
checks if message is Some, otherwise reads message from stdin and optionally decodes hex
helper method to fetch uri from Option<String> either as a file or read from stdin

Type Definitions

Public key type for Runtime
Seed type for Runtime