DexterDexter

DexterMoltyDexter

Give your Moltbot AI agents the ability to pay for x402 APIs autonomously.

MoltyDexter

MoltyDexter

MoltyDexter is a Moltbot plugin that enables AI agents to discover and pay for x402-enabled services autonomously.

Once installed, your Moltbot agent can access premium APIs, pay for data services, and consume x402 resources—all without human intervention.

Installation

moltbot plugin add @dexterai/moltbot-x402

Configuration

Set Your Wallet

Configure a Solana wallet that your agent will use for x402 payments. You control the keys, you set the limits.

moltbot config set plugins.entries.@dexterai/moltbot-x402.config.svmPrivateKey "your-key"
moltbot config set plugins.entries.@dexterai/moltbot-x402.config.maxPaymentUSDC "5.00"

Fund and Go

Deposit USDC to your configured wallet. Your Moltbot agent can now access any x402 service within your spending limits.

What Your Agent Can Do

Once MoltyDexter is installed, your Moltbot agent can:

  • Discover verified x402 APIs – Browse available paid services from the Dexter Marketplace, backed by Dexter's AI endpoint verification
  • Pay autonomously – Execute USDC payments through Dexter Facilitator when accessing paid resources
  • Manage budgets – Respect per-transaction and total spending limits you define
  • Track expenses – Full transparency on what your agent paid for and why

Built-In Safeguards

MoltyDexter includes multiple layers of spending control:

SafeguardDescription
Per-transaction limitMaximum USDC for any single x402 payment
Session budgetOptional cap on total spending per conversation
Wallet balanceAgent can only spend what's in its wallet
User confirmationOptional prompt before high-value transactions

You're always in control of how much your agent can spend.

Use Cases

Market Research Agent

Your Moltbot agent researches a token, discovers that the best sentiment data costs $0.02 per query, pays automatically, and delivers the complete analysis—all in one conversation.

Content Generation Agent

Agent needs premium image generation? It discovers an x402 image API, pays the $0.10 fee, generates the asset, and continues the workflow.

Trading Assistant

Agent monitors markets and needs real-time premium data feeds. It pays per-request for the data it needs, when it needs it.

Technical Capabilities

FeatureStatus
Solana USDC payments✅ Supported
Base USDC payments✅ Supported
Polygon USDC payments✅ Supported
Arbitrum USDC payments✅ Supported
Optimism USDC payments✅ Supported
Avalanche USDC payments✅ Supported
Dexter Facilitator integration✅ Native
Dexter Marketplace discovery✅ Enabled
Dexter Proxy routing✅ Enabled
x402 v1 protocol✅ Supported
x402 v2 protocol✅ Supported
Self-fee mode✅ Supported

Requests routed through Dexter Proxy benefit from response validation powered by zauthx402.

Configuration Options

OptionTypeDescription
svmPrivateKeystringBase58-encoded Solana private key
evmPrivateKeystringHex EVM private key (for Base, Polygon, Arbitrum, etc.)
defaultNetworkstringPreferred network: solana, base, polygon, arbitrum, optimism, avalanche
maxPaymentUSDCstringMaximum USDC per single transaction
sessionBudgetUSDCstring(Optional) Total budget per conversation
requireConfirmationboolean(Optional) Prompt user before payments
confirmationThresholdUSDCstring(Optional) Only confirm above this amount

Using MoltyDexter via Telegram

If your Moltbot agent runs on Telegram, you can install MoltyDexter directly via chat:

/plugin add @dexterai/moltbot-x402

Once installed, simply message your agent and ask it to use paid APIs. The agent will automatically discover x402 services, pay for them, and return the results—all within the chat.

Example: "Research the Dexter token and get me premium sentiment data."

Your agent handles the payment flow invisibly. You just get the answer.

About Moltbot

Moltbot is a next-generation AI agent framework that runs autonomous AI assistants across Telegram, Discord, and other platforms. With advanced tool orchestration, memory management, and multi-step reasoning, Moltbot agents can handle complex tasks that span multiple services and conversations.

On this page