data-faking 0.1.2

Generate massive amounts of fake data
Documentation
1
2
3
4
5
6
7
8
use wasm_bindgen::prelude::*;
use rand::distributions::{Alphanumeric, DistString};

#[wasm_bindgen]
pub fn generate_wallet_address() -> String {
    let string = Alphanumeric.sample_string(&mut rand::thread_rng(), 40);
    concat_string!("0x", string.to_lowercase())
}