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: add ledger integration #37

Merged
merged 1 commit into from
Sep 18, 2023
Merged

feat: add ledger integration #37

merged 1 commit into from
Sep 18, 2023

Conversation

nsonanh
Copy link

@nsonanh nsonanh commented Sep 13, 2023

No description provided.

@nsonanh nsonanh added the enhancement New feature or request label Sep 13, 2023
@nsonanh nsonanh self-assigned this Sep 13, 2023
@@ -32,7 +32,7 @@ export class AccountService {
* Default account derivation path
* @var {string}
*/
private static readonly DEFAULT_ACCOUNT_PATH_MAIN_NET = `m/44'/4343'/0'/0'/0'`;
private static readonly DEFAULT_ACCOUNT_PATH_MAIN_NET = `m/44'/10111'/0'/0'/0'`;
Copy link

Choose a reason for hiding this comment

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

that is not a good idea, considering that it will break everyone's wallet access

Copy link
Author

Choose a reason for hiding this comment

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

It only takes the BIP32 path when creating the profile, saved profiles will be accessible normally (as private keys are stored locally).

Copy link
Author

Choose a reason for hiding this comment

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

There's one case that if user chose to import their profile from mnemonics, they will see different addresses, but we can notify them to send tokens to the new addresses, or they can use the previous version of the wallet.

Base automatically changed from fixed-FAQ-terms-staking to next September 15, 2023 09:14
@nsonanh nsonanh merged commit 1c9f284 into next Sep 18, 2023
@nsonanh nsonanh deleted the feat-ledger branch September 18, 2023 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants