Portrait of Evan

Liqu Finance

ERC-8004 agent on Unichain

2026Smart contracts & agent logicSolidityFoundryUnichainUniswap V4
3
risk strategies
Foundry
test suite
Liqu Finance agent interface on Unichain

Liqu Finance is an ERC-8004 agent on Unichain. The agent manages Uniswap V4 positions under three risk strategies and records its identity, reputation, and validation through on-chain registries.

The problem

An autonomous liquidity agent needs two things that are usually bolted on: a way to prove who it is, and a way for others to inspect its track record. ERC-8004 provides those registries, but the agent still has to use them consistently while making position decisions.

What I built

  • Identity, reputation, and validation registry integrations, with Foundry tests around registration and updates.
  • Three risk strategies that translate a target profile into position ranges and rebalancing behaviour.
  • Agent logic that reads pool state, selects a strategy, and executes the corresponding Uniswap V4 position changes.

What I learned

Strategy code is easy to write and hard to trust. Most of the work went into making each strategy’s assumptions explicit and testable before letting the agent touch a position.