How to avoid fraud on Web3 apps