diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2020-11-28 10:48:42 +0100 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2020-11-28 10:48:42 +0100 |
| commit | bd7a6880f5dce74fd154f593a5a5f7034affeee4 (patch) | |
| tree | 09fc799b239632a5ebe854d62cb2c7c3574d55ac /src/main.rs | |
| parent | cd7beb199e654825cb1b3ab6ac85b805ffdb7871 (diff) | |
started implementing mnemonic word lists
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index e7a11a9..74b1bc5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,20 @@ +mod cmd; +mod mnemonic; + +use crate::cmd::*; +use structopt::StructOpt; + +#[derive(Debug, StructOpt)] +#[structopt( + name = "hdwallet", + about = "Hierarchical deterministic wallet for Ethereum", +)] +enum Options { + New(new::Options), +} + fn main() { - println!("Hello, world!"); + match Options::from_args() { + Options::New(options) => new::run(options), + } } |
