[][src]Function wallet_gen::cryptonote::new_wallet

pub fn new_wallet(coin: Coin) -> Result<Wallet>

Generates a new random Cryptonote wallet for coins like Monero or Aeon. Uses from_seed to create the wallet.

The returned wallet will store the view keys in the other map. The fields are view_public_key and view_private_key, and have the same format as the normal (spend) public and private key fields.