v0.1 — public beta

One checkout.
Every wallet.
Any token.

Frag lets users pay with fragmented balances across chains while your app receives one clean settlement. Install the SDK. Create a payment intent. Receive exactly what you requested.

chains supported
solanaethereumbasearbitrumoptimismpolygonbnb
terminal
npm install @fragmentpay/react @fragmentpay/server
checkout.tsx
import { FragmentPayProvider, FragmentPayCheckout } from "@fragmentpay/react";

export default function Checkout({ intentId }: { intentId: string }) {
  return (
    <FragmentPayProvider publicKey={import.meta.env.VITE_FRAG_PUBLIC_KEY}>
      <FragmentPayCheckout
        intentId={intentId}
        onSettled={(p) => console.log("Paid:", p.id)}
        onError={(err) => console.error(err)}
      />
    </FragmentPayProvider>
  );
}
// flow

How it works

01
Create a PaymentIntent

Specify amount, currency, settlement chain, token, and wallet. Frag returns a client secret.

02
Route across balances

User connects wallets. We scan balances, pick the cleanest combination, and sign one checkout.

03
Settle one asset

Same-chain swap, cross-chain intent, or fallback session. Merchant receives the exact output.

// wallet dust

Pay with whatever
is in your wallet.

Your users do not need the right token. They just need enough value. Turn ETH on Base, USDC on Solana, BONK, and forgotten Arbitrum USDT into one usable checkout.

no bridging
no swapping
no chain switching
no manual reconciliation
invoice $99.00
solana
42.10 USDC0.41 SOL8.4M BONK
base
0.018 ETH19.50 USDC
arbitrum
14.20 USDT
→ suggested route
42.10 USDC · solanaswap
0.22 SOL · solanaswap → USDC
19.50 USDC · basebridge → solana
14.20 USDT · arbitrumbridge+swap → solana
merchant receives99.00 USDC · solana
// execution modes

Three modes. One API.

same_chain_single_tx
Same-chain basket

Multiple tokens on one chain executed in a single real transaction.

cross_chain_intent
Cross-chain intent

One signed intent. A solver routes liquidity and lands the exact output.

checkout_session
Managed fallback

Multi-route session with clear progress when solver liquidity is unavailable.

// pricing

Pay for what settles.

No subscriptions. No setup fees. You only pay when a payment lands.

starter
0.50%per settled payment
  • ✓ Test mode free forever
  • ✓ Same-chain + cross-chain routes
  • ✓ Webhooks with HMAC signing
  • ✓ All supported chains
enterprise
custom
  • ✓ Custom routing + solver preferences
  • ✓ Gas sponsorship + token-gated fees
  • ✓ Premium webhooks + analytics
  • ✓ SLA + dedicated support
// ship it

Crypto payments are fragmented.
Your checkout doesn't have to be.