wallet-adapter
wallet-adapter copied to clipboard
Adding ability to signMessage with Ledger adapter
For this patch to work, we would need a new Solana App released with supporting off-chain message signing. The code is done here: https://github.com/LedgerHQ/app-solana/pull/37 not yet been released.
🦋 Changeset detected
Latest commit: 3d846748112b816611bf201785b1286a684094fe
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 2 packages
Name | Type |
---|---|
@solana/wallet-adapter-ledger | Patch |
@solana/wallet-adapter-wallets | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
@elbywan any possibility of getting the new Solana app released with the off-chain signing?Thank you.
Hey @martincik, sorry but I am not working in the Ledger firmware team and my work is not related to the nano apps at all.
@jordansexton Thanks for the review and feedback. I've applied all the input and reverted all the new derivative path codes. Feel free to let me know if there's anything else I can do to move it forward.
This looks good. I think we need to wait to merge until the Ledger app actually supports the full message preamble: https://edge.docs.solana.com/proposals/off-chain-message-signing#message-preamble
The current (1.3.1) release does support INS_SIGN_MESSAGE_OFFCHAIN
and Phantom has done some testing, which (I'm told) works: https://github.com/phantom-labs/sandbox/pull/33/files#diff-ef62378fde56dd1b353bf1263bff96352f72df5be1d8c676855450bdf42cd61f
But the addition to the Ledger app was done before the spec was finalized, and some of the message headers have changed.
pinging you on this @jordansexton, when do you expect to merge this?
hey @jordansexton , are there any plans to merge this anytime soon?
This is still in development for the Ledger app. While the app was updated to include message signing support, it doesn't implement the final version of the Solana offline signing spec yet. Apps shouldn't start to use until it's implemented correctly (the message preamble has changed, so the input and signatures won't match). I'll merge this when it's released.
so ledger is still working on this I assume?
This is still in development for the Ledger app. While the app was updated to include message signing support, it doesn't implement the final version of the Solana offline signing spec yet. Apps shouldn't start to use until it's implemented correctly (the message preamble has changed, so the input and signatures won't match). I'll merge this when it's released.
hey jordan was there any update on this?
Hey any update on this?