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:
2026-02-23 08:49:18 +03:00
parent 35a911ae5f
commit ac18e1b98d
2 changed files with 31 additions and 35 deletions
+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
}
});