Calldata Pipeline
Calldata Pipeline
From natural language to signed, verified, broadcast transaction. 7 stages.
7
Pipeline stages
Intent to broadcast
2,457
Selectors
Known function signatures
44+
Recipes
Deterministic TX templates
12+
Protocols
Full recipe coverage
The pipeline
Seven stages. One intent.
Understand
NL → JSON
Lookup
Route recipe
Assemble
Build calldata
Simulate
Anvil fork
Approve
State diff
Sign
Your device
Verify
Then broadcast
Routing
Three paths to calldata.
Express
Direct contract calls with pre-built templates. Fastest path for common actions.
~2sRecipe
SQL lookup in tx.db. Pure template + parameter assembly. Zero LLM. Deterministic.
InstantDiscovery
Fetch real TXs from chain. Decode calldata. Classify. Write new recipe. Then re-run.
LearnsTransparency
You see everything before signing.
Step 1/2: Approve USDC spending
Step 2/2: Deposit into Euler vault
USDC: 50,000.00 → 25,000.00 -25,000.00
eUSDC: 0.00 → 24,987.50 +24,987.50
ETH: 0.4521 → 0.4498 -0.0023
Gas: $2.30 · Flags: none
Comparison
Before x0x1 vs. after.
Manual flow (MetaMask + dApp)
1
Open protocol frontend in browser 2
No verification the frontend is legitimate 3
Approve unlimited token allowance 4
Sign opaque hex blob 5
No pre-execution simulation 6
Infinite approval remains active indefinitely
6 steps. No verification. Infinite approval left behind.
x0x1 pipeline
1
"Deposit 25k USDC into Euler" 2
Recipe lookup + exact-amount approval built 3
Full state diff on Anvil fork shown 4
Sign on air-gapped device with decoded TX 5
Post-sign verification before broadcast 6
Approval scoped to exact amount, auto-tracked
One sentence in. Verified calldata out. Approval cleaned up.
Resilience
Self-healing. Infinite retry.
TX reverts on fork. Pipeline fetches working TXs from chain, diffs calldata, patches the recipe. Permanent fix.
TX reverts on fork
Fetch successful TXs from Etherscan
Decode & compare calldata
Fix recipe in database
Re-simulate on fresh fork
30 same errors → change approach
Safety
Code-enforced. Not suggestions.
BLOCK — pipeline halts
SEND_ALL_IMPLICIT No explicit "all" in intent
UNVERIFIED_CONTRACT No verified source code
APPROVAL_MAX Infinite approval blocked
HEALTH_FACTOR HF would drop below 1.5
BALANCE_LOW Insufficient for amount + gas
FLAG — warn at approval
LARGE_AMOUNT > 50% of wallet balance
HIGH_GAS > $50 L1, > $5 L2
DUPLICATE_TX Same action within 24h
TRANSFER_TO_CONTRACT Destination is contract, not EOA