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

✨ (signer-solana) [DSDK-554]: Add GetAddressUseCase #451

Merged
merged 4 commits into from
Oct 29, 2024

Conversation

aussedatlo
Copy link
Contributor

@aussedatlo aussedatlo commented Oct 28, 2024

πŸ“ Description

Add GetAddressUseCase implementation for the signer-solana.
Add signer view in the playground app.

Screen.Recording.2024-10-28.at.14.08.33.mov

❓ Context

  • Feature:

βœ… Checklist

Pull Requests must pass CI checks and undergo code review. Set the PR as Draft if it is not yet ready for review.

  • Covered by automatic tests
  • Changeset is provided
  • Impact of the changes:
    • list of the changes

🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.

@aussedatlo aussedatlo requested a review from a team as a code owner October 28, 2024 13:01
Copy link

vercel bot commented Oct 28, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
device-sdk-ts-sample βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Oct 29, 2024 0:59am

Copy link
Contributor

github-actions bot commented Oct 28, 2024

Messages
βœ… Danger: All checks passed successfully! πŸŽ‰

Generated by 🚫 dangerJS against c11b4b8

{
title: "Get address",
description:
"Perform all the actions necessary to get an ethereum address from the device",
Copy link
Member

Choose a reason for hiding this comment

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

[MUST] Use Solana

⚠️ copy paste !

});
},
initialValues: {
derivationPath: "44'/501'",
Copy link
Member

Choose a reason for hiding this comment

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

[SHOULD] Defaut Value should be a constant

);

return (
<DeviceActionsList title="Keyring Ethereum" deviceActions={deviceActions} />
Copy link
Member

Choose a reason for hiding this comment

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

[MUST] Same here copy paste => Signer Solana

Copy link
Member

@mbertin-ledger mbertin-ledger left a comment

Choose a reason for hiding this comment

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

πŸ‘
Just a remark, as we are getting the pubKey shouldn't we call it getPubKey ?

@aussedatlo
Copy link
Contributor Author

πŸ‘ Just a remark, as we are getting the pubKey shouldn't we call it getPubKey ?

Unlike Ethereum, where the address is derived from the public key, Solana uses the public key directly as the address. To maintain consistency with the Ethereum signer, I’ve retained the getAddress method name.

@aussedatlo aussedatlo force-pushed the feat/dsdk-554-signer-solana-get-address-usecase branch from 9a3beab to c11b4b8 Compare October 29, 2024 12:57
@aussedatlo aussedatlo merged commit 238ed69 into develop Oct 29, 2024
9 checks passed
@aussedatlo aussedatlo deleted the feat/dsdk-554-signer-solana-get-address-usecase branch October 29, 2024 14:03
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.

3 participants