Skip to content

Neurvinch/x-402-cronos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Meo-402 - AI-Native x402 Payment Gateway

Built for the Cronos x402 Paytech Hackathon, Meo-402 is a production-ready payment infrastructure that enables seamless, intelligent, and gasless API monetization on Cronos EVM.

🚀 Overview

CronosPayAI bridges the gap between AI agents and on-chain commerce. It implements the HTTP 402 Payment Required status to gate API resources, allowing users (and agents) to settle payments using natural language and gasless stablecoin transfers.

Key Features

  • x402 Protocol Implementation: Full support for X-PAYMENT and X-PAYMENT-RESPONSE flow.
  • Gasless Payments: Uses EIP-3009 (transferWithAuthorization) - users pay with USDC without needing native TCRO for gas.
  • Agentic Interface: A real AI-powered backend logic for natural language payment discovery and intent detection.
  • Production Ready: Zero mocks. Uses real Cronos Testnet tokens (devUSDC.e) and on-chain settlement.

🛠 Tech Stack

  • Frontend: React + Vite + Ethers.js (Premium Glassmorphism UI)
  • Backend: Node.js + Express
  • Smart Contracts: Solidity + Hardhat (Deployed on Cronos Testnet)
  • Protocol: x402 + EIP-3009

🔗 Hackathon Tracks

  1. Main Track - x402 Applications: Intelligent automated on-chain actions.
  2. x402 Agentic Finance/Payment: Automated settlement pipelines.
  3. Crypto.com X Cronos Ecosystem Integrations: Future integration with AI Agent SDK and Market Data.

📦 How to Run

1. Smart Contracts

cd contracts
bun install
# Update .env with DEPLOYER_PRIVATE_KEY
bun run deploy

2. Backend

cd backend
bun install
# Update .env with RELAYER_PRIVATE_KEY and PAYMENT_ROUTER_ADDRESS
bun run start

3. Frontend

cd frontend
bun install
bun run dev

🎥 Submission Requirements

  • Project Overview: AI-native x402 payment gateway.
  • On-Chain Component: PaymentRouter.sol on Cronos EVM Testnet.
  • Demo: AI chat triggering gasless USDC payment for secret API access.

Built with ❤️ for Cronos by Antigravity AI

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors