-
Notifications
You must be signed in to change notification settings - Fork 102
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
feat: hook logic in implicit account creation step 1 #7894
Conversation
…t-account-creation-view
…are-ui-step1 packages/desktop/views/account/multi-step/ShowOneTimeAddress.svelte packages/desktop/views/implicit-account-creation/views/activate/MainView.svelte
…t-account-creation-view
…t-account-creation-view packages/desktop/views/implicit-account-creation/ImplicitAccountCreationRouterView.svelte
…t-account-creation-view
|
||
try { | ||
balances = await wallet.getBalance() | ||
depositAddress = await getDepositAddress(wallet) |
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.
🔈 @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 |
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.
the one time deposit address is not the deposit address but the implicit account address
…are-ui-step1 packages/desktop/views/dashboard/wallet/views/WalletImplicitAccountView.svelte packages/desktop/views/dashboard/wallet/views/multi-step/MultiStep.svelte
packages/desktop/views/dashboard/wallet/views/implicit-account-creation-multistep/OneTimeDepositView.svelte
…logic-step1 packages/desktop/views/dashboard/wallet/views/implicit-account-creation-multistep/OneTimeDepositView.svelte
...p/views/dashboard/wallet/views/implicit-account-creation-multistep/OneTimeDepositView.svelte
Outdated
Show resolved
Hide resolved
...p/views/dashboard/wallet/views/implicit-account-creation-multistep/OneTimeDepositView.svelte
Outdated
Show resolved
Hide resolved
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.
Cool! 🏅
…step1 packages/desktop/views/dashboard/wallet/views/implicit-account-creation-multistep/OneTimeDepositView.svelte
Summary
...
Changelog
Testing
Platforms
Instructions
...
Checklist