-
Notifications
You must be signed in to change notification settings - Fork 573
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
adds ledger utility class #5099
Conversation
|
||
return response.publicAddress.toString('hex') | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why isn't this in the sdk and consumed by CLI? This could potentially be useful for other developers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our philosophy with Zondax/ Chainport is that we want to keep all 3rd party stuff in the application level and not in the sdk.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if I agree with this case, I bet someone is going to ask for this in the sdk. For example, what about oreo wallet? Also this means you have to duplicate code in node app?
ironfish-cli/package.json
Outdated
@@ -70,6 +70,8 @@ | |||
"axios": "1.7.2", | |||
"bech32": "2.0.0", | |||
"blessed": "0.1.81", | |||
"@ledgerhq/hw-transport-node-hid": "6.28.6", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you alphabetize these 2 additions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
Summary
Adds Ledger Utility class. It has 4 main functions:
This utility class will be used by the CLI commands which will be introduced right after this PR.
Testing Plan
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.
Breaking Change
Is this a breaking change? If yes, add notes below on why this is breaking and label it with
breaking-change-rpc
orbreaking-change-sdk
.