Crates.io | wallet-wizard |
lib.rs | wallet-wizard |
version | 0.2.0 |
source | src |
created_at | 2024-05-27 00:36:17.149323 |
updated_at | 2024-05-27 01:02:25.546607 |
description | 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. |
homepage | |
repository | https://github.com/ChaituKReddy/wallet-wizard-rs |
max_upload_size | |
id | 1252921 |
size | 30,046 |
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.
Install the Crate:
cargo install wallet-wizard
Run the CLI Tool:
wallet-wizard --num-wallets 3 --mnemonic "test test test test test test test test test test test test"
wallet-wizard --num-wallets 3
Add the Dependency:
[dependencies]
wallet-wizard = "0.2.0"
Use the Crate in Your Code:
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);
}