-
Notifications
You must be signed in to change notification settings - Fork 215
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
Ensure Ledger users can sign Agoric transactions #3628
Comments
@rowgraus What is the open question here? |
Story updated. Assigned to Michael. Should be estimated as non-zero now @Tartuffo @michaelfig |
Using a Ledger to sign wallet spend transactions (including offers) should require only minimal testing, as Keplr makes that process transparent to our software. This issue entails working through the main wallet flows using a hardware wallet supported by Keplr. I consider the nice-to-haves to be out of scope for this issue. Trezor is not supported by Keplr, and for now, Keplr is our only supported signer. It would be great if there are other signers available (MetaMask snaps and Cosmostation come to mind), but integrating and testing each one of them should be a separate issue, ideally not waiting on the Agoric team. Offer legibility on hardware wallets will require coordination with Keplr around If any of these nice-to-haves become necessary for Mainnet 1, let's create separate issues. |
Fallback plan is initially to use |
I'm struggling with Note: to get the cc @JimLarson agd wallet-action cliTo diagnose issues with sending from js (#5761) I tried golang cli support. No joy, so far:
--sign-mode=amino-json doesn't seem to help:
|
Some methods were missing; 8e3825d shows how to fix it.
|
refs #3628 register amino codec for WalletAction, SpendAction ... and MsgWalletSpendAction by filling in LegacyMsg methods. This avoids: panic: expected *legacytx.LegacyMsg when using amino JSON
refs #3628 register amino codec for WalletAction, SpendAction ... and MsgWalletSpendAction by filling in LegacyMsg methods. This avoids: panic: expected *legacytx.LegacyMsg when using amino JSON
Still struggling. As noted in 7e95186: grant needs fix in cosmos-sdk 0.46grant fails due to a known problem (cosmos/cosmos-sdk#11190) in cosmos-sdk pre 0.46:
We're still on 0.45: Line 7 in dbdd778
Why does submit offer fail to broacast?
|
refs #3628 register amino codec for WalletAction, SpendAction ... and MsgWalletSpendAction by filling in LegacyMsg methods. This avoids: panic: expected *legacytx.LegacyMsg when using amino JSON
* fix(golang): complete ledger support for MsgWallet{Spend}Action refs #3628 register amino codec for WalletAction, SpendAction ... and MsgWalletSpendAction by filling in LegacyMsg methods. This avoids: panic: expected *legacytx.LegacyMsg when using amino JSON * fixup! fix(golang): complete ledger support for MsgWallet{Spend}Action Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Works with the CLI. |
As an Agoric user who manages my assets with a hardware wallet (Ledger), I need to be able to sign transactions with Agoric offers (e.g., create a vault, trade on AMM, add liquidity on AMM) using my hardware wallet.
Our on-chain wallet design may handle this natively through Keplr. This should be explicitly tested.
Must have:
Nice/prefer to have:
The text was updated successfully, but these errors were encountered: