-
Notifications
You must be signed in to change notification settings - Fork 31
Description
📌 Description:
Implement the Argent Invisible SDK wallet connection logic for the "Use Invisible SDK" option presented in the wallet connection modal.
When selected, the SDK should be initialized, the user should be authenticated, and the app should proceed to the next appropriate flow (e.g., navigation, user dashboard, etc.).
📚 Documentation:
Refer to the official implementation guide here:
🔗 Argent Invisible SDK - Implementation Docs
🔗 Dependencies:
This issue is dependent on the completion of #53 - Add Wallet Connection Option Modal. Do not begin until the modal UI is merged.
🧠 Context:
The modal currently presents two wallet connection methods. This task brings functionality to the Invisible SDK option, enhancing the user experience with seamless authentication.
🧭 Proposed Actions:
- Review the modal implementation and locate the Invisible SDK selection handler.
- Follow the setup steps from Argent’s SDK documentation:
- Install and initialize the SDK
- Handle wallet connection and session state
- After successful connection:
- Notify the user (e.g., via toast or message)
- Trigger the next user flow (e.g., navigate to a dashboard)
- Handle edge cases such as SDK failure or denied permissions
- Ensure clean, reusable code with no sensitive data committed
- Push changes to the appropriate working branch (e.g.,
invisible-sdk-connect)
✅ Acceptance Criteria:
- Invisible SDK is correctly installed and initialized
- Wallet connection via SDK works reliably
- User is notified upon successful connection
- No sensitive info is committed (API keys, tokens, etc.)
- Code is pushed and ready for review
🕒 Timeframe:
⏰ Must be completed within 48 hours of Issue #53 being merged.