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

feat: hook logic in implicit account creation step 1 #7894

Merged
merged 43 commits into from
Jan 18, 2024

Conversation

evavirseda
Copy link
Collaborator

Summary

Closes #7841

...

Changelog

- Update depositAddress

Testing

Platforms

Please select any platforms where your changes have been tested.

  • Desktop
    • MacOS
    • Linux
    • Windows

Instructions

Please describe the specific instructions, configurations, and/or test cases necessary to test and verify that your changes work as intended.

...

Checklist

Please tick the following boxes that are relevant to your changes.

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or modified tests that prove my changes work as intended
  • I have verified that new and existing unit tests pass locally with my changes
  • I have verified that my latest changes pass CI workflows for testing and linting
  • I have made corresponding changes to the documentation

@evavirseda evavirseda requested a review from cpl121 January 8, 2024 09:47

try {
balances = await wallet.getBalance()
depositAddress = await getDepositAddress(wallet)
Copy link
Member

Choose a reason for hiding this comment

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

🔈 @cpl121
packages/shared/lib/core/wallet/utils/getDepositAddress.ts
Note for the future: the implementation of getDepositAddress is incorrect, the deposit address should be the address of the selected block issuer account output , not the ed25519 address


// TODO: Replace with proper address
const DUMMY_ADDRESS = 'iota1q9f0mlq8yxpx2nck8a0slxnzr4ef2ek8f5gqxlzd0wasgp73utryjtzcp98'
$: depositAddress = $selectedWallet?.depositAddress
Copy link
Member

Choose a reason for hiding this comment

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

the one time deposit address is not the deposit address but the implicit account address

@begonaalvarezd begonaalvarezd linked an issue Jan 10, 2024 that may be closed by this pull request
…are-ui-step1

packages/desktop/views/dashboard/wallet/views/WalletImplicitAccountView.svelte
packages/desktop/views/dashboard/wallet/views/multi-step/MultiStep.svelte
@evavirseda evavirseda requested review from begonaalvarezd and cpl121 and removed request for cpl121 January 12, 2024 12:54
Copy link
Member

@cpl121 cpl121 left a comment

Choose a reason for hiding this comment

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

Cool! 🏅

Base automatically changed from feat/prepare-ui-step1 to develop-iota2.0 January 16, 2024 09:53
@begonaalvarezd begonaalvarezd merged commit 20d2330 into develop-iota2.0 Jan 18, 2024
3 of 4 checks passed
@begonaalvarezd begonaalvarezd deleted the feat/hook-implicit-account-logic-step1 branch January 18, 2024 17:21
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.

[Task]: Hook logic in implicit account creation step 1
4 participants