We run airdrop campaign and selfdrop should have 1 wallet 1 claim. But since claim button click allows many metamask windows it allows user to claim many times with the same wallet. Why ? is it SDK bug ? Why SDK does not verify and all open metamask instances use the same session ? Isnt against your owb business model as well ? I really need your urgent support . thanks in advance
Your smart contract needs to verify who can claim and how many times
There is nothing Metamask or Moralis can do to prevent someone from claiming twice as itโs all about how your smart contract works
Hi Ivan. Thank you for prompt response. Of course we control with our code how many times each wallet claims. And if it is more than 1 then we do not even trigger smart contract . We strongly believe that there is a need to improve SDK for session verification. This is needed to assure Moralis business model. Can we chat/talk via phone? I am in Sweden right now. Thanks
Your smart contract code should handle the validation part, as anyone can make a transaction without even using MetaMask.
Yes like @cryptokid says - there is no โsessionโ to handle when users interact with smart contracts
Users can interact with your smart contract without using Moralis or Metamask, they can speak straight with your smart contract
There is nothing we or any other tech can do
Itโs 100% on your smart contract to verfiy who is talking to it and what they are doing
Hope it makes sense
If you want to do a call - please email [email protected] and he will arrange