[][src]Module sc_cli::utils

subcommand utilities

Functions

decode_hex

helper method for decoding hex

format_seed

formats seed as hex

pair_from_suri

generate a pair from suri

print_from_uri

print formatted pair from uri

read_message

checks if message is Some, otherwise reads message from stdin and optionally decodes hex

read_uri

helper method to fetch uri from Option<String> either as a file or read from stdin

Type Definitions

PublicFor

Public key type for Runtime

SeedFor

Seed type for Runtime