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 ef44b06a47
commit 52daa7642d
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
}
});