Skip to content

jasonxkensei/xProof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

502 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

xProof
Trust primitive for AI agents & humans on MultiversX

Live AppQuick StartAPIAgent IntegrationTrust LeaderboardArchitectureChangelog

MultiversX MCP x402 ACP MX-8004 from $0.05/cert


Trust is programmable. xProof anchors verifiable proofs of existence, authorship, and agent output on the MultiversX blockchain -- composable, API-first, built for both humans and autonomous agents.


Live Proof

The xProof README is certified on the MultiversX blockchain.

This is not a demo. A real payment, a real hash, a real immutable proof.


What is xProof?

xProof is a trust primitive. It records SHA-256 file hashes on the MultiversX blockchain, producing tamper-proof, publicly verifiable proofs of existence and ownership.

  • Client-side hashing -- SHA-256 is computed locally. Your file never leaves your device.
  • On-chain anchoring -- the hash is recorded as an immutable transaction on MultiversX mainnet with 6-second finality.
  • Verifiable output -- PDF certificate, QR code, public proof page, machine-readable JSON, and embeddable badge.
  • Agent-native -- discoverable and consumable by AI agents via MCP, ACP, x402, LangChain, CrewAI, Conway/Automaton, and OpenClaw.
  • MX-8004 compliant -- full Trustless Agents Standard integration with on-chain validation loop and reputation scoring.

Why MultiversX?

MultiversX is a European, carbon-negative blockchain with 6-second finality, negligible fees ($0.001/tx), and a growing ecosystem of AI-native protocols. xProof leverages its security and efficiency to deliver enterprise-grade certification at minimal cost.


Why It Matters -- Real Scenarios

AI agents are already writing code, drafting contracts, generating reports, and making decisions. But when something goes wrong -- who proves what was produced, when, and by whom?

xProof is the answer layer.


"My agent delivered this report" A LangChain agent generates a financial analysis for a client. xProof certifies the output before delivery. If the client disputes the content later, the blockchain timestamp is the proof. Irrefutable. No he-said-she-said.


"This build was not tampered with" Your CI/CD pipeline compiles and ships. xProof's GitHub Action certifies every artifact automatically. Six months later, a security audit asks: "Is this binary what you deployed?" -- one hash check, case closed.


"I can trust what Agent B gave me" Multi-agent pipelines have no native trust layer. When Agent A certifies its output before handing off to Agent B, the chain of custody becomes verifiable. Agents can prove they did their job. Pipelines become auditable end-to-end.


"Agent identity is verified on-chain" With MX-8004 (Trustless Agents Standard), every agent registers on-chain with a soulbound NFT. When an agent certifies output via xProof, the certification goes through the full validation loop -- identity check, job registration, validation, reputation scoring. The result: cryptographic proof that a verified agent produced the output, not just any agent. Trust is no longer assumed -- it's proven.


"We are compliant" Regulated industries need timestamped evidence of AI-generated decisions. xProof turns every agent action into a blockchain-anchored record -- ready for audit, litigation, or regulatory review. Zero extra work.


"My trust score speaks for itself" An autonomous agent builds reputation by certifying its outputs consistently over time. Every confirmed certification contributes to its on-chain trust score -- visible on the public Trust Leaderboard at /leaderboard. Clients and peer agents query /api/trust/{wallet} before engaging. Trust becomes mathematical, not reputational.

Live: xproof_agent_verify ran a complete beta test -- 6 endpoints, single cert in 1.075s, batch of 3 in 1.876s, on-chain verification in 198ms. Now on the leaderboard: Active, score 157. ProofFull review


The pattern is always the same: Agent produces output -> xProof anchors it -> anyone can verify, forever.


Pricing

Starting at $0.05 per certification -- price decreases globally as the network grows (all-time volume). No subscriptions. No monthly fees.

All-time certifications Price per cert
0 -- 100,000 $0.05
100,001 -- 1,000,000 $0.025
1,000,001+ $0.01

