feat: add Lattice1 hardware wallet support for Cosmos, Ethereum, and Bitcoin#1753
Open
yilmazbahadir wants to merge 13 commits intochainapsis:developfrom
Open
feat: add Lattice1 hardware wallet support for Cosmos, Ethereum, and Bitcoin#1753yilmazbahadir wants to merge 13 commits intochainapsis:developfrom
yilmazbahadir wants to merge 13 commits intochainapsis:developfrom
Conversation
|
@yilmazbahadir is attempting to deploy a commit to the Keplr Team on Vercel. A member of the Team first needs to authorize it. |
- Add Bitcoin message signing support for Lattice1 devices - Add Bitcoin transaction (PSBT) signing support for Lattice1 - Implement Lattice1 Bitcoin signing utilities (ECDSA messages and PSBT transactions) - Add Bitcoin public key derivation support in KeyRingLattice1Service - Filter and enable Bitcoin chains for Lattice1 during registration - Support Bitcoin purposes 44, 49, and 84 (Legacy, SegWit, Native SegWit) - Add Lattice1GuideBox components to Bitcoin signing views - Handle Lattice1-specific signing constraints (SIGHASH_ALL only, single recipient)
- Remove IOV (coin type 234) from default paths - Add coin type 505 to default paths - Add THORChain (coin type 931) to default paths - Update DEFAULT_COIN_TYPES array to reflect changes
Apply yarn patch to gridplus-sdk@4.0.0 to include PR chainapsis#714 changes. This patch enables required functionality for Lattice1 hardware wallet support. - Update gridplus-sdk dependency to use yarn patch - Add patch configuration to root package.json - Update yarn.lock with patch resolution
…tice1 signing Extract signature normalization into reusable utilities and refactor signing handlers to use them. Fix Lattice1 Cosmos encoding type and improve type safety for Bitcoin purpose checking.
6ac8af0 to
c0adde3
Compare
- Change normalizeScalarHex return type from Buffer to Uint8Array - Update Bitcoin signing handler to use Uint8Array types - Fix hasValidBaseURL method visibility in price-changes store
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds comprehensive support for Lattice1 hardware wallet integration, enabling users to connect and sign transactions for Cosmos, Ethereum (EVM), and Bitcoin chains.
Key Changes
Backend Services
packages/background/src/keyring-lattice1/)Signing Support
m/84'/0'/0'/0/0(mainnet) +m/84'/1'/0'/0/0(testnet)UI Components
Integration Points
Dependencies
gridplus-sdk@^4.0.0for Lattice1 device communication (for now patched for advanced Cosmos signing)Localization
Technical Details
Testing Considerations
Screenshots