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

Add optional validator properties to CosmosTransaction #220

Conversation

Philippoes
Copy link
Contributor

@Philippoes Philippoes commented Aug 28, 2023

📝 Description

Adds optional validators and sourceValidator properties to the CosmosTransaction interface and adjustment to the related serializer, and schema validation based on a Ledger Live Common type found in the Ledger Live monorepo here.

❓ Context

We are currently building a ledger live app for StakeKit that offers users a unified non-custodial staking experience across a wide range of networks and protocols. We were unable to use the Wallet API to sign and broadcast Cosmos Delegate transactions. After investigating the ledger-live monorepo and modifying the CosmosTransaction interface, serializer and schema validation to match the type in the monorepo, we were able to successfully sign the transaction using the Wallet API.

✅ Checklist

  • Test coverage
  • Atomic delivery
  • No breaking changes

📸 Demo

Screen.Recording.2023-08-25.at.17.43.29.mov

@changeset-bot
Copy link

changeset-bot bot commented Aug 28, 2023

🦋 Changeset detected

Latest commit: a3dbb2d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@ledgerhq/wallet-api-core Minor
@ledgerhq/wallet-api-client Patch
@ledgerhq/wallet-api-manifest-validator-cli Patch
@ledgerhq/wallet-api-manifest-validator Patch
@ledgerhq/wallet-api-server Patch
@ledgerhq/wallet-api-simulator Patch
wallet-api-tools Patch
@ledgerhq/wallet-api-client-react 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

@vercel
Copy link

vercel bot commented Aug 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
wallet-api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 9:37am
wallet-api-wallet-api-tools ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 28, 2023 9:37am

@Justkant Justkant merged commit aa5e239 into LedgerHQ:main Aug 30, 2023
2 checks passed
@github-actions github-actions bot mentioned this pull request Aug 30, 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