Current pricing & tier info: https://xproof.app/api/pricing

Payment Method Currency Account Required
x402 (HTTP 402) USDC on Base No
ACP EGLD Yes (API key)

Agents can pay per-proof via x402 with zero onboarding -- send a request, receive payment requirements, sign, resend.


Quick Start

Use the API (fastest)

# Certify a file in one call
curl -X POST https://xproof.app/api/proof \
  -H "Authorization: Bearer pm_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "file_hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "filename": "report.pdf",
    "author_name": "Your Name"
  }'

Response:

{
  "proof_id": "uuid",
  "status": "certified",
  "file_hash": "e3b0c44...",
  "verify_url": "https://xproof.app/proof/uuid",
  "certificate_url": "https://xproof.app/api/certificates/uuid.pdf",
  "proof_json_url": "https://xproof.app/proof/uuid.json",
  "blockchain": {
    "network": "MultiversX",
    "transaction_hash": "txhash...",
    "explorer_url": "https://explorer.multiversx.com/transactions/txhash..."
  }
}

Use the Web App

Go to xproof.app, connect your MultiversX wallet, drop a file, certify. Done.

Self-Host

git clone https://github.com/jasonxkensei/xproof.git
cd xproof
npm install
cp .env.example .env   # configure your environment
npm run db:push         # initialize database
npm run dev             # starts on http://localhost:5000

Prerequisites: Node.js 20+, PostgreSQL (or Neon), MultiversX wallet.

See docs/environment-variables.md for configuration details.


For Developers

POST /api/proof -- Single Certification

Certify one file hash on-chain in a single API call.

curl -X POST https://xproof.app/api/proof \
  -H "Authorization: Bearer pm_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "file_hash": "<64-char-sha256-hex>",
    "filename": "output.txt",
    "author_name": "Agent Name",
    "webhook_url": "https://your-server.com/webhook"
  }'
Field Type Required Description
file_hash string Yes SHA-256 hex hash (exactly 64 characters)
filename string Yes Original filename
author_name string No Defaults to "AI Agent"
webhook_url string No HTTPS URL for on-chain confirmation callback

POST /api/batch -- Batch Certification

Certify up to 50 files in a single call.

curl -X POST https://xproof.app/api/batch \
  -H "Authorization: Bearer pm_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "files": [\
      {"file_hash": "<hash1>", "filename": "file1.txt"},\
      {"file_hash": "<hash2>", "filename": "file2.py"}\
    ],
    "author_name": "Agent Name"
  }'

Verification

Endpoint Returns
GET /api/proof/:id Full certification record (JSON)
GET /proof/:id.json Structured proof document (JSON)
GET /proof/:id Human-readable proof page (HTML)
GET /api/certificates/:id.pdf PDF certificate with QR code
GET /badge/:id Dynamic SVG badge (shields.io style)

Webhooks

When a proof is anchored on-chain, xProof sends a POST to your webhook_url with HMAC-SHA256 signature in the X-Webhook-Signature header. Retry policy: 3 attempts with exponential backoff.

API Keys

Generate API keys from the Settings page after connecting your wallet. Keys use the pm_ prefix and support per-key rate limiting.


For Agents

xProof is designed to be discovered, consumed, and paid by autonomous agents across every major protocol.

Universal Compatibility

Protocol Endpoint / Resource Description
MCP POST /mcp JSON-RPC 2.0 endpoint with certify_file and verify_proof tools
x402 POST /api/proof, POST /api/batch HTTP 402 payment flow -- no account needed
ACP GET /api/acp/products Agent Commerce Protocol -- discover, checkout, confirm
MX-8004 On-chain registries Trustless Agents Standard -- validation loop + reputation
OpenAI Plugin GET /.well-known/ai-plugin.json ChatGPT plugin manifest
MCP Manifest GET /.well-known/mcp.json Model Context Protocol discovery
Agent Protocol GET /.well-known/agent.json Agent discovery manifest
LangChain GET /agent-tools/langchain.py Python tool definition
CrewAI GET /agent-tools/crewai.py Python tool definition
llms.txt GET /llms.txt, GET /llms-full.txt LLM-friendly documentation

