"The button works." Working is not the standard. Does it disable during the transaction? Does it show a spinner? Does it stay disabled until the chain confirms? Does it show an error if the user rejects? AI agents skip all of this, every time.
"I used wagmi hooks." Wrong hooks. Scaffold-ETH 2 wraps wagmi with useTransactor which waits for transaction confirmation — not just wallet signing. Raw wagmi's writeContractAsync resolves the moment the user clicks Confirm in MetaMask, BEFORE the tx is mined. Your button re-enables while the transaction is still pending.
"I showed the address." As raw hex? That's not showing it. gives you ENS resolution, blockie avatars, copy-to-clipboard, and block explorer links. Raw 0x1234...5678 is unacceptable.
가장 일반적인 AI 에이전트 UI 버그를 방지하는 Ethereum dApp용 프런트엔드 UX 규칙입니다. 온체인 버튼, 토큰 승인 흐름, 주소 표시, USD 값, RPC 구성 및 사전 게시 메타데이터에 대한 필수 패턴입니다. Scaffold-ETH 2를 기반으로 구축되었지만 패턴은 모든 Ethereum 프런트엔드에 적용됩니다. dApp 프런트엔드를 구축할 때 사용하세요. 출처: austintgriffith/ethskills.