wisemanager

AI-ready TON marketplace: x402 micropayments, Telegram bot, Blink one-tap deposits

wisemanager

Created At

ETHGlobal New York 2026

Project Description

Wisemanager is agent-ready commerce infrastructure on the TON blockchain. Users shop and pay through two surfaces: a Telegram bot and a glassmorphic Web app (Shop, Cart, Dashboard).

In Telegram, users describe what they want in natural language—"market MacBook under 700 in Lausanne"—and the bot parses intent, returns listings, and completes purchases via the x402 protocol without repeated wallet popups. On Web, users browse products, connect TonConnect, and checkout with server-side x402 settlement in BSA USD or TON.

We integrate Blink (blink.cash) as a one-tap deposit layer: users create a passkey Blink ID, link a wallet once, and fund their balance with Face ID before checkout—closing the "insufficient balance" gap that kills conversion in on-chain apps.

Every payment is traceable in a unified Dashboard (Bot + Web receipts), laying groundwork for reputation and B2B settlement. Built for humans, bots, and AI agents that need machine-executable, REST-native micropayments on TON.

How it's Made

We built a TypeScript pnpm monorepo around @ton-x402/* packages (core, client, middleware, facilitator)

The Next.js 15 App Router server exposes paywalled API routes (/api/market, /api/buy, /api/sell, /api/checkout). @ton-x402/middleware intercepts requests, returns HTTP 402 with payment metadata, and unlocks resources after the client retries with signed proof. A self-hosted facilitator (/api/facilitator/verify + /settle) verifies and broadcasts TON/Jetton transfers on testnet.

The Telegram bot (client-script) uses long polling, parses natural-language market filters (price, location, category), and auto-signs x402 payments with a server-side mnemonic—enabling chat-to-checkout for agents and humans alike.

The Web UI uses TonConnect for wallet connection, React context for cart/receipts, and a server-side checkout proxy so users never expose keys in the browser. Blink (@swype-org/deposit) adds passkey one-tap deposits into the connected wallet via a merchant signer endpoint—funding before x402 checkout.

Notable hack: demo-grade in-memory product/receipt stores shared between bot and Web, proving end-to-end flows without a database.

background image mobile

Join the mailing list

Get the latest news and updates

wisemanager | ETHGlobal