Infrastructure for frictionless payments with USDC from any chain into Arc chain.
Nexus is a project designed for e-commerce. It democratizes e-commerce through a “tap-and-pay” infrastructure for buyers and “plug-and-play” integration for merchants.
The project consists of: A React library An on-chain protocol A dashboard for merchants
Now, why is it so convenient for merchants and customers?
Let's say you are a merchant who wants to create a store and needs a payment provider, and you want this payment provider to accept USDC without users having to switch chains, bridge, or even know what is going on behind the scenes. All you have to do is import the React library, configure a couple of parameters, and you can have customers paying USDC from any chain, without friction. All those payments will be consolidated into one on the Arc chain (Testnet), and the merchant can use the dashboard to check their balance, withdraw funds, or view recent purchases. With Nexus, merchants can also boost their sales by creating referral campaigns through the dashboard, in which a percentage of each sale will be given to the person who gets a sale through the link.
The core of Nexus is a set of Solidity smart contracts developed with Foundry and deployed on the Arc Testnet. The main contract, NexusVault.sol, acts as a centralized treasury that accepts incoming USDC transfers and manages the logic for the on-chain affiliate payouts.
For the cross-chain architecture, I integrated Circle's CCTP (Cross-Chain Transfer Protocol). Nexus utilizes the depositForBurnWithCaller function on source chains (Sepolia, Base Sepolia, Arbitrum Sepolia integrated for this MVP, but any chain supported by Circle CCTP can be easily integrated) to securely burn USDC.
On the frontend, I built a custom React SDK (nexuspay-react) using TypeScript, Wagmi, and Viem. This library abstracts the complex CCTP flow into a single component (<NexusPayment />) that any dApp can import. The demo shop and merchant dashboard are built with Next.js and styled with Tailwind CSS.
Partner Technologies:
Circle CCTP: Essential for the permissionless bridge. Nexus listens for the MessageSent event, fetch the attestation from Circle's API, and submit it to the destination chain. Arc Testnet: Serves as our unified settlement layer, allowing to consolidate liquidity from multiple L2s into one environment. Notable Hack / "Magic": To achieve a "gasless" experience for merchants without deploying a complex backend infrastructure for this hackathon, I implemented a "Serverless Operator Relayer". The frontend SDK itself detects when the Circle attestation is ready and automatically executes the final claim transaction on Arc Testnet using a burner operator wallet. This simulates a production grade relayer service, allowing the merchant to receive funds instantly without paying gas or signing a second transaction.

