Trustx

Cross-chain P2P USDC-INR marketplace with TEE-verified payments and instant claims.

Trustx

Created At

ETHOnline 2025

Project Description

TrustX is a cross-chain P2P marketplace enabling seamless USDC-INR trading with real-time verification and instant claims. Sellers can deposit USDC from any supported blockchain, set UPI details and transaction terms, and monitor active buyer intents. Buyers can browse live deposits, signal intent, pay via Amazon Pay, and claim USDC instantly with cryptographic proof verified through EigenLayer TEE.

The platform integrates Avail Nexus for cross-chain bridging, Envio for real-time indexing of deposits, intents, and claims, and uses EIP-712 signatures for secure payment verification. Smart contracts ensure funds are held in escrow until validated, providing a secure, transparent, and efficient trading experience.

How it's Made

TrustX is built using Next.js 14 and React 18 for a fast, responsive frontend, styled with Tailwind CSS. We use Wagmi and Viem for Ethereum and Arbitrum interactions, enabling wallet connection, cross-chain bridging, and smart contract calls.

The backend logic relies on smart contracts deployed on Arbitrum: an Escrow contract manages deposits, buyer intents, and claims, while an EIP-712 Verifier ensures cryptographic validation of off-chain payments. We integrated USDC as the native token for all deposits.

For cross-chain support, we leveraged the Avail Nexus SDK, allowing seamless bridging of USDC across multiple chains. EigenLayer TEE verifies off-chain payments securely, generating proofs that can be claimed on-chain instantly.

To track real-time activity, we use the Envio Indexer with GraphQL, monitoring events like deposits, intents, claims, and withdrawals. A notable hack was combining Envio metadata with live blockchain queries to ensure both speed and accuracy in the UI.

background image mobile

Join the mailing list

Get the latest news and updates