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: Ledger device support #199

Merged
merged 31 commits into from
Jun 14, 2023
Merged

feat: Ledger device support #199

merged 31 commits into from
Jun 14, 2023

Conversation

adamspofford-dfinity
Copy link
Contributor

This PR adds Ledger device support to Quill. The --ledger flag authenticates any commands, prompting the user to confirm on the device.

Automated testing has proved too difficult to set up out of the box and will probably have to be manually implemented in a future PR; I have tested it locally on Mac and Windows. (nns-dapp doesn't seem to have figured it out either.)

The version of the ICP app on Ledger Live lags behind Zondax's main branch by several features, especially neuron management functionality. Several tests have been commented out but should be uncommented when the app updates next.

LedgerIdentity involves an unfortunate amount of global state and should probably not be released as a library any time soon.

@adamspofford-dfinity adamspofford-dfinity marked this pull request as ready for review June 12, 2023 17:04
@adamspofford-dfinity adamspofford-dfinity requested a review from a team as a code owner June 12, 2023 17:04
src/lib/ledger.rs Outdated Show resolved Hide resolved
src/lib/signing.rs Outdated Show resolved Hide resolved
tests/output-tests/outputs_ledger/neuron_manage/spawn.txt Outdated Show resolved Hide resolved
tests/output-tests/outputs/transfer/e8s.txt Show resolved Hide resolved
tests/output-tests/main.rs Outdated Show resolved Hide resolved
tests/output-tests/main.rs Outdated Show resolved Hide resolved
src/lib/ledger.rs Outdated Show resolved Hide resolved
src/lib/ledger.rs Show resolved Hide resolved
src/lib/ledger.rs Show resolved Hide resolved
src/lib/ledger.rs Show resolved Hide resolved
src/lib/ledger.rs Outdated Show resolved Hide resolved
src/lib/ledger.rs Show resolved Hide resolved
src/lib/ledger.rs Show resolved Hide resolved
@adamspofford-dfinity adamspofford-dfinity merged commit 68ab412 into master Jun 14, 2023
@adamspofford-dfinity adamspofford-dfinity deleted the spofford/ledger branch June 14, 2023 21:40
adamspofford-dfinity added a commit that referenced this pull request Jun 16, 2023
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.

2 participants