Skip to content

Remove minimum deposit validation for gasless card deposits#2042

Merged
MusabShakeel576 merged 1 commit into
qafrom
claude/remove-deposit-minimum-2yg9g
May 4, 2026
Merged

Remove minimum deposit validation for gasless card deposits#2042
MusabShakeel576 merged 1 commit into
qafrom
claude/remove-deposit-minimum-2yg9g

Conversation

@MusabShakeel576
Copy link
Copy Markdown
Contributor

Summary

This PR removes the minimum deposit amount validation and UI messaging for gasless card deposits, simplifying the deposit flow for card sources while maintaining the validation for other deposit sources.

Key Changes

  • CardDepositInternalForm.tsx:

    • Removed cardDepositMinimumAmount, isCardDepositSponsor, and isBelowMinimumDeposit state variables
    • Simplified the gasless deposit info message to always display "Gasless deposit" without conditional minimum amount warnings
    • Removed dynamic color changes on the Fuel icon and text based on minimum deposit validation
  • useDepositFromSolidUsdc.ts:

    • Updated minimum deposit validation to skip the check for card deposits (!isCard && !isSponsor)
    • Card deposits are now exempt from the minimum sponsor amount requirement

Implementation Details

The changes allow card deposits to proceed without meeting the minimum deposit threshold, while wallet deposits still enforce the minimum amount validation. This streamlines the user experience for card-based deposits by removing the minimum amount barrier and associated warning messaging.

https://claude.ai/code/session_019ajaJ3Dc3VrjYR4nQvZKQG

Allow card deposits below the sponsor threshold to proceed gaslessly.
Drops the minimum-amount validation in useDepositFromSolidUsdc when the
category is CARD, and removes the related warning UI in the deposit-to-card
modal so the gasless badge is shown unconditionally.

https://claude.ai/code/session_019ajaJ3Dc3VrjYR4nQvZKQG
@vercel
Copy link
Copy Markdown

vercel Bot commented May 4, 2026

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

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
solid-app Ignored Ignored May 4, 2026 9:32am
solid-app-staging Ignored Ignored May 4, 2026 9:32am

Request Review

@MusabShakeel576 MusabShakeel576 merged commit 05be1a1 into qa May 4, 2026
4 of 5 checks passed
@MusabShakeel576 MusabShakeel576 deleted the claude/remove-deposit-minimum-2yg9g branch May 4, 2026 09:33
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