-
Notifications
You must be signed in to change notification settings - Fork 295
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
feat: add HW support for VP delegation #3243
feat: add HW support for VP delegation #3243
Conversation
}).promise; | ||
if (wallet.isHardwareWallet) { | ||
const [{ id: stakePoolId }] = this.stores.staking.stakePools; | ||
let dlegationData: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small typo. Just nitpicking, it could be ignored 😄
- let dlegationData: {
+ let delegationData: {
certificates = [ | ||
{ | ||
certificateType: 'register_reward_account', | ||
rewardAccountPath: ['1852H', '1815H', '0H', '2', '0'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am sorry. I am unfamiliar with Daedalus. Is it a single account wallet? (i.e. account is always '0H')
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that's correct. Daedalus is a single-account wallet.
081f4ee
to
f55834d
Compare
f55834d
to
4d719d6
Compare
b4cdb15
into
feat/LW-11519-governance-voting-tab
* feat: Add navigation with governance to voting page [LW-11519] * feat: add delegate votes API call and integrate it with mobx voting store * feat: Add governance voting form [LW-11519] * feat: voting power delegation confirmation dialog * chore: Add changelog entry [LW-11519] * feat: useconstructTx endpoint to calculate fee and for HWs, fix validation in form, improve styling * feat: Recognize and style voting transactions [LW-11519] * feat: redirect the user to the wallet of coice after successfull VP delegation * feat: add i18n to confirmation dialog and handle API error cases * feat: Track successfully casted votes [LW-11519] * feat: add final translations [LW-11519] * fix: Catch send error for staking conway wallets which have not registered voting rights yet [LW-11518] * feat: add HW support for VP delegation (#3243) * feat: add ledger support for VP delegation * feat: add trezor support for VP delegation --------- Signed-off-by: Dominik Guzei <[email protected]> Co-authored-by: Szymon Masłowski <[email protected]> Co-authored-by: Przemysław Włodek <[email protected]>
This PR adds support for ledger devices. Trezor is on the way.