Skip to content
@jincubator

jincubator

Solving and Arbitrage Research

Overview

Here you'll find work on Solving, Arbitrage and Indexing using Tycho, Intents using ERC-7683, EIP-712, Compactx and Uniswap V4 Hooks. As of July 2025 I use jincubator for research and development of prototypes.

⚠️ Note: Development is ongoing and some repositories are private.

Abstract

Liquidity Fragmentation and Capital Efficiency are areas that can be optimized in Blockchain protocols, with the emergence of Multiple L2 Chains and a shift towards intent-based architectures. There is a greater need than ever for a settlement layer to balance provided liquidity.

This is an opinionated architecture for an intent based solving protocol which facilitates single and multichain solving of intents. Intents can be solved on a single chain without provisioning up front capital as we arbiters can confirm mandates have been met by solvers at execution time, thus solvers may use the swappers locked funds for execution.

Opinionated Sample Architecture

This is an opinionated architecture for an intent based solving protocol which facilitates single and mult-chain solving of intents. Intents can be solved on a single chain without provisioning up front capital as we arbiters can confirm mandates have been met by solvers at execution time, thus solvers may used the swappers locked funds for execution.

  • Solving built in RUST leveraging Tycho from Propellor Heads including
    • tycho-sdk: For integrate DEXs and other onchain liquidity protocols
    • tycho-indexer: a low-latency, reorg-aware stream of all attributes you need to simulate swaps over DEX and other on-chain liquidity built on substreams
    • tycho-simulation: a Rust crate which allows simulating a set of supported protocols off-chain
    • tycho-execution: a simple, ready-to-use tool that generates the necessary data to execute trades on multiple chains and DEX's
  • Intent Management platform allowing optimized trading routes optimized by solvers who do not need to provide liquidity up front
    • the-compact: an ownerless ERC6909 contract that facilitates the voluntary formation (and, if necessary, eventual dissolution) of reusable resource locks.
    • arbiters: selects a claim method based on the type of Compact message signed by the sponsor and allocator and on the desired settlement behavior. To finalize a claim, some actor must call into the arbiter, which will act on the input and translate it into their preferred claim method. The arbiter then must call the derived claim method on The Compact to finalize the claim process.
    • Tribunal: a framework for processing cross-chain swap settlements against PGA (priority gas auction) blockchains. It ensures that tokens are transferred according to the mandate specified by the originating sponsor and enforces that a single party is able to perform the settlement in the event of a dispute. Note: currently working on enhancing the EIP712 Signing of the mandates so that the protocol can be used for solving on a single chain and multichain settlement.
    • Services that enable Solving and Arbitrage are drawn primarily from uniswap prototypes for compactX. Note: it would be good to develop the majority of these in Rust and leverage Tycho's indexing and execution services
      • callibrator: An intent parameterization service, demo is here. Note: This will need to incorprate/integrate mandates as we build a solution for solving.
      • v4-router: a simple and optimized router for swapping on Uniswap V4. Note: Currently working on integrating intents into this management into this codebase and integrating this with an optimized smart order router.
      • autocator: A server-based allocator for The Compact that leverages protocol signatures and transactions for authentication, API reference is here.
      • smallocator: Similar to autocator with smart contract support via EIP-4361 session authentication and signing EIP-712 Compact messages.
      • Fillanthropist: receiving and filling broadcasted cross-chain swap intents, demo is here. Note: This infrastructure can be replaced by solver technology built on tycho as well as an update dissemination approach (see repo below) which can leverage tycho indexing.
      • disseminator: A TypeScript WebSocket server implementation that broadcasts messages to both HTTP endpoints and WebSocket clients. The server validates incoming messages using Zod schemas and ensures proper message delivery to all connected clients. Note: Design work still needs to be done as to the most efficient way to store and transmit detailed intent and mandate information
    • Frontend would include swapping and also liquidity provisioning and optimized Yield strategies for Liquidity Providers two inspirational repositories are
      • compactX: a proof-of-concept, React-based web interface for performing cross-chain swaps.
      • YOLO Protocol: A Demo app developed for a hackathon by YOLO Protocol which includes a dashboard for Liquidity Providers to manage their positions.

Uniswap V4 Hook Integration - WIP

This section documents design work to be done for enhancing Uniswap V4 through the use of hooks for better price discovery, swapping, and solver execution.

It leverages Tycho, Intents using ERC-7683, EIP-712, Compactx and Uniswap V4 Hooks. As of July 2025 I use jincubator for research and development of prototypes.

Hook Mods

  1. Booster Pools
  2. BackRunning
  3. ReHypothecation
  4. Paymaster
  5. Settlement Pools - CrossChain
  6. Router change to Slippage Failure to create an Intent.
  7. HOOK

Deliverables

  1. No Liquidity Pool
    1. Swap via preferred LP at fixed price from Oracle
  2. IntentSwap
    1. CreateIntentSwap (includes output amount in each call)
    2. ExecuteIntentSwap (uses funds from compact)
    3. SweepIntentSwap (passed a compact)
  3. BoosterPool
    1. Adds IntentManagement to Any Pool
    2. Adds Dynamic fees to Any Pool
    3. Adds BackRunning via Solver
    4. Adds ReHypothecation to any pool USDCY
    5. Adds Oracle Pricing to any pool EULER-ORACLES
    6. Adds Gas Sponsorship

Team

Development is being lead by John Whitton, below are some handy links about him.

  • github: Johns github profile
  • johnwhitton.com: All about John, his work, writing, research etc.
  • My Resume: One-page resume in pdf format.
  • Overview: A little infographic of John's history
  • Writing and Research: Some writing and research John has done (a little outdated)
  • Uniswap v4: Completed exercises and references for the Uniswap Hook Incubator

Popular repositories Loading

  1. protocol protocol Public

    Smart Contract Protocol

    Solidity

  2. docs docs Public

    Jincubator Docs

    TypeScript

  3. .github .github Public

  4. the-compact the-compact Public

    Forked from Uniswap/the-compact

    The Compact is an ownerless ERC6909 contract that facilitates the formation and mediation of reusable resource locks.

    Solidity

  5. hookmate hookmate Public

    Forked from akshatmittal/hookmate

    Solidity

  6. tycho-simulation tycho-simulation Public

    Forked from propeller-heads/tycho-simulation

    Rust

Repositories

Showing 10 of 17 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…