flowstate

AI Agent automating Uniswap swaps & ENS-based batch payroll on Arc Network.

flowstate

Created At

HackMoney 2026

Project Description

FlowState is an autonomous AI agent designed to revolutionize cross-chain DeFi operations by bridging the gap between liquidity, identity, and execution. The platform enables users to manage complex payroll and financial workflows using simple natural language prompts, such as "Pay employee.eth 1000 USDC using my Sepolia ETH". By creating a unified intent layer, FlowState abstracts away the friction of switching networks, manual address entry, and liquidity sourcing.

The project focuses on three core pillars: dynamic liquidity through Uniswap V4, cross-chain identity resolution via ENS, and high-performance settlement on the Arc Network. It effectively treats Ethereum (Sepolia) as the source of truth for identity while leveraging L2 infrastructure for instant and low-cost execution. This project provides a glimpse into the future of "Intent-Centric" blockchain interactions where users focus on goals rather than technical steps.

How it's Made

FlowState is built with a modern stack combining AI, specialized smart contracts, and cross-chain protocols. The frontend is developed with Next.js and React, featuring a visual workflow builder that allows users to see their natural language intents converted into executable nodes. The AI intent parser leverages Gemini API to extract DeFi parameters and construct complex cross-chain logic.

On the smart contract side, we implemented a custom TimeFeeHook.sol on Uniswap V4. This hook introduces a dynamic fee structure (0.1% to 1%) that adjusts based on time-weighted volatility, optimizing fees for payroll-related swaps. For identity, the system uses an ENS Resolver on Sepolia to derive wallet addresses, which are then mapped to the Arc Network for settlement. The execution layer uses Arc's high-performance infrastructure to distribute mUSDC to multiple recipients instantly. The entire backend and agent logic are integrated using Alchemy for reliable chain communication and node management.

background image mobile

Join the mailing list

Get the latest news and updates