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

Ledger wallet Catalyst voting registration support #2096

Merged
merged 10 commits into from
Jun 16, 2021

Conversation

yushih
Copy link
Collaborator

@yushih yushih commented May 17, 2021

[ch8804]
Prerequisite: this change Emurgo/yoroi-extension-ledger-connect-handler@3ebe9bc be published to NPM as version 5.0.0

Because when Ledger signs the tx, it only returns the signature part of the CIP-15 aux data, in VotingStore._createTransaction I have to pass the staking pub key and reward address along with the staking key path down the call chain. And in LedgerSendStore.signAndBroadcast, I construct the aux data (aka metadata) using the data passed down and the signature returned from Ledger and put it into the tx body.

@shortcut-integration
Copy link

This pull request has been linked to Clubhouse Story #8804: Make Trezor wallet Catalyst registration work at API level.

@vsubhuman vsubhuman added this to the 4.6.0 milestone May 21, 2021
@yushih yushih force-pushed the yushi/catalyst-ledger branch 2 times, most recently from 50f0937 to 4906ae9 Compare May 24, 2021 03:31
@yushih yushih force-pushed the yushi/catalyst-ledger branch from 4906ae9 to 6b90742 Compare May 24, 2021 13:17
@yushih yushih force-pushed the yushi/catalyst-ledger branch from 03828bf to 9ad0b5e Compare May 26, 2021 09:16
@yushih yushih marked this pull request as ready for review May 26, 2021 14:03
@vsubhuman
Copy link
Contributor

@yushih , plz resolve conflicts

@vsubhuman vsubhuman self-requested a review May 28, 2021 11:26
@yushih yushih self-assigned this May 31, 2021
@yushih yushih force-pushed the yushi/catalyst-ledger branch from b2d933d to 8858abb Compare June 1, 2021 11:41
Conflicts:
	packages/yoroi-extension/app/api/ada/lib/cardanoCrypto/catalyst.test.js
@yushih yushih force-pushed the yushi/catalyst-ledger branch from 3d4c389 to cf1f408 Compare June 4, 2021 03:20
Copy link
Contributor

@vsubhuman vsubhuman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/check

@vsubhuman vsubhuman merged commit d6efe27 into develop Jun 16, 2021
@vsubhuman vsubhuman deleted the yushi/catalyst-ledger branch June 16, 2021 17:46
@vsubhuman vsubhuman mentioned this pull request Jun 16, 2021
This was referenced Jul 7, 2021
This was referenced Jul 14, 2021
@vsubhuman vsubhuman mentioned this pull request Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants