How to add OFAC screening to a DeFi frontend
How to add OFAC screening to a DeFi frontend
Frontend integration: (1) When a user connects a wallet, screen the address against the SDN list. (2) If clean, allow interaction. (3) If match, display a blocking message and prevent contract interaction. (4) The check runs client-side or through your backend — either way, the wallet never reaches the smart contract.