Kyma Pay

Onchain infra for instant & global GENIUS Act Compliant stablecoin payments for 10x less than Stripe

Kyma Pay

Created At

ETHGlobal New York 2025

Winner of

ETHGlobal

ETHGlobal - 🏆 ETHGlobal New York 2025 Finalist

Project Description

Kyma Pay is on-chain financial infrastructure for merchants to accept GENIUS Act Compliant stablecoin payments: instantly and globally for 10x less compared to Stripe (0.15% vs. Stripe's 1.5% fee for stablecoin payments). Kyma Pay supports PYUSD, USDC, USDT, and USDe.

Under the hood, Kyma uses a new type of AMM design based on Orbital, Coinbase's x402 HTTP 402: Payment Required response type, and LayerZero's OFT adapaters to facilitate omnichain stablecoin swaps from a single liquidity pool.

  • ✅ Merchants get GENIUS Act Compliant, borderless, and instant payments infrastructure for 10x cheaper without needing to know/use the blockchain directly.
  • ✅ Customers pay using any stablecoin they want and from any chain they are on.
  • ✅ Stablecoin issuers get direct, on-chain distribution for their assets in the Ethereum ecosystem without fragmenting liquidity.
  • ✅ Liquidity providers, like with UniswapV3, reap swap fees by concentrating their liquidity around $1.00 but across hundreds of stablecoins in a single pool: unlocking unparalleled capital efficiency.

How it's Made

1. Orbital: A new AMM design by Paradigm that supports swaps between hundreds of stablecoins from a single pool: offering unified liquidity while being highly capital efficient and robust

*To enable highly capital efficient stablecoin swaps between merchants and customers, Kyma Pay implements the Orbital AMM design deployed on Arbitrum One. This design is unique because it applies the concept of UniswapV3's concentrated liquidity to a new type of liquidity pool that can support hundreds of stablecoins, including PYUSD, UDSC, USDT, USDe, and many others. Animations below are from the Orbital Whitepaper. Instead of drawing tick boundaries along a 2D curve like with Uniswap's design (e.g. y = x * k), our implementation draws tick boundaries as higher-dimension "orbits" or "spheres" around the $1.00 price point. Certain invariants are enforced to ensure that the collapse/depeg of any stablecoin in the pool will not adversely impact swaps between other stablecoins (since there are greater than 2 axes), allowing for dozens, if not hundreds, of stablecoins to be concentrated into a single pool to unlock unprecedented levels of capital efficiency. https://github.com/leeederek/kyma-pay/blob/main/onchain/src/OrbitalPool.sol

2. Coinbase's x402: HTTP 402 Payment Required response status for the scalability that payment systems need

We use Coinbase's x402 payment protocol to embed stablecoin payments directly into web applications, such as merchant checkout flows. To be precise: the client receives a HTTP 402: Payment Required response when/if they try to access or purchase something without payment. This 402 response from Kyma Pay will contain the merchant's accepted stablecoins (if defined) and network.

Settlement and verification of the payment is then handled by Coinbase's x402 Facilitator before allowing the customer to complete the transaction. Payment to the merchant is done on their preferred network and in their desired stablecoin at the cost of just gas and swap fees (0.15%) - a fraction of the cost that they would otherwise pay to Stripe to accept stablecoin payments. https://github.com/leeederek/kyma-pay/blob/main/backend/src/router.py

3. Coinbase's embedded wallets

We use Coinbase's embedded wallet product to allow new users to provision and login to smart contract wallets using social logins (email, SMS) to make onboarding seamless. https://github.com/leeederek/kyma-pay/blob/main/frontend/orbital-fe/src/components/landing/CreateWalletStep.jsx

4. GENIUS Act Compliance for risk-based, actionable insights for merchants and liquidity providers

Kyma Pay ingests monthly compliance data from issuers of all stablecoins that are deposited into its pool. Metrics such as: the breakdown of backing reserves, audit history, circulating supply, liquidity stress test results, and other information are used to produce a Risk Score for merchants to use when assessing which stablecoins to use.

Most of this information will be mandated by the US Government for US-issued stablecoins as part of the recently passed GENIUS Act and making this information available and actionable for merchants is a key differentiator of Kyma Pay that does not exist on the market today. https://github.com/leeederek/kyma-pay/blob/main/backend/src/services/merchant.py

5. LayerZero OFTs for a chain-abstracted experience

LayerZero OFT Adapters are used to burn and mint tokens from other chains before initiating swaps with the Orbital stablecoin AMM pool as Orbital's smart contracts themselves reside on Arbitrum for its low transaction costs (<$0.01) and fast blocktimes (250ms).

background image mobile

Join the mailing list

Get the latest news and updates