fix: replace Supabase Auth with on-chain sender verification in verify-deposit

Removed JWT auth requirement from edge function. Now uses wallet address
from request body and verifies it matches the on-chain transaction sender.
This works with wallet-based auth instead of Supabase Auth.
This commit is contained in:
Kurdistan Tech Ministry committed 2026-02-23 08:49:18 +03:00
1 parent 35a911ae5f
commit ac18e1b98d
2 files changed
+31 -35

No files matched your search

+2 -1
View File
@@ -173,7 +173,8 @@ export function DepositModal({ isOpen, onClose, onSuccess }: DepositModalProps)
body: {
txHash,
token,
expectedAmount: depositAmount
expectedAmount: depositAmount,
walletAddress: selectedAccount?.address
}
});