Skip to content

Commit

Permalink
feat: print wallet private key on CLI wallet create command
Browse files Browse the repository at this point in the history
  • Loading branch information
mickvandijke committed Dec 13, 2024
1 parent a2dd3d3 commit c025b97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ant-cli/src/commands/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ pub fn create(no_password: bool, password: Option<String>) -> Result<()> {
let file_path = store_private_key(&wallet_private_key, maybe_encryption_password)?;

println!("Wallet address: {wallet_address}");
println!("Wallet private key: {wallet_private_key}");
println!("Stored wallet in: {file_path:?}");

Ok(())
Expand Down

0 comments on commit c025b97

Please sign in to comment.