diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2021-03-18 09:28:50 +0100 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2021-03-18 09:28:50 +0100 |
| commit | 789f4585504119de8e490aa12a8c02b649f24ee0 (patch) | |
| tree | ef2df8f30af6f06102b49555a308d77d9eae36ef /src/main.rs | |
| parent | 1ce0c196c10dc92977114279180ea714056c587d (diff) | |
added hashing command
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index c96228b..4fe666a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -23,6 +23,8 @@ enum Options { Address(address::Options), #[structopt(about = "Export a private key")] Export(export::Options), + #[structopt(about = "Keccak256 hash data")] + Hash(cmd::hash::Options), #[structopt(about = "Generate a new HD wallet mnemonic")] New(new::Options), #[structopt(about = "Sign a message")] @@ -33,6 +35,7 @@ fn main() { if let Err(err) = match Options::from_args() { Options::Address(options) => address::run(options), Options::Export(options) => export::run(options), + Options::Hash(options) => cmd::hash::run(options), Options::New(options) => new::run(options), Options::Sign(options) => sign::run(options), } { |
