Skip to content

feat(core): Ledger wallet connector#161

Open
morapay-app wants to merge 2 commits into
Axionvera:mainfrom
morapay-app:issue-101-ledger-connector
Open

feat(core): Ledger wallet connector#161
morapay-app wants to merge 2 commits into
Axionvera:mainfrom
morapay-app:issue-101-ledger-connector

Conversation

@morapay-app
Copy link
Copy Markdown

Summary

  • Adds LedgerWalletConnector implementing the existing WalletConnector interface.
  • Uses WebUSB transport and the Stellar Ledger app to retrieve the public key and sign transactions.
  • Maps common USB/app failures into explicit SDK errors (UserRejectedError, DeviceLockedError) to enable better frontend UX.

Dependencies

  • Adds Ledger packages as optional peer dependencies (and dev deps for repo typecheck/tests):
    • @ledgerhq/hw-transport-webusb
    • @ledgerhq/hw-app-str

Test plan

  • npm run typecheck
  • npm run lint
  • npm test

Made with Cursor

\n- Enable exactOptionalPropertyTypes/noImplicitAny\n- Add type-aware ESLint config and monorepo typecheck order\n- Fix build/typecheck/lint/test regressions uncovered by strictness\n

Made-with: Cursor
\n- Add LedgerWalletConnector implementing WalletConnector\n- Add DeviceLockedError and UserRejectedError for UX-friendly failures\n- Add optional peer deps for Ledger transport/app + mocked unit tests\n

Made-with: Cursor
@AlAfiz
Copy link
Copy Markdown
Contributor

AlAfiz commented May 1, 2026

@morapay-app resolve conflicts

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