-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Problem: Hooks and UI assume MultisigWallet exists and expose staking/governance features incorrectly.
Tasks:
- Update src/hooks/useWalletBalances.ts to use the new Summon-derived address when present.
- Update src/hooks/useMultisigWallet.ts and src/hooks/useAppWallet.ts to expose capability metadata for Summon wallets.
- Update src/hooks/useUserWallets.ts to ensure Summon wallets carry computed capability fields.
- Update src/components/pages/homepage/wallets/index.tsx and src/components/pages/homepage/wallets/new-wallet-flow/ready/index.tsx to render Summon addresses from capability data (not
MultisigWallet). - Update src/components/pages/wallet/info/card-info.tsx and src/components/pages/wallet/info/inspect-script.tsx to display stake details only when Summon staking is supported.
- Update src/components/pages/wallet/staking/StakingActions/stake.tsx to source stake script and reward address from Summon capability data when present.
Affected files:
- src/hooks/useWalletBalances.ts
- src/hooks/useMultisigWallet.ts
- src/hooks/useAppWallet.ts
- src/hooks/useUserWallets.ts
- src/components/pages/homepage/wallets/index.tsx
- src/components/pages/homepage/wallets/new-wallet-flow/ready/index.tsx
- src/components/pages/wallet/info/card-info.tsx
- src/components/pages/wallet/info/inspect-script.tsx
- src/components/pages/wallet/staking/StakingActions/stake.tsx
Acceptance:
- Summon wallets render the correct address and (when applicable) stake address.
- No runtime errors when wallet type is Summon.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels