Skip to content

Feature/create-new-wallet-updates#155

Merged
QSchlegel merged 14 commits intomainfrom
feature/create-new-wallet-updates
Oct 28, 2025
Merged

Feature/create-new-wallet-updates#155
QSchlegel merged 14 commits intomainfrom
feature/create-new-wallet-updates

Conversation

@Andre-Diamond
Copy link
Collaborator

  • Updated the handling of existing stake keys, user payment address and stake key matching on invite page and wallet creation for new and legacy invited wallets

- Added functionality to allow users to claim ownership of new wallets when the current owner is set to "all" and the user qualifies based on their stake address or signer addresses.
- Introduced a new mutation in the API to handle ownership updates, ensuring atomic conditional claims.
- Enhanced the wallet invite page to trigger ownership updates automatically when conditions are met.
…lization

- Added logic to handle user payment and stake key hashes for signers, improving the qualification process for wallet ownership.
- Implemented normalization of key hash placeholders to actual addresses, ensuring accurate signer identification.
- Enhanced user feedback with toast notifications upon successful updates and error handling for failed operations.
- Refactored the component to streamline the update process for new wallet signers and their descriptions.
…handling

- Introduced useMemo for blockchain provider and payment hash matching to optimize performance.
- Added logic to fetch and compare derived payment hashes from user's stake address, improving wallet qualification checks.
- Refactored conditions for user ownership and signer status to streamline the invite process.
- Enhanced error handling for address fetching failures, ensuring better user feedback.
- Introduced logic to update signers' stake keys based on derived payment hashes, improving wallet qualification accuracy.
- Added checks to prevent unnecessary updates and ensure alignment with user stake addresses.
- Enhanced error handling for potential failures during stake key updates, providing better feedback for users.
- Modified the loading state to account for both loading and external stake credential conditions, ensuring accurate UI feedback during signer actions.
- Updated the disabled state for the add signer button to reflect the new loading logic, improving user experience by preventing interactions during Summon platform operations.
…ndling

- Updated the wallet flow state logic to prefer imported payment CBOR from wallet invites when available, improving the robustness of multisig wallet creation.
- Refactored the scriptCbor assignment to ensure fallback to multisig wallet script only when necessary, enhancing error handling for undefined scriptCbor scenarios.
- Introduced a new optional field `rawImportBodies` of type Json to the Wallet model, allowing for the storage of raw import data, which enhances the wallet's data handling capabilities.
- Enhanced the wallet flow state to include `rawImportBodies` from wallet invites, improving data handling during multisig wallet creation.
- Updated the wallet API to accept `rawImportBodies` as an optional field in the wallet creation mutation, ensuring compatibility with the new data structure.
- Defined new types for `RawImportBodies` to support various user and community data, enhancing the wallet's extensibility.
…ility

- Enhanced the wallet creation flow to handle stored script formats, providing user feedback when a wallet is created with an unsupported format.
- Updated the state management to include a new `usesStored` flag, allowing for conditional rendering and button state based on the wallet's script compatibility.
- Introduced a new message to inform users when not all signers have completed the invite process, enhancing user feedback during wallet creation.
- Updated the wallet flow state to include a `hasSignerHashInAddresses` flag, improving validation logic for wallet creation based on signer address conditions.
… component

- Removed unnecessary async keywords from mutation success handlers in the wallet invite component, improving code clarity and performance.
- Updated error handling to streamline the user experience during wallet operations.
- Updated the handling of existing stake keys to ensure proper alignment with signer addresses, enhancing the accuracy of stake key updates.
- Introduced logic to derive stake addresses from payment addresses where applicable, improving the overall robustness of the wallet invite process.
@vercel
Copy link

vercel bot commented Oct 24, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
multisig Ready Ready Preview Comment Oct 28, 2025 10:41pm

@QSchlegel QSchlegel merged commit 4a5ec31 into main Oct 28, 2025
4 checks passed
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.

2 participants