Module sc_cli::utils

source ·
Expand description

subcommand utilities

Macros

Functions

  • 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