Doca Back to site

Doca

Keep your wallet.
Put it to work anyway.

Non-custodial market making on 1inch Aqua: budgets sized to the wallet's actual balance.

Adjacent evidence: 1inch's own numbers, one week old
85% of tracked concentrated liquidity underutilized in H1 2026: $1.6B of $1.84B analyzed, mostly individually managed positions
(1inch-commissioned Dune research, July 18)

Aqua fixes custody: promises instead of deposits, one balance behind many strategies. But promises can exceed the wallet by design, and when flow turns directional, quotes go phantom.

Not speculative: it is in the Aqua whitepaper, §3
"While Aqua doesn't automatically pause illiquid positions, Makers are strongly recommended to manually dock strategies that become chronically underfunded…" Aqua whitepaper 1.0, §3: the prescribed fix is a human, awake at 3am

Nobody docks by hand at 3am.

Doca: one invariant, three pieces

A promise may exceed your wallet.
A budget may not.

On-chain

InventorySkewProvider behind SwapVM's stock opcode 30: fee flat while a budget is healthy, quadratic as it drains. Directional: takers get paid to rebalance you.

Harbormaster

A keeper that docks any strategy crossing its line and re-ships against the wallet's current balance. The whitepaper's advice, automated in this demo; with a connected wallet it prompts you to sign.

Product

A five-step journey: wallet → put to work → live market → protected → walk away. Nothing deposited, spend without withdrawing.

On-chain Off-chain Harbormaster Pricing Quotes Committed state Watch Dock Resize Re-ship
Live demo

One balance, quoting in three markets.

1 Quote 2 Flow 3 Drain 4 Cross line 5 Dock 6 Resize 7 Re-ship
→ switch to the app · canonical Aqua registry, real WETH/USDC, fork of Base
Measured, with a paired control: one instruction of difference

Same wallet. Same flow.

30 fills, same flowplainskewed
Inventory left6.3%8.1% (+29%)
Realized price16.0016.32 (+1.99%)
4× amplificationunmanagedmanaged
Unhonorable fills43 of 860
LP value vs hold−21.8%−19.7% (+2.7%)

At 1× and 2× the mechanism costs nothing. Budgets never exhaust. It only bites when it is needed.

Prior art we build on

Every ingredient is named.
The state variable is new.

The first budget-based inventory-depletion fee on Aqua that we found in shipped app form.

Trust model

Who signs, who watches.

Demo

A local signer lets the Harbormaster act autonomously, on camera.

Connected wallet

The same actions require the maker's signature.

Production

A scoped session key would authorize only dock, ship and waterline updates, with limits and expiry: ERC-4337 session keys, ERC-7715/7710-scoped grants.

MCP surface: read-only observability, not the transaction executor.

What is real

Keep your wallet. Put it to work anyway.

github.com/ottodevs/doca

ETHGlobal Lisbon 2026 · built on 1inch Aqua + SwapVM

Doca · ETHGlobal Lisbon 2026