x402 -- Pay Per Proof, No Account

Any agent can certify without an API key using the x402 payment protocol:

  1. Send POST /api/proof without auth
  2. Receive HTTP 402 with payment requirements (USDC on Base, eip155:8453)
  3. Sign the payment and resend with X-PAYMENT header
  4. Receive the proof

Starting at $0.05 per certification -- price decreases as the network grows (all-time volume). Current pricing: https://xproof.app/api/pricing. No signup. No API key. No account.

MCP -- Model Context Protocol

xProof exposes a live MCP server at POST /mcp with two tools:

  • certify_file -- certify a file hash on MultiversX
  • verify_proof -- verify an existing certification

Any MCP-compatible agent can discover and call these tools directly.

ACP -- Agent Commerce Protocol

Full commerce flow for programmatic purchasing:

GET  /api/acp/products       # Discover products and pricing
GET  /api/acp/openapi.json   # OpenAPI 3.0 specification
POST /api/acp/checkout       # Start checkout session
POST /api/acp/confirm        # Confirm transaction
GET  /api/acp/health          # Health check

MX-8004 -- MultiversX Trustless Agents Standard

xProof is natively integrated with MX-8004, providing:

  • Identity Registry -- agent registration with soulbound NFTs
  • Validation Registry -- full validation loop for certifications reaching "Verified" status on-chain
  • Reputation Registry -- cumulative on-chain reputation scoring with feedback
  • Persistent TX Queue -- PostgreSQL-backed transaction queue with nonce management and exponential backoff retry

Every certification registered through xProof can be validated and scored on-chain, building a verifiable reputation for the certifying agent.

Conway/Automaton Skill

xProof ships a ready-made skill for Conway Automatons:

skills/xproof/SKILL.md

An Automaton installs the skill and can immediately certify its outputs on MultiversX -- proving the value it creates to its creator, to clients, and to peer agents. This aligns directly with the Automaton survival-by-work model.

Agent Trust Leaderboard

Every certification builds cumulative on-chain reputation. The Trust Leaderboard makes it public and discoverable.

  • Pages: /leaderboard — public, sortable, filterable. /agent/{wallet} — individual profile with stats, streak, and recent certs timeline.
  • Trust Score: confirmed_certs × 10 + last_30d × 5 + seniority_bonus (max 150) + streak_bonus (consecutive weeks × 8, max 100)
  • Trust Levels: Newcomer (0–99) → Active (100–299) → Trusted (300–699) → Verified (700+)
  • Opt-in: Configure your public profile via Settings or PATCH /api/user/agent-profile
  • Trust Badge: Embed in any README — GET /badge/trust/{wallet}.svg returns a dynamic shields.io-style badge showing current level and score

Live example — xproof_agent_verify: Beta-tested all 6 API endpoints. Single cert: 1.075s. Batch (3 files): 1.876s. On-chain verification: 198ms. Now on the leaderboard — Active, score 157, 10 confirmed certs.


OpenClaw Skill

ClawHub-standard skill for the OpenClaw ecosystem:

GitHub Action

Integrate xProof into your CI/CD pipeline:

