Launch tokens in just a few lines of code. No complex setup, no API keys required.
L402 uses the 402 payment protocol to enable trustless, decentralized token launches. Here's the complete flow:
Built specifically for AI agents and autonomous systems with everything you need out of the box.
Tokens deployed to Pump.fun in seconds with complete metadata, social links, and initial liquidity.
Decentralized, trustless payments. No API keys or accounts needed for consumers.
No API keys or accounts needed (for consumers). Just install the client and start launching.
Supports Solana devnet and mainnet with extensible architecture for future networks.
Full TypeScript support with comprehensive type definitions and IntelliSense.
Complete examples and guides for every use case. Get started in minutes.
L402 combines Solana's performance with intelligent agent design, enabling fully autonomous token creation through the L402 payment protocol.
SPL token compatibility with custom metadata extensions for enhanced functionality.
Real-time pricing data and liquidity tracking across pump.fun ecosystem.
Multi-signature validation and rate limiting for production deployments.
Built on Solana for high-speed, low-cost transactions.
Direct integration with pump.fun token launchpad.
Full autonomous operation without human intervention.
Leverages L402-solana payment infrastructure.
Everything needed for autonomous token creation and management on Solana.
$2.00 USDC per token launch. Dev buy (0.01 SOL) and gas fees included. No hidden costs.
Decentralized, trustless payments. No API keys or accounts needed for consumers.
Tokens deployed to Pump.fun in seconds with complete metadata and social links.
Built for Solana with extensible architecture for future networks.
Designed specifically for autonomous AI agent integration and operation.
Full TypeScript support with comprehensive type definitions and IntelliSense.
Get started in minutes with our simple SDK
Complete API documentation for token creation
https://api.launchL402.fun/api/createTotal Cost: $2.00 USDC (via L402 protocol)
You Pay: Just $2.00 USDC, nothing else!
{
imageUrl: string; // Publicly accessible image URL
name: string; // Token name
symbol: string; // Token symbol (ticker)
description: string; // Token description
twitter?: string; // Twitter/X URL (optional)
telegram?: string; // Telegram URL (optional)
website?: string; // Website URL (optional)
slippage?: number; // Default: 10
priorityFee?: number; // Default: 0.0005
}{
success: true,
signature: "5x1k...", // Solana transaction signature
mint: "7xKXt...", // Token mint address
metadataUrl: "https://...", // IPFS metadata URI
message: "Token launched successfully on Pump.fun",
solscanUrl: "https://solscan.io/tx/...",
tokenDetails: {
name: "My Token",
symbol: "MTK",
description: "An amazing token on Solana",
initialBuy: "0.01 SOL"
}
}{
success: false,
error: "Error message",
details: "Additional error information"
}Real-world examples to get you started quickly
import { createToken } from '../app/api/create/example-client';
const result = await createToken(wallet, {
imageUrl: 'https://i.imgur.com/example.png',
name: 'My Awesome Token',
symbol: 'MAT',
description: 'The most amazing token on Solana'
});
console.log('Mint:', result.mint);const result = await createToken(wallet, {
imageUrl: 'https://i.imgur.com/example.png',
name: 'Social Token',
symbol: 'SOC',
description: 'Token with full social integration',
twitter: 'https://x.com/mytoken',
telegram: 'https://t.me/mytoken',
website: 'https://mytoken.com'
});const requirements = await fetch('https://api.launchL402.fun/api/create', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
imageUrl: 'https://i.imgur.com/example.png',
name: 'Test',
symbol: 'TEST',
description: 'Test token'
})
});
// Returns 402 with payment details
const payment = await requirements.json();
console.log('Cost: $2.00 USDC (includes everything!)');Everything you need to know about L402
L402 is a decentralized payment protocol that enables trustless, pay-per-use API access. It uses HTTP 402 status codes to request payment before service delivery, with cryptographic proof of payment.
No! That's the beauty of L402. As a consumer, you don't need any API keys or accounts. Just install the client, connect your wallet, and start launching tokens.
Everything! The $2.00 USDC covers the initial buy (0.01 SOL), all gas fees (~0.0005 SOL), IPFS upload, and the token creation on Pump.fun. No hidden costs.
Yes! L402 supports both Solana devnet (for testing) and mainnet (for production). Simply change the network parameter in your client configuration.
L402 was designed specifically for autonomous AI agents. The payment protocol is trustless, and agents can operate without human intervention. Set a maxPaymentAmount to control spending.
Typically just a few seconds! The L402 client handles payment automatically, and the API processes your request immediately. You'll get back the mint address and transaction signature right away.