# Wallet Wizard 🧙‍♂️✨ Embark on a cryptographic journey with `wallet-wizard`, a Rust library that opens portals to the blockchain realm. This mystical tool harnesses the ancient art of BIP-39 mnemonics to generate secure wallets. Whether you're a seasoned sorcerer of the blockchain world or a novice in the cryptographic universe, `wallet-wizard` offers a seamless and secure way to create wallets. Perfect for applications needing robust wallet functionality, it's your go-to spellbook for generating, managing, and utilizing wallets in your Rust applications. ## Features - Generate secure wallets using BIP-39 mnemonics. - Derive multiple addresses from a single mnemonic. - Perfect for applications needing robust wallet functionality. ### How to Use the Crate as a CLI Tool 1. **Install the Crate**: ```sh cargo install wallet-wizard ``` 2. **Run the CLI Tool**: - Generate wallets with a provided mnemonic: ```sh wallet-wizard --num-wallets 3 --mnemonic "test test test test test test test test test test test test" ``` - Generate wallets with a random mnemonic: ```sh wallet-wizard --num-wallets 3 ``` ### How to Use the Crate as a Library 1. **Add the Dependency**: ```toml [dependencies] wallet-wizard = "0.2.0" ``` 2. **Use the Crate in Your Code**: ```rust use wallet_wizard::generate_ethereum_wallet; use bip39::Mnemonic; use colored::*; use prettytable::{row, Table}; fn main() { let mnemonic = "test test test test test test test test test test test test"; let (address, private_key) = generate_ethereum_wallet(mnemonic, 0).unwrap(); println!("Mnemonic is {}", mnemonic.green()); println!("Ethereum Address: {}", address); println!("Private Key: {}", private_key); } ```