Developers
Contract references and sandbox formats.
Sandbox specification—not a live gateway. TRC-20 decimals from chain: 6. Hard-code the contract below; do not trust screenshots.
TAaCFhTmMmwCFFwGqp9RRabpgSLEWYXuRt
TRC-20 surface
Read-only integration paths first.
- name
- symbol
- decimals
- totalSupply
- balanceOf
- transfer
- approve
- transferFrom
The on-chain method list also includes owner controls such as issue. That is a risk, documented on the transparency page, not an integration feature to call from a website.
TronWeb
import TronWeb from "tronweb";
const tronWeb = new TronWeb({ fullHost: "https://api.trongrid.io" });
const contract = await tronWeb.contract().at("TAaCFhTmMmwCFFwGqp9RRabpgSLEWYXuRt");
const balance = await contract.balanceOf(walletAddress).call();createTronPayUri()
import { createTronPayUri } from "@/lib/pay-uri";
const uri = createTronPayUri({
amount: "10",
token: "USD₮",
memo: "demo_order_1042",
});Sample tokens in the sandbox
- USDT · TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t
- USDC · TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8
- USDD · TPYmHEhy5n8TCEfYGqW2rPxsghSfzghPDn
- USD₮ · TAaCFhTmMmwCFFwGqp9RRabpgSLEWYXuRt
Payment request sketch
POST /api/v1/payment-request is a specification only. This app does not expose that route.
Request body
{
"amount": "10",
"currencyLabel": "USD display unit, not a peg",
"acceptedTokens": ["USDT", "USDC", "USDD", "USD₮"],
"expiry": "2026-12-04T18:00:00Z",
"callbackUrl": "https://merchant.example/hooks/USD₮"
}Response
{
"paymentId": "pay_demo_1042",
"qrPayload": "tron:<recipient>?amount=10&token=TAaCFhTmMmwCFFwGqp9RRabpgSLEWYXuRt&memo=pay_demo_1042",
"status": "sandbox"
}Events
- payment.created
- payment.routed
- payment.confirmed
- payment.failed
Webhook signing
Verify a shared secret against the raw request body. Reject timestamps older than a few minutes so a captured call cannot be replayed. This repository does not ship a real secret.
Explore
Go deeper into the project
Every major area has a dedicated page. Nothing here implies a live gateway or a dollar peg.
Whitepaper ↗
Full project model, architecture sketch, governance notes, and risks.
Development roadmap ↗
What is live, what is demo, and what stays planned.
Tokenomics ↗
Supply and holders from the chain. No invented allocation table.
Developer documentation ↗
Contract calls, QR URI format, and sandbox API sketch.
Questions & answers ↗
Identity, network, risks, and current status in plain language.
Insights & research ↗
Short explainers written for this project.