Skip to content

About

The financial operating system for AI agents to discover, verify, and pay for services.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

86 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ† GlobalPay

Trusted Commerce Infrastructure for Autonomous AI Agents

AI agents can make decisions. But can they safely transact with unknown services?

GlobalPay solves this. It gives agents a trusted way to discover services, evaluate providers using real on-chain evidence, pay with USDC on Arc, and verify that every transaction actually happened.

ETHGlobal ETHOnline 2026 Β· Continuity Track


🎯 The Problem

AI agents are becoming capable of performing tasks autonomously. But they face one critical gap:

Agent needs a service
        ↓
Unknown provider β€” can I trust them?
        ↓
No verifiable payment history
        ↓
No identity β€” is this a real person?
        ↓
No way to pay programmatically
        ↓
No proof the service was delivered

Traditional marketplaces show ratings and reviews. AI agents can't read reviews. They need programmatic, verifiable trust signals.


πŸ’‘ The Solution

GlobalPay is a two-sided agent economy where:

Role What They Do
Providers Publish AI services with USDC pricing
Consumers Discover, evaluate, and purchase services autonomously
The Graph Provides verifiable trust evidence from real on-chain settlements
Arc + USDC Handles payment settlement with native stablecoin
World ID Verifies the human behind every organization
AI Operator Enables natural-language control and autonomous commerce

The Golden Path

Organization + World ID verification
        ↓
Create Agent + MPC Wallet + API Key
        ↓
Publish Service (with USDC pricing)
        ↓
Consumer discovers service in Marketplace
        ↓
Trust Engine evaluates provider via The Graph
        ↓
Agent pays with USDC on Arc
        ↓
Settlement verified on-chain
        ↓
Service invoked Β· Usage recorded Β· Reputation updated

πŸ— Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  πŸ›‘  Human Identity                                      β”‚
β”‚  World ID / AgentBook β†’ verified publisher               β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  πŸ€– Agent Infrastructure                                 β”‚
β”‚  MPC wallets Β· API keys Β· spending policies              β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  πŸ“Š Trust Intelligence                                   β”‚
β”‚  The Graph subgraph β†’ trust scores Β· risk flags          β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  πŸ’΅ Settlement                                           β”‚
β”‚  Arc USDC Β· Payment Manager Β· ArcScan receipts           β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  πŸͺ Commerce                                             β”‚
β”‚  Marketplace Β· Agent Store Β· Autonomous Commerce         β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  🧠 AI Control                                           β”‚
β”‚  AI Operator Β· MCP Server Β· x402 Β· Workflows             β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸš€ Product Walkthrough

Step 1 β€” Organization + Identity

Every participant operates through an organization. GlobalPay verifies the human using World ID, establishing that the platform is operated by a real, unique human.

Organization created
        ↓
World ID verification β†’ human-backed identity confirmed βœ…
        ↓
AgentBook registration β†’ wallet linked to verified human

World ID verifies the human-backed identity, while on-chain activity is used separately to evaluate settlement reliability.


Step 2 β€” Create Agent + MPC Wallet

An agent is not a chatbot. It's a financially operational entity with its own wallet:

Developer API Key β†’ Agent Studio β†’ Create Agent
        ↓
MPC wallet minted (e.g. 0xF48709…EA988)
Agent API key generated
        ↓
Agent can now: hold funds, access services, perform transactions
Feature Detail
Wallet type MPC threshold-signed (3 local signing nodes)
Native asset USDC (gas + settlement)
Network Arc Testnet (chain 5042002)
API access Scoped agent API key

Step 3 β€” Publish a Service

An agent becomes a service provider:

Service: Market Intelligence API
Pricing: 0.01 USDC per request
Category: Analytics / Finance
API Endpoint: https://api.globalpay.ai/services/market-intelligence/invoke

Optional x402 enables pay-per-call API access β€” agents pay automatically per request without pre-purchasing.


Step 4 β€” Marketplace Discovery

The marketplace is where consumers find services. Each listing shows:

  • βœ… Provider name and wallet address
  • βœ… Service capability and description
  • βœ… Price and pricing unit
  • βœ… Human-backed badge (World ID verified)
  • βœ… Trust score (powered by The Graph)
  • βœ… Arc settlement history

Step 5 β€” Trust Engine (The Graph) ⭐

This is the core differentiator. Before purchasing, consumers inspect provider evidence powered by The Graph:

Evidence What It Means
Trust Score: 88/100 Computed from payment success, volume, buyer diversity, recency
Success: 100% (22/22) 22 of 22 indexed payments released successfully
Volume: 0.0022 USDC Real on-chain settlement β€” not self-reported
Unique Buyers: 14 How many different wallets paid this provider
Repeat Buyers: 2 Do buyers come back? Repeat = higher trust
Risk: Low No fraud signals detected
Source: The Graph Β· Arc Testnet Live from the subgraph, not from a database
Without The Graph:
Provider says: "I'm trusted, 100% success rate"
Agent has no way to verify β†’ blind trust β†’ potential fraud

With The Graph:
GlobalPay queries the subgraph β†’ sees 22 real settlements
Agent verifies independently β†’ trust is earned, not claimed

Trust Engine answers: "Who can I trust?" AI Recommendations answers: "Who should I buy from?"


Step 6 β€” Purchase + Arc USDC Payment ⭐

The most important moment β€” a real on-chain payment:

Selected Service β†’ Price β†’ Consumer Agent
        ↓
Payment Confirmation
        ↓
Arc USDC Transaction (on-chain) βœ…
        ↓
Transaction Hash: 0xa1705e74…
        ↓
Graph Verification β†’ Settlement confirmed
        ↓
Credits/Access Granted β†’ Invoice Created

Live settlement transaction:

tx      0xa1705e74edf3e435d2e2367fc1319f3514ff60b579ede2dcac121bfbeb194a5f
block   61218730 Β· status 1
from    0xF487090C702f7733C89669A756a61a090eceA988 (consumer agent)
to      0xD25F8736C3Efc19a7cb7A3D15f2aF22c2980E317 (provider)
amount  0.01 USDC

Step 7 β€” Agent Store (App Store for AI Agents)

GlobalPay supports a full agent marketplace:

Feature Detail
Publishers Release versioned agents with pricing, docs, support
Consumers Browse, install, subscribe, invoke, manage agents
Installed Agents Status, version, subscription, invocation controls

Services are individual capabilities. Agents are complete installable products with lifecycle, versions, permissions, and subscriptions.


Step 8 β€” AI Assistant + Autonomous Commerce

The AI Operator provides natural-language control:

"Find the safest OCR provider and purchase one credit"
        ↓
Intent recognition β†’ Provider discovery
        ↓
Trust Engine evaluation β†’ Graph evidence
        ↓
Policy check β†’ Budget and approval controls
        ↓
Provider selected β†’ Purchase prepared
        ↓
Arc USDC payment β†’ Settlement verified
        ↓
Result returned β†’ Usage recorded

Autonomous Commerce combines everything into a programmable loop: Discover β†’ Evaluate β†’ Apply Policy β†’ Pay β†’ Invoke β†’ Verify β†’ Record

The agent acts within configured permissions, budgets, and approval policies β€” autonomy without losing control.


πŸ”— Partner Integrations

Layer Partner Role Status
πŸ’΅ Settlement Arc L1 MPC wallets, USDC-native settlement, Payment Manager βœ… Live
πŸ€– Machine payments x402 HTTP 402 protocol β€” agents pay per API call βœ… Live
πŸ“Š Trust The Graph Custom subgraph indexing Arc settlements βœ… Live
πŸ›‘ Identity World ID / AgentKit Human verification, AgentBook registration βœ… Live

πŸ“Š Live System Proof

Graph Subgraph Status

{
  "indexedBlock": 61237228,
  "headBlock": 61237237,
  "lagBlocks": 9,
  "paymentCount": 16,
  "settlementCount": 16,
  "graphLive": true
}

x402 Protocol (executed 3 times)

# Arc tx Result
1 0x288445d1… 402 β†’ pay β†’ 200 live Graph data
2 0xae7f52e7… 402 β†’ pay β†’ 200 trust analysis
3 0xa1705e74… 402 β†’ pay β†’ gate passed; replay β†’ 409 rejected

World ID Gate

POST /api/developers/services β†’ 403 "World AgentKit verification required"

πŸ›  Tech Stack

Layer Technology
Frontend React 18, Vite, TailwindCSS, TanStack Query
Backend Node.js, Express, PostgreSQL (Supabase)
Blockchain Arc Testnet (chain 5042002), USDC native gas
Settlement Solidity (GlobalPayPaymentManager), ethers.js
Wallets MPC threshold signing (3 local nodes)
Trust The Graph subgraph, custom Trust Engine
Identity World ID, AgentKit, AgentBook
AI MCP stdio server, AI Operator, autonomous commerce
Payments x402 HTTP payment protocol, prepaid settlement

πŸš€ Getting Started

# Backend (port 5550)
cd backend && npm install && NODE_ENV=staging node server.js

# Frontend (port 5173)
cd client && npm install && npm run dev

Required environment variables: SUPABASE_URL Β· SUPABASE_SERVICE_ROLE_KEY Β· ARC_RPC_URL Β· GLOBAL_PAY_MANAGER_ADDRESS Β· GRAPH_API_KEY Β· GRAPH_QUERY_URL Β· MPC_SERVICE_TOKEN Β· WORLD_API_KEY Β· ENCRYPTION_KEY


πŸ“š Documentation

Document Description
HACKATHON_SUBMISSION.md Complete submission with all 3 prize tracks
ARCHITECTURE.md System architecture and payment sequence
ARC_CIRCLE_README.md Arc/Circle integration details
THE_GRAPH_README.md The Graph integration and MCP server
WORLD_AGENTKIT_FEEDBACK.md World AgentKit feedback document

🎯 What Judges Should Remember

  1. Agents have financial identity β€” wallets, balances, credentials, permissions
  2. Agents can participate in a service economy β€” one agent publishes, another purchases
  3. Payments are real and verifiable β€” USDC on Arc with on-chain evidence
  4. Trust and autonomy are integrated β€” evaluate β†’ policy β†’ pay β†’ verify β†’ record

GlobalPay turns agents from software that only produces outputs into economic participants that can discover, transact, and operate within controlled financial policies.

About

The financial operating system for AI agents to discover, verify, and pay for services.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages