Instant payments on Tron

Take payments from $0.01 in about a second. Purpose‑built for AI agents, micro‑purchases, and real‑time commerce — running on Tron.

MIT Licensed

Protocol
Tron
Security
Performance
Open Source

TronX402 Echo Merchant

Try TronX402 payments

Send real TronX402 transactions to a live demo merchant.

cURL example

Terminal
$ curl -X POST localhost:3000/pay
{
  "amount": "0.01",
  "asset": "TRX",
  "recipient": "agent_wallet"
}

✓ Payment processed successfully
— Transaction ID: 3x7f9...

Intent-based transfers

Simple, clear intent schemas for sending and receiving value on Tron. No heavy frameworks or vendor lock‑in.

Production‑ready

Built for reliability with clear primitives, idempotency, and predictable client/server boundaries.

Developer‑friendly

Minimal surface area, strong typing, and clear examples. Extend with your own capabilities as needed.

TronX402 Payment Intent (example)

JSON
{
  "version": "1.0",
  "network": "tron",
  "intent": {
    "type": "transfer",
    "asset": "TRX",
    "amount": "10.5",
    "to": "TLv...YourRecipientAddress",
    "memo": "order-4235"
  },
  "expiresAt": 1730000000,
  "nonce": "5e9b9c29e9",
  "callbackUrl": "https://merchant.example/confirm"
}

Keep payloads small and explicit. Clients validate, sign, and submit to Tron according to your flow.

Why TronX402?

  • Low fees and quick finality for consumer‑grade UX.
  • Clear separation of concerns: intents, auth, execution.
  • Plug into your stack—no vendor lock‑in, no hidden magic.
  • Open‑source and minimal by design.

Build with TronX402

Start with the guide, clone the repo, and ship your first integration today.