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

Add LedgerGeneric support to the extension [WIP] #1397

Closed
wants to merge 2 commits into from

Conversation

TarikGul
Copy link
Member

@TarikGul TarikGul commented Jul 14, 2024

WIP

This PR is going to require adding a new getRawMetadata interface to the extension in order to work with the new ledger metadataHash proof signing.

My goal is to release the extension first to ensure we can get ledger support in apps. Then work on this immediately after.

@@ -55,7 +52,9 @@ function retrieveLedger (genesis: string): Ledger {

assert(def, 'There is no known Ledger app available for this chain');

ledger = new Ledger('webusb', def.network);
assert(def.slip44, 'Slip44 is not available for this network, please report an issue to update this chains slip44');
Copy link
Member Author

Choose a reason for hiding this comment

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

The slip44 should always be polkadot for the LedgerGeneric wrapper

@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Jul 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants