Skip to content
New issue

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

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

Already on GitHub? # to your account

adds ledger flag to 'wallet:multisig:participant' #5712

Merged
merged 2 commits into from
Jan 24, 2025

Conversation

hughy
Copy link
Contributor

@hughy hughy commented Jan 23, 2025

Summary

supports reading identity from ledger and displaying on CLI

Testing Plan

  • run ironfish wallet:multisig:participant --ledger

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

@hughy hughy force-pushed the feat/hughy/participant-cmd-ledger branch from e4b211e to 69c79cc Compare January 23, 2025 17:59
@hughy hughy changed the title WIP adds ledger flag to 'wallet:multisig:participant' adds ledger flag to 'wallet:multisig:participant' Jan 23, 2025
supports reading identity from ledger and displaying on CLI
@hughy hughy force-pushed the feat/hughy/participant-cmd-ledger branch from 69c79cc to dd50e47 Compare January 23, 2025 18:00
@hughy hughy marked this pull request as ready for review January 23, 2025 18:41
@hughy hughy requested a review from a team as a code owner January 23, 2025 18:41
@@ -29,6 +35,19 @@ export class MultisigIdentity extends IronfishCommand {

this.log('Identity:')
this.log(response.content.identity)
} else if (flags.ledger) {
Copy link
Contributor

@NullSoldier NullSoldier Jan 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can move the wallet decryption check into the flags.name branch since we don't use the wallet in the ledger flow.

@NullSoldier
Copy link
Contributor

This looks good. I tested it manually. The only comment is around the encryption check.

@hughy hughy merged commit 0f0d71f into staging Jan 24, 2025
12 checks passed
@hughy hughy deleted the feat/hughy/participant-cmd-ledger branch January 24, 2025 23:30
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants