TLIS-Hook

Encrypt your swaps, get random prices ±1%. MEV protection + gamified trading on Uniswap V4.

HackMoney 2026Shipped January 30, 2026 Dormant#defi#privacy#security
Repo
TLIS-Hook banner

About

TLISHook (Time-Locked Intent System Hook) is a Uniswap V4 hook that eliminates MEV attacks using a combination of time-locked encryption and verifiable randomness.

THE PROBLEM: Standard Uniswap V4 pools are still vulnerable to sandwich attacks, front-running, and other MEV exploitation. Traders lose 2-5% of their swap value to sophisticated bots that scan the mempool and manipulate transaction ordering.

THE SOLUTION: TLISHook introduces a novel two-layer defense mechanism:

  • PRIVACY LAYER: Users submit encrypted swap intents that are XOR-encrypted with future Drand randomness. These intents remain completely unreadable for a 5-minute collection window, preventing bots from seeing trade flow before execution.
  • RANDOMNESS LAYER: At execution time, each swap executes at a "surprise price" - the market price plus or minus a random offset (±1% in sqrtPriceX96 space). This randomness is derived from Drand (a decentralized randomness beacon), making it verifiable and unpredictable.

KEY FEATURES:

- Temporal privacy through time-locked encryption (5-minute batches) - Surprise pricing that makes front-running unprofitable - User-defined safety bounds ensure you never get worse than your specified limits - Atomic batch execution prevents partial manipulation - Decentralized coordination via timestamp-based batch IDs - Escrow-based settlement for autonomous execution

THE INNOVATION: Beyond security, TLISHook gamifies trading. Users might get lucky and receive better-than-market prices, or unlucky and pay slightly more - but always within their safety bounds. This transforms boring swaps into engaging, strategic experiences while providing stronger MEV protection than traditional approaches.

TECHNICAL ARCHITECTURE:

- Built on Uniswap V4's hooks system - Integrates Drand quicknet (3-second rounds) for randomness - Uses poolManager.unlock() → unlockCallback() for atomic settlement - Keeper network executes batches after time-lock expires (60-second priority window) - All user funds held in hook's escrow (s_userBalances mapping)

IMPACT: Trading becomes both MORE secure (MEV-resistant) AND more fun (gamified with provably fair randomness). Users maintain control via price bounds while potentially benefiting from lucky random outcomes.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

DormantLast push 298 days ago

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

UniswapExeGuard

A Uniswap v4 hook that enforces institutional-style execution policies at swap time.

HackMoney 2026Prize winner Dormant#defi#identity