For market makers and index holders

Stop splitting your coins across exchanges.

Tenbin lets Uniswap and 1inch trade one wallet at one price. Your coins stay put, both venues quote the same number, and nobody sees you watching.

  • ✓ 0 wei apart on both venues
  • ✓ Arbitrage loops lose money
  • ✓ 59 contract tests, all green
Price boardmeasured on a Base Sepolia fork
One wallet · target 40 / 30 / 30
ETH10
BTC0.3
USDC30,000
Two venues · sell 0.1 ETH, you receive (USDC)
Uniswap v4413.77
1inch Aqua413.77
Difference0 wei
01

The idea, in a shop

Raju keeps mangoes, rice and cash in one stockroom and opens two stalls in two markets. That's Tenbin.

Today, two stalls means two stockrooms

To sell in two markets, you split your stock. Each pile gets its own price, the prices drift, and arbitrageurs live off the gap.

Today
1 ETH = 3,962
1 ETH = 4,051
  • Coins split into a pile per venue
  • Two prices drift apart
  • Arbitrage drains the gap from you
With Tenbin
1 ETH = 4,000 1 ETH = 4,000
  • One wallet; your coins never move to a pool
  • One price on both venues: 0 wei apart
  • Any arbitrage loop loses (−0.8%)
Prices illustrate the idea. 0 wei and −0.8% are measured on a Base Sepolia fork (./scripts/demo.sh).

With Tenbin, both stalls sell from one shelf

Your wallet is the stockroom. Uniswap and 1inch are the stalls. A sale at either one changes the shelf, so both price tags move together. Nothing to sync.

See the live book →
Uniswap v4same price1inch Aquasame priceyour wallet
One shelf, one price. Both venues read the same balances.

What actually happens on a trade

A Uniswap v4 hook and a 1inch SwapVM instruction ask the same price function. Coins move straight from your wallet through 1inch Aqua, your only approval.

The whole idea, step by step →
Uniswap v4
  1. 1Trader swapsthrough any Uniswap router
  2. 2Hook prices itquote() over your wallet; the pool's curve is switched off
  3. 3Aqua pays outthe coins bought leave your wallet, within Uniswap's limit
  4. 4Input comes homeheld as claims, then flushed into your wallet
1inch Aqua
  1. 1Taker fillsyour shipped 1inch order
  2. 2Opcode 0xd0 prices itthe same quote() over the same wallet
  3. 3Aqua pays outthe coins bought leave your wallet, within 1inch's limit
  4. 4Input comes homepushed straight into your wallet
Both rows read and change one wallet, so a trade on either venue moves the next quote on both.
02

Don't trust us. Run it.

One command forks Base Sepolia with the real Uniswap v4 contracts, deploys Tenbin, trades on both venues and prints this:

$ ./scripts/demo.sh
  DeployTenbin ok · LaunchIndex ok · DemoTrades ok

Same trade, both venues
  sell 0.1 ETH    Uniswap 413.769069 USDC   1inch 413.769069 USDC   difference 0 wei
  sell 300 USDC   Uniswap 0.002736 BTC      1inch 0.002736 BTC      difference 0 wei
  sell 0.001 BTC  Uniswap 0.025639 ETH      1inch 0.025639 ETH      difference 0 wei

Arbitrage check: ETH -> USDC -> BTC -> ETH across both venues
  1 ETH in -> 0.991924 ETH out  (-0.808%)

Real fills on chain
  Uniswap v4 fills: 2    1inch Aqua fills: 2
Same trade, both venues0 wei apart
Arbitrage loop−0.81%
Every check59 tests · 36 on-chain · every screen
03

What you get

Every line links to the test that proves it.

04

Honest about it

Testnet only, not externally audited. Here is what we checked, and what Tenbin does not do.

What we checked

  • Our own review found a critical cross-venue bug (a $752 proof of concept). A fail-closed fill lock fixes it.
  • Fuzzed invariants: same price on both venues, claims always backed, loops always lose.
  • Fork tests against the real Uniswap v4 PoolManager, V4Quoter and Universal Router on Base Sepolia.
Read the review ↗

What it doesn't do

  • It doesn't remove LVR: when markets move, the traders who rebalance you capture the move; you earn the fee.
  • One trade moves at most 30% of a balance; each venue sells only up to its limit.
  • Use a dedicated wallet: prices read its live balances.
All the limits →

Build on it

Clone it and run everything locally in one command. Then launch an index, quote both venues, or route trades from your own app.

git clone --recursive https://github.com/Abhist17/tenbin
cd tenbin
(cd contracts && npm ci) && (cd web && npm ci)
./scripts/demo.sh
05

Questions

Do my coins leave my wallet?

No. You approve one contract, 1inch Aqua, which gives each venue a selling limit. Coins move only when a trade fills.

Why is the price the same on both venues?

Both call one pricing function over your real balances: a Uniswap v4 hook and a 1inch SwapVM instruction (opcode 0xd0).

Can someone arbitrage me between the venues?

No. There is no gap between them, and any loop through your wallet loses money.

Is there an oracle or a bot?

No. Prices come only from your balances, and traders do the rebalancing.

Is it live?

On Base Sepolia (testnet) with test tokens that have no value.

Why the name?

Tenbin (天秤) is the Japanese balance scale. A balanced index, and two venues held perfectly level: one price.

One wallet. Every venue. One price.