Module sc_cli::utils[][src]

Expand description

subcommand utilities

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