From c025b97205ee49eff7c207f24024affdde1bbe0c Mon Sep 17 00:00:00 2001 From: Warm Beer Date: Fri, 13 Dec 2024 13:09:00 +0100 Subject: [PATCH] feat: print wallet private key on CLI `wallet create` command --- ant-cli/src/commands/wallet.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ant-cli/src/commands/wallet.rs b/ant-cli/src/commands/wallet.rs index de4c3c7eee..46819bc19d 100644 --- a/ant-cli/src/commands/wallet.rs +++ b/ant-cli/src/commands/wallet.rs @@ -30,6 +30,7 @@ pub fn create(no_password: bool, password: Option) -> 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(())