Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli): Add wallet:decrypt #5328

Merged
merged 2 commits into from
Aug 23, 2024

Conversation

rohanjadvani
Copy link
Member

Summary

Add CLI command to encrypt the wallet

Testing Plan

❯ f wallet:decrypt -d ~/.ironfish-1
yarn run v1.22.18
$ yarn build && yarn start:js wallet:decrypt -d /home/rohan/.ironfish-1
$ tsc -b
? Enter a passphrase to decrypt the wallet: invalid
Wallet decryption failed

❯ f wallet:decrypt -d ~/.ironfish-1
yarn run v1.22.18
$ yarn build && yarn start:js wallet:decrypt -d /home/rohan/.ironfish-1
$ tsc -b
? Enter a passphrase to decrypt the wallet: foobar
Decrypted the wallet
Done in 2.58s.

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API
Reference
)? If yes, link a
related documentation pull request for the website.

[ ] Yes

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and label it with breaking-change-rpc or breaking-change-sdk.

[ ] Yes

@rohanjadvani rohanjadvani self-assigned this Aug 22, 2024
@rohanjadvani rohanjadvani requested a review from a team as a code owner August 22, 2024 19:07
@rohanjadvani rohanjadvani merged commit 487fbee into staging Aug 23, 2024
9 checks passed
@rohanjadvani rohanjadvani deleted the rohan/ifl-2880-cli-add-walletdecrypt branch August 23, 2024 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants