← Back to home

Porbi

PORBI: A hyper-concentrated AMM for instant, chain-abstracted stablecoin merchant payments.

Problem Statement

PORBI 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.The Core Technology: A Two-Pillar ApproachPORBI's powerful functionality rests on two key technological pillars: a next-generation Orbital AMM and the implementation of the X402 payment standard.The Orbital AMM Engine: Unified & Concentrated Liquidity: At its heart, PORBI runs on a multidimensional, hyper-concentrated stablecoin AMM based on the Orbital design. Instead of fragmenting liquidity across thousands of pairs, it supports tens of thousands of stablecoins within a single, unified liquidity pool.Geometric Efficiency: This is achieved using a sophisticated multi-dimensional geometric model where liquidity is conceptualized in "orbits" tightly concentrated around a central price peg ($1). This structure results in extremely high capital efficiency and "suuuuuuper low slippage" for swaps between any two stablecoins in the pool.Omnichain Connectivity: To facilitate cross-chain swaps, PORBI utilizes LayerZero's OFT (Ominchain Fungible Token) adapters, allowing assets to move to and from the single liquidity pool from any connected chain.The X402 Programmatic Payment Flow:Automated Payment Prompts: PORBI utilizes Polygon's implementation of X402, which is a standard for programmatic payments analogous to the web's HTTP 402: Payment Required response code.Seamless User Interaction: When a customer attempts to purchase a service or product, the web application can automatically trigger this 402 response. This response contains the specific payment details required by the merchant, such as the exact stablecoin and network they accept. The customer's wallet can then interpret this request and allow them to approve the transaction using the assets they already have.How It Works: A User JourneyThe synergy between the Orbital AMM and X402 creates a frictionless experience:A customer with PYUSD on Polygon wants to buy from a merchant who only accepts USDC on Base.The merchant's application sends anHTTP 402: Payment Required response to the customer, requesting USDC on Base.The customer approves the payment using their PYUSD on Polygon.PORBI receives the PYUSD, routes it through the Orbital AMM's single liquidity pool, and instantly swaps it for USDC.The merchant receives the exact amount of USDC on the Base network as requested, completing the transaction seamlessly.

Solution

PORBI 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.

Hackathon

ETHGlobal New Delhi

2025

Contributors