"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.
Правила внешнего интерфейса для децентрализованных приложений Ethereum, которые предотвращают наиболее распространенные ошибки пользовательского интерфейса агента ИИ. Обязательные шаблоны для кнопок ончейна, потоков утверждения токенов, отображения адреса, значений в долларах США, конфигурации RPC и метаданных перед публикацией. Построен на основе Scaffold-ETH 2, но его шаблоны применимы к любому интерфейсу Ethereum. Используйте при создании любого интерфейса dApp. Источник: austintgriffith/ethskills.