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:encrypt #5327

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:encrypt
yarn run v1.22.18
$ yarn build && yarn start:js wallet:encrypt
$ tsc -b
? Enter a passphrase to encrypt the wallet: foobar
Encrypting wallet... done

❯ f wallet:encrypt
yarn run v1.22.18
$ yarn build && yarn start:js wallet:encrypt
$ tsc -b
Wallet is already encrypted
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

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.

[x] 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 18:02
@rohanjadvani rohanjadvani force-pushed the rohan/ifl-2879-cli-add-walletencrypt branch 2 times, most recently from 6235a56 to ae30096 Compare August 22, 2024 18:45
@rohanjadvani rohanjadvani force-pushed the rohan/ifl-2879-cli-add-walletencrypt branch from ae30096 to f8e2c9f Compare August 22, 2024 18:50
ironfish-cli/src/commands/wallet/encrypt.ts Outdated Show resolved Hide resolved
Co-authored-by: mat-if <97762857+mat-if@users.noreply.github.com>
@rohanjadvani rohanjadvani merged commit 70b736d into staging Aug 23, 2024
9 checks passed
@rohanjadvani rohanjadvani deleted the rohan/ifl-2879-cli-add-walletencrypt 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