mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-24 21:17:55 +00:00
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:
@@ -173,7 +173,8 @@ export function DepositModal({ isOpen, onClose, onSuccess }: DepositModalProps)
|
||||
body: {
|
||||
txHash,
|
||||
token,
|
||||
expectedAmount: depositAmount
|
||||
expectedAmount: depositAmount,
|
||||
walletAddress: selectedAccount?.address
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user