惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

罗磊的独立博客
L
LangChain Blog
aimingoo的专栏
aimingoo的专栏
IT之家
IT之家
B
Blog
博客园_首页
博客园 - 司徒正美
有赞技术团队
有赞技术团队
博客园 - 聂微东
I
InfoQ
美团技术团队
GbyAI
GbyAI
阮一峰的网络日志
阮一峰的网络日志
H
Help Net Security
大猫的无限游戏
大猫的无限游戏
MyScale Blog
MyScale Blog
WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
A
About on SuperTechFans
人人都是产品经理
人人都是产品经理
Microsoft Azure Blog
Microsoft Azure Blog
Engineering at Meta
Engineering at Meta
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Cloudflare Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Pay.sh pays for an API call. Hashlock settles a trade. Kn...
Baris Sozen · 2026-05-07 · via DEV Community

Pay.sh pays for an API call. Hashlock settles a trade. Know the difference.

Yesterday Sola Labs, the Solana Foundation, and Google Cloud announced Pay.sh: an x402-based payment standard that lets AI agents pay for API calls on Solana, with Gemini and Vertex AI as the showcase consumers. It's a clean piece of infrastructure. The launch is real progress for the autonomous economy.

It is also not a settlement layer. And the difference matters more than the marketing makes it look.

The week in payment standards

Six months ago, "AI agents need a way to pay" was an academic problem. This week it has at least five shipped answers:

  • Coinbase x402 — HTTP 402 status code revived as a payments protocol. 69K agents, $50M in cumulative volume, x402 Foundation now under the Linux Foundation.
  • ERC-8004 — agent identity on Ethereum mainnet (January). The "who is this agent" prerequisite for everything else.
  • ERC-8183 — Ethereum Foundation + Virtuals Protocol agent commerce standard (March). Job-lifecycle: hire, deliver, pay.
  • OKX Agent Payments Protocol (APP) — late-April launch. TEE wallets, X Layer L2 rails. Their whitepaper says "escrow coming soon."
  • Pay.sh (May 6) — Solana + Google Cloud, x402-compatible, deep integration with Gemini, BigQuery, and Vertex AI. Sola Labs is the builder.

That is roughly $1.033B of fresh capital backing the category in the last three weeks alone — Haun Ventures' new $1B fund, Portal to Bitcoin's $25M, Nava's $8.3M seed.

Five standards. None of them settle a trade.

What "payment" means in this stack

Strip the word "payment" down. What every one of these standards does, in one shape or another, is:

An agent calls a service. The service charges. The agent pays. One direction. One asset. One leg.

Pay.sh is the cleanest expression of it. An agent on Solana wants to query Vertex AI. Pay.sh signs the bill, debits the agent wallet, settles in a sub-second on Solana. That's it. That's the whole transaction. Beautiful, narrow, fast.

x402 does the same thing over HTTP. OKX APP does it with TEE-protected wallets. ERC-8183 does it as part of a job lifecycle. Different chains, different cryptography, same shape: agent → provider, one-way, one asset.

This is the easy half of the autonomous economy. It's also the half that scales first, because it's a bilateral relationship with a clear winner (the provider) and a clear loser (the agent's balance).

What "settlement" means

A trade is structurally different. A trade has two sides, and increasingly more than two legs:

"Sell my BTC on Bitcoin. Buy ETH on Ethereum. Buy SUI on Sui. Atomic. All or nothing. No custodian, no wrapped tokens, no bridge."

That single intent is three chains, three legs, two counterparties, and one outcome. Either everything clears or nothing does. There is no "the provider wins." There are two parties trying to satisfy each other simultaneously.

Settlement is the part where two strangers — or, increasingly, two AI agents — exchange value across chains without a third party holding the float. It is a different category of problem. The math is different. The trust model is different. The failure modes are different.

You cannot build trustless trade settlement with a payment primitive any more than you can build SWIFT with Venmo. Same units, different problem.

What Hashlock Markets actually does

We are the layer the five payment standards assume exists.

The primitive is sealed-bid RFQ + Hash Time-Locked Contract atomic settlement, exposed as six MCP tools that any agent runtime can call:

  • create_rfq — taker posts an intent ("sell 0.5 BTC for ETH, 30 min validity"). Sealed; no public order book to front-run.
  • respond_rfq — makers quote privately. Best bid wins.
  • create_htlc — winning maker posts the hash-locked contract on the destination chain.
  • withdraw_htlc — taker reveals the preimage on the source chain, claiming maker's funds. Maker uses the same preimage to claim taker's funds on destination.
  • refund_htlc — if either party fails to act, both sides refund after timeout.
  • get_htlc — read state for monitoring.

Two AI agents can clear a cross-chain swap with each other directly. An AI agent and a human can clear a trade with each other. Two humans — same path. Live on ETH, BTC, and SUI as of April 9, 2026, with reference deployments on mainnet. Base, Arbitrum, Solana, and TON on the roadmap.

The fee is 7 basis points deployed. Tiered execution rewards rebate up to 50% of that for timely settlement, taking the effective floor toward 3.5 bps — versus 8–10 bps for typical exchange OTC desks.

The honest comparison

Pay.sh, x402, OKX APP Hashlock Markets
Direction One-way (agent → provider) Two-way (agent ↔ agent)
Legs Single asset, single chain Multi-leg, multi-chain atomic
Trust model Trust the provider Trust no one — HTLC enforces
Latency target Sub-second Block time per chain (HTLC)
Best use case Pay for a tool call Settle a trade
Custody Provider takes payment Neither side custodies

These are not competitive products. They are complementary products that solve adjacent problems. An autonomous agent stack that's serious about real economic activity needs both.

Where this goes

Pay.sh's launch is helpful for us. Every payment standard that ships makes the missing settlement layer more visible. When 69K agents on x402 want to do something more interesting than pay Cloudflare for an API call — when one of them wants to swap its USDC for someone else's SOL atomically — there is no payment standard in this list that can do it.

Five standards. Still no settlement layer. We are filling exactly that one slot.

Live: ETH, BTC, SUI. Roadmap: Base, Arbitrum, Solana, TON.

If your agent needs to pay for a tool, use Pay.sh, x402, or OKX APP — they're built for it. If it needs to swap assets with another party, that's our half.

Does your agent need to pay for a tool, or settle a trade with another agent?