- uses: jasonxkensei/xproof/github-action@main
  with:
    api_key: ${{ secrets.XPROOF_API_KEY }}
    files: dist/**

Hashes build artifacts and certifies them on MultiversX automatically on every deployment.

See github-action/README.md for full documentation.


How It Works

User/Agent                    xProof                     MultiversX
    |                           |                           |
    |  1. Submit file hash      |                           |
    |     (API / Web / MCP)     |                           |
    |-------------------------->|                           |
    |                           |                           |
    |  2. SHA-256 validated     |                           |
    |     (client-side or API)  |                           |
    |                           |                           |
    |                           |  3. Transaction signed    |
    |                           |     & broadcast           |
    |                           |-------------------------->|
    |                           |                           |
    |                           |  4. Anchored on-chain     |
    |                           |     (6s finality)         |
    |                           |<--------------------------|
    |                           |                           |
    |  5. Proof returned        |  6. MX-8004 validation    |
    |     (JSON + PDF + URL)    |     registered            |
    |<--------------------------|-------------------------->|
    |                           |                           |
    |  7. Webhook notification  |                           |
    |     (HMAC-signed)         |                           |
    |<--------------------------|                           |

Core Capabilities

Capability Description
Client-Side Hashing SHA-256 computed in-browser. Zero data leaves your device.
Blockchain Anchoring Immutable proof on MultiversX mainnet.
MX-8004 Compliance On-chain validation loop, reputation scoring, soulbound identity.
x402 Payments HTTP 402 native payment -- USDC on Base, no account needed.
PDF Certificates Downloadable certificate with QR code linking to blockchain explorer.
Public Proof Pages Shareable /proof/:id pages for independent verification.
Verification Badges Dynamic SVG badges (shields.io style) with embeddable Markdown.
Wallet Authentication Native Auth via xPortal, MultiversX Web Wallet, WalletConnect.
Agent Commerce Protocol Agents discover, purchase, and consume certifications programmatically.
MCP Server JSON-RPC 2.0 endpoint with certify_file and verify_proof tools.
LangChain / CrewAI Ready-made Python tool definitions.
Webhook Delivery HMAC-SHA256 signed notifications with retry and exponential backoff.
API Keys pm_-prefixed bearer tokens with per-key rate limiting.
LLM Discovery llms.txt, OpenAI plugin, MCP manifest, agent.json -- all served.
GitHub Action CI/CD integration -- hash and certify build artifacts automatically.
Conway/Automaton Skill Ready-made SKILL.md for sovereign agent output certification.
OpenClaw Skill ClawHub-standard skill with shell script and API reference.
Agent Trust Leaderboard Public on-chain trust registry. Score = certified certs × history × streak. Levels: Newcomer / Active / Trusted / Verified. Dynamic SVG badge embeddable in any README.

API Reference

Full documentation: docs/api-reference.md

Core Endpoints

Method Endpoint Auth Description
POST /api/proof API Key / x402 Certify a file hash (single call)
POST /api/batch API Key / x402 Batch certification (up to 50 files)
GET /api/proof/:id Public Get proof data
GET /proof/:id.json Public Structured proof document
GET /proof/:id Public Human-readable proof page
GET /api/certificates/:id.pdf Public Download PDF certificate
GET /badge/:id Public Dynamic SVG badge
GET /api/pricing Public Current pricing & tier info
GET /api/leaderboard Public Top 50 agents sorted by trust score
GET /api/agents/:wallet Public Agent profile with trust score and certification history
GET /api/trust/:wallet Public Trust score + level lookup (no profile required)
GET /badge/trust/:wallet.svg Public Dynamic trust badge (shields.io style)
GET /badge/trust/:wallet/markdown Public Ready-to-embed trust badge markdown
PATCH /api/user/agent-profile Session Update public agent profile

Authentication

Method Endpoint Auth Description
POST /api/auth/wallet/sync Native Auth Authenticate via wallet signature
GET /api/auth/me Session Get current user
POST /api/auth/logout Session End session

Agent Commerce Protocol

Method Endpoint Auth Description
GET /api/acp/products Public Discover products and pricing
GET /api/acp/openapi.json Public OpenAPI 3.0 specification
POST /api/acp/checkout API Key Start checkout session
POST /api/acp/confirm API Key Confirm transaction
GET /api/acp/health Public Health check

API Key Management

Method Endpoint Auth Description
POST /api/keys Session Create API key
GET /api/keys Session List API keys
DELETE /api/keys/:id Session Revoke API key

License

Proprietary — source available. See LICENSE.

About

Proof primitive for AI agents & humans on MultiversX.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Contributors