Skip to content

Commit

Permalink
feat(cli): display private key in wallet info (#89)
Browse files Browse the repository at this point in the history
Co-authored-by: Gauthier Leonard <[email protected]>
  • Loading branch information
servalD and Nuttymoon committed Feb 9, 2024
1 parent caa7e5f commit c9a6941
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/ash_cli/src/utils/templating.rs
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ pub(crate) fn template_wallet_info(wallet_info: &AvalancheWalletInfo, indent: us
info_str.push_str(&formatdoc!(
"
Wallet information:
HEX private key: {}
Hex private key: {}
CB58 private key: {}
X-Chain address: {}
P-Chain address: {}
Expand Down
4 changes: 2 additions & 2 deletions crates/ash_sdk/src/avalanche/wallets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ pub struct AvalancheWalletInfo {
pub pchain_address: String,
/// EVM address
pub evm_address: String,
/// EVM formated Private key
/// Hex-encoded private key
pub hex_private_key : String,
/// AVAX formated Private key
/// CB58-encoded private key
pub cb58_private_key: String,
}

Expand Down

0 comments on commit c9a6941

Please sign in to comment.