SAMM: A hyper-concentrated AMM for instant, chain-abstracted stablecoin merchant payments.
SAMM is an on-chain financial infrastructure designed to revolutionize stablecoin payments for merchants. It enables merchants to accept payments instantly and globally at a fraction of the cost of typical EVM chain transactions. The core innovation is its chain-abstracted nature: a merchant can request payment in their preferred stablecoin and network (e.g., USDC on Base), while their customer can pay with any stablecoin from any network they hold (e.g., PYUSD on Polygon). The entire process is seamless, simplifying the user experience for both parties
SAMM is built on a composite architecture that integrates a novel liquidity protocol with a modern payment standard and a cross-chain interoperability layer to create a seamless user experience. The backend is powered by the Orbital AMM, a system of Solidity smart contracts that establishes a single, hyper-concentrated liquidity pool for thousands of stablecoins. We chose to build on the Polygon network to leverage its implementation of the X402 standard, which allows our system to embed payment requests directly into web applications via an HTTP 402: Payment Required response. This initiation triggers the payment flow. For cross-chain functionality, we integrated LayerZero's Omnichain Fungible Token (OFT) adapters as a key partner technology. This was immensely beneficial as it provides a secure and reliable messaging layer to bridge assets from a user's source chain to our AMM, making the entire experience fully chain-abstracted without us needing to build our own bridging infrastructure. The most notable aspect of our build is this unique combination, where the X402 request seamlessly connects to LayerZero's messaging and the Orbital AMM's deep liquidity to handle complex cross-chain swaps under the hood, making the transaction feel effortless for the end-user.

