Zero-Custodianship Routing

Every DAO pays in
their token

Send USDC, they receive USDT. Atomic execution via Curve Finance — one transaction, zero custody, near-zero slippage. Built for DAOs and AI agents.

Protocol
Curve 3pool
Fee
0.5%
Custodianship
Zero
Max Batch
50 txs
DAO Batch Payments AI Agent Native Atomic Execution Multi-Chain
Swap
You pay
U
USDC
U
USDC
T
USDT
D
DAI
Connect wallet to see balance
You receive (estimated)
T
USDT
U
USDC
T
USDT
D
DAI
 
Rate
Price impact
Protocol fee (0.5%)
Min. received
Slippage0.5%
RouteCurve 3pool ✓
CustodyZero ✓

Supported Pairs — Curve 3pool — Ethereum Mainnet

U
T
USDC / USDT
Curve 3pool · Ethereum
0.5% fee
U
D
USDC / DAI
Curve 3pool · Ethereum
0.5% fee
T
D
USDT / DAI
Curve 3pool · Ethereum
0.5% fee

DAO Treasury Payments

Pay 50 contributors.
One transaction.

Your DAO holds USDC. Your contributors want USDT, DAI, or USDC. SwitchStable routes each payment atomically — one approval, one transaction, zero coordination overhead.

Atomic Batch — Up to 50 recipients
All payments execute in a single transaction. Either all succeed or all revert — no partial fills, no stuck funds.
🔒
Zero Custodianship
Funds never sit in the SwitchStable contracts. The router pulls, swaps, and delivers in one atomic flow. Verifiable on-chain.
🔀
Any stablecoin → Any stablecoin
Send USDC from your treasury. Each recipient gets their preferred token — USDT, DAI, USDC — automatically routed via Curve.
🌐
Multi-Chain (Q2 2025)
Mantle, Arbitrum, and Base support coming. Pay contributors on any chain from a single treasury wallet.

SDK Example — Batch DAO Payment

import { StableSwitch } from '@stableswitch/sdk';

const ss = new StableSwitch({ network: 'mantle' });

// Pay 3 contributors — each gets their preferred token
await ss.batchRoute([
  { from: { token: 'USDC', amount: '3500' }, to: { token: 'USDT', address: alice } },
  { from: { token: 'USDC', amount: '2000' }, to: { token: 'DAI', address: bob } },
  { from: { token: 'USDC', amount: '1500' }, to: { token: 'USDC', address: carol } },
]);

// ✅ All payments settled atomically — one tx, zero custody

Supported Routes

FromToViaLatencyFee
USDCUSDTCurve 3pool~2s0.5%
USDCDAICurve 3pool~2s0.5%
USDTDAICurve 3pool~2s0.5%
Any stableAny stableBest route auto-selected~2–15s0.5%
USDC (Mantle)USDT (Arbitrum)Native Bridge + Curve~15min0.5%

AI Agent Infrastructure

Payments for
autonomous agents

SwitchStable is the payment layer for the AI Agent Infrastructure Stack — with on-chain spend policies, human gates, and per-tx limits built into the StableSwitchRouter contract.

Max Per Tx
$1,000
Daily Limit
$5,000
Human Gate
$500

SDK Example — AI Agent with Spend Policy

const agent = ss.createAgent({
  maxPerTx: 1000, // $1K max per transaction
  dailyLimit: 5000, // $5K daily limit
  allowedTokens: ['USDC', 'USDT'],
  requireHumanGate: true,
  humanGateThreshold: 500, // human approval above $500
  onHumanGateRequired: async (params) => {
    // webhook / push notification to operator
    return await notifyOperator(params);
  },
});

// Agent pays autonomously — policy enforced on-chain
await agent.pay({ to: vendor, amount: '800', token: 'USDT' });
// 🔔 Human gate triggered — $800 ≥ $500 threshold
🛡️
On-Chain Policy Enforcement
Spend limits enforced in StableSwitchRouter.sol — not just SDK-side. A compromised agent cannot exceed its own on-chain policy.
🔔
Human Gate
Transactions above your threshold trigger a webhook or push notification. Operator approves or rejects before the tx executes.
📊
Daily Spend Tracking
Per-day counters reset automatically at midnight UTC. Daily limits enforced per agent address, not per wallet.
🤝
AI Agent Stack
Part of the coordinated AI Agent Infrastructure Stack: ShieldAI (security) + SwitchStable (payments) + AgentPay (identity).

SDK & Chain Deployment

One SDK.
Every chain.

The @stableswitch/sdk TypeScript package works across all supported chains. Same API, different network config. Deploying to Mantle, Arbitrum, and Base in Q2 2025.

@stableswitch/sdk
TypeScript SDK v0.1.0-alpha. Full routing, batch payments, AI agent policies. ethers.js v6.
View on GitHub ↗
StableSwitchRouter.sol
Solidity contract with zero-custodianship routing, batch execution, on-chain spend policies, replay protection.
View Contract ↗
npm install
Install the SDK in your project. Works with any ethers.js v6 environment.
npm i @stableswitch/sdk
Gitcoin Grant
Supporting SwitchStable on Gitcoin helps fund audits, chain deployments, and DAO integrations.
Support on Gitcoin ↗

Chain Deployment Status

ChainRouter ContractDEXStatusGrant
Ethereum Mainnet Via Curve 3pool Curve Finance Live
Mantle Deploy pending Agni Finance + Curve Testnet Q2 $25K applied
Arbitrum Deploy pending Uniswap V4 + Curve Testnet Q2 LTIPP applying
Base Deploy pending Uniswap V4 Planned Q3 Ecosystem Fund

Quick Start

# Install
npm install @stableswitch/sdk

# Run demo
git clone https://github.com/stableswitch/sdk
cd stableswitch && npm install
cp .env.example .env # add RPC + private key
npm run demo

# Deploy to Mantle testnet
npm run deploy:testnet