ENS Defi Preferences

Portable DeFi identity using ENS to store user trading preferences across apps

ENS Defi Preferences

Created At

HackMoney 2026

Project Description

This project demonstrates how ENS can function as a portable DeFi identity layer rather than just a naming system. The app allows users to connect their wallet, resolve their ENS name, and store personal trading preferences such as preferred DEX, slippage tolerance, and risk profile directly inside ENS text records. Because the data is written to ENS, it becomes user-owned and portable across any DeFi interface that chooses to read it.

Instead of repeatedly configuring settings in every application, users configure once and reuse everywhere. The demo shows both writing and reading ENS text records live, proving how decentralized naming infrastructure can act as persistent cross-application user configuration for the DeFi ecosystem.

How it's Made

The application is built as a lightweight Next.js frontend using wagmi, viem, and RainbowKit for wallet connectivity and on-chain interactions. ENS integration is implemented directly through wagmi hooks such as ENS name resolution and ENS text record reads, along with contract write calls to the ENS public resolver for saving preferences.

The app intentionally avoids heavy backend dependencies and relies primarily on client-side blockchain interactions through public RPC providers, keeping the architecture simple, transparent, and easy to extend. Tailwind is used for minimal UI styling, while the core focus is demonstrating real-time ENS read/write functionality in a clean working demo. The result is a minimal but functional prototype showing how ENS can power portable, user-owned DeFi preference profiles across multiple applications.

background image mobile

Join the mailing list

Get the latest news and updates