wallet-wizard

Crates.iowallet-wizard
lib.rswallet-wizard
version0.2.0
sourcesrc
created_at2024-05-27 00:36:17.149323
updated_at2024-05-27 01:02:25.546607
descriptionEmbark 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
repositoryhttps://github.com/ChaituKReddy/wallet-wizard-rs
max_upload_size
id1252921
size30,046
Chaitanya Krishna Reddy (ChaituKReddy)

documentation

README

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:

    cargo install wallet-wizard
    
  2. Run the CLI Tool:

    • Generate wallets with a provided mnemonic:
      wallet-wizard --num-wallets 3 --mnemonic "test test test test test test test test test test test test"
      
    • Generate wallets with a random mnemonic:
      wallet-wizard --num-wallets 3
      

How to Use the Crate as a Library

  1. Add the Dependency:

    [dependencies]
    wallet-wizard = "0.2.0"
    
  2. 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);
    }
    
Commit count: 0

cargo fmt