Cover photo

Breaking the Transactional Loop

DeFi has a UX problem, but it's not design. It's architecture.

In traditional finance, you declare outcomes. "Open a delta-neutral position." "Rebalance my portfolio to 60/40." The system figures out the rest. In DeFi, you're handed a checklist.

Want to open a delta-neutral staked LP position on Base starting from USDC on Arbitrum? Here's what that actually looks like:

  1. Bridge USDC from Arbitrum to Base

  2. Swap USDC to wstETH

  3. Swap USDC to WETH

  4. Approve wstETH for Aave

  5. Supply wstETH to Aave

  6. Borrow WETH from Aave

  7. Approve wstETH for Aerodrome

  8. Approve WETH for Aerodrome

  9. Add liquidity to Aerodrome wstETH/WETH pool

Multiple transactions. Multiple protocols. Constant context-switching. Miss step 6? You're stuck mid-execution with a half-built position and no clean exit.

This is the Transactional Loop: users forced to think in steps rather than outcomes. It's why sophisticated DeFi remains inaccessible.


Define the Outcome. We Build the Path.

Declarative Transactions flip this model.

Instead of sequencing each step manually, you define two things: what you're starting with, and where you want to end up. Haiku handles everything in between.

Here's what that same delta-neutral position looks like declaratively:

post image

What you have. What you want. One transaction.

The routing engine calculates the path in real-time and bundles every operation into a single transaction. The entire strategy succeeds, or nothing happens. No partial fills. No stuck positions.

Here's how that flow looks:

post image

The Long Tail Problem

Most execution infrastructure focuses on simple swaps: Token A to Token B. That's the head of the distribution, and it's well-served.

DeFi's real complexity lives in the tail.

post image

"Basket swap all my stables to liquid staked ETH derivatives."

"Open a leveraged loop on Aave."

"Move my delta-neutral concentrated liquidity position to a chain with better yield."

These aren't hypotheticals. They're the strategies sophisticated users actually need, and they've been effectively impossible to execute without manual effort or months of custom development.

Declarative Transactions solve the entire distribution. One API that handles everything from simple swaps to cross-chain portfolio rebalancing. No custom solvers. No protocol-specific integrations.


What This Unlocks

For users: Strategies that previously required multiple transactions and expert knowledge now execute in one click.

For protocols: Sophisticated DeFi products ship in days, not months. Leveraged loops, delta-neutral vaults, cross-chain rebalancing: all without building execution infrastructure from scratch.

For DeFi: The gap between what's possible and what's accessible finally closes.


Declarative Transactions are live today. Sub-200ms route calculation. 20 networks. 45+ integrated protocols.

DeFi promised permissionless finance. Declarative Transactions deliver permissionless execution.

Want to build onchain strategies? Reach out at contact@haiku.trade

Integrate: docs.haiku.trade

Follow: @HaikuTrade