web3securitywalkthrough
Never trust the client: verifying on-chain payments server-side
2026-07-28
Replace this with the real walkthrough. Suggested outline:
- Why a client-reported transaction hash is never proof of payment.
- Fetching and decoding the transaction receipt server-side (EVM) or the confirmed transaction (Solana).
- Confirmation-depth thresholds and why they matter.
- The database constraint that prevents replaying the same transaction against two orders.
- What actually broke the first time you tried this in production.