Function save_wallet_to_file

Source
fn save_wallet_to_file(wallet: &PrivateKeySigner, path: &Path) -> Result<()>
Expand description

Saves the specified wallet to a ‘vanity_addresses.json’ file at the given save_path. If the file exists, the wallet data is appended to the existing content; otherwise, a new file is created.