Integrations
Integrate MoltyDEX into your favorite agent framework. Ready-to-use examples for popular platforms.
LangChain
AvailableIntegrate MoltyDEX into LangChain agents for automatic x402 payment handling
Language: Python•Example: langchain-integration.py
AutoGPT
AvailableAutoGPT plugin that enables automatic x402 payments for AutoGPT agents
Language: Python•Example: autogpt-plugin.py
TypeScript/JavaScript
AvailableHTTP Interceptor for automatic 402 handling in any Node.js/TypeScript agent
Language: TypeScript•Example: HTTPInterceptor
Python SDK
AvailableComplete Python SDK for x402 payments and token swapping
Language: Python•Example: MoltyDEX class
REST API
AvailableDirect REST API integration for any language or framework
Language: Any•Example: REST endpoints
Quick Start
TypeScript/JavaScript (Easiest)
import { HTTPInterceptor } from '@moltydex/agent';
const interceptor = new HTTPInterceptor({
apiUrl: 'https://api.moltydex.com',
walletSecretKey: process.env.WALLET_SECRET_KEY,
autoSwap: true,
});
// All 402 responses handled automatically!Python
from moltydex import MoltyDEX
dex = MoltyDEX(
wallet_path="wallet.json",
api_url="https://api.moltydex.com"
)
# Handle 402 payments automaticallyIntegration Examples
Need Help Integrating?
Check out our examples, documentation, or reach out for help.