Testnet only. Sei Atlantic-2, chain 1328.Not audited. Test funds only.
TestnetOpen app

Private payments on Sei · testnet

Pay anyone on Sei. Keep the amount to yourselves.

Batin is a phone wallet with a hidden balance. Hold SEI and USDC in one shielded pool, then pay by address, by link or by request. Sei checks every payment. Who paid whom, and how much, stays encrypted on the phones involved.

  • Runs in the phone browser
  • Passkey unlock
  • Proofs made on your device
  • No admin key

The wallet home screen. Example amounts.

NetworkSei Atlantic-2, chain 1328
Proof systemGroth16 on BN254
ContractsVerified on Sourcify
SDKbatin-sdk · Apache-2.0

Product

A wallet that keeps its inside to itself.

Everything a payments app needs on a phone, built on one shielded pool. No extension, no desktop step and no QR codes. Add it to your home screen from the browser.

01

One pool for SEI and USDC

Both assets share one shielded pool and one set of notes. A payment does not say which asset moved, so the two crowds hide each other.

02

Payment and claim links

Put money behind a link and send it in any chat. The secret lives after the #, which a browser never sends to a server. The person who opens it claims it, with no wallet set up beforehand.

03

Payment requests

Ask for an exact amount with a request link. It holds no money, only where to pay, and your wallet marks it paid when the payment arrives.

04

Passkey self-custody

The seed is made on your phone and wrapped by a passkey, so Face ID or a fingerprint opens the wallet. Your backup is a file sealed with a passphrase you choose.

05

Approval, with a refund

New deposits wait for an approval service before they join the pool. It can delay or refuse a deposit. It cannot move funds, and only the depositor can take a refused deposit back.

06

Pay a team

Fill in a table of names, addresses and amounts, and pay everyone from the hidden balance. Each payment is its own private transfer.

How it works

Five steps, two layers.

Each step has a public part that Sei records and checks, and a hidden part that stays encrypted on your device. The top half of each column is what an observer gets. The hatched half is what they don't.

  1. 01

    Deposit

    Send SEI or USDC into the pool from any Sei address. The deposit waits as a pending record until the approval service admits it. If it never does, only you can take it back.

    Sei seesYour address, the asset, the exact amount, the time.
    HiddenWhich note you now own.
  2. 02

    Hidden balance

    Once approved, your money is a set of notes. On-chain, each note is a 32-byte hash. The amount, the asset and the owner are sealed inside it.

    Sei seesTwo new hashes in the note tree.
    HiddenAmounts, asset, owner, your total.
  3. 03

    Pay

    Your phone proves the payment balances without revealing it, and a relayer submits the proof. Pay a batin1 address, pay a request someone sent you, or pay into a link.

    Sei seesTwo spent-note tags, two new hashes, two ciphertexts, the time.
    HiddenSender, recipient, amount and whether it was SEI or USDC.
  4. 04

    Claim

    Whoever opens a payment link claims the money into their own wallet. The secret sits in the part of the URL a browser never sends to a server.

    Sei seesThe same as a payment: tags, hashes, ciphertexts.
    HiddenWho opened the link, and what it held.
  5. 05

    Withdraw

    Leave the pool to any Sei address. The withdrawal is public by nature. Which deposit, payment or link it came from is not.

    Sei seesRecipient, asset, exact amount, relayer fee, the time.
    HiddenWhich notes paid for it.

Developers

Join the same pool from your own code.

batin-sdk is the TypeScript library the app uses: wallet keys, deposits, private transfers, payment links, requests and recovery by scanning the chain. It targets the one live pool, so every integration adds to the same anonymity set instead of splitting it. You bring the prover; snarkjs works.

terminal
$ npm install batin-sdk
pay.ts
import { BatinWallet, deriveKeys, generateSeed,
  publicClient, batinSubmitter } from "batin-sdk";

const wallet = new BatinWallet(deriveKeys(generateSeed()),
  { client: publicClient(), prover });

await wallet.sync();
const { url, tx } = await wallet.createPaymentLink(
  1n, 5n * 10n ** 16n, relayer, "https://batin.vercel.app");
await batinSubmitter()(tx);   // share url: 0.05 SEI

Security and status

Testnet, verified, not audited.

A privacy tool is only as honest as its list of limits. This is the short version; the threat model has the long one. Nothing runs on mainnet, and nothing will before an independent audit and a public setup ceremony.

Stays private

  • The amount and the asset of every payment inside the pool.
  • Who paid whom.
  • Your balance and how many notes make it up.
  • Which deposit funded which withdrawal.

Is public

  • Deposits: address, asset, exact amount, time.
  • Withdrawals: recipient, asset, exact amount, fee, time.
  • That a private payment happened, and when.
  • Matching amounts. 37.12 in and 37.12 out is easy to link. Use round amounts and wait between steps.

You trust

  • The test setup. One operator ran it, and that operator could forge proofs. Mainnet needs a public ceremony.
  • The approval service. It can refuse or delay a deposit. It can't move funds or block your refund.
  • The relayer. It sees your IP and timing and can refuse to submit. It can't change where money goes.
  • Circle, which can freeze USDC held by the pool. SEI is not affected.
  • Your phone. Malware on an unlocked phone can spend.
PartStateEvidence
Join-split circuitPassing12,606 constraints, Groth16 on BN254, 11 public inputs
Vault contractOn testnetBatinPool · verified, no owner, no upgrade path
SDK and relayerOn testnetbatin-sdk on npm
Protocol spec v2.1DraftRead the spec
Independent auditNot startedRequired before mainnet
Public setup ceremonyNot startedRequired before mainnet

The name

Bātin is Arabic for the hidden, inner side of a thing. Its opposite is zāhir, the outward side. Every Batin payment has both: an outside the chain can check, and an inside only the people involved can read.

Try it with test money.

Open the app on your phone, tap Start,, then send it free testnet SEI from the faucet.