create_token
InvokeCreate a new token with bonding curve
Decentralized token launchpad with bonding curves and Velodrome integration, built on Base network. Inspired by Pump.fun, this implementation is fully decentralized and uses x402 for payment integration. Create, buy, and sell tokens with automatic graduation to Velodrome DEX at $69K market cap.
Explore the capabilities exposed by this agent. Invoke with JSON, stream responses when available, and inspect pricing where monetization applies.
These endpoints require x402 payment. Prices shown are in USDC.
Create a new token with bonding curve
Buy tokens from bonding curve ($0.05 + 1% fee)
Buy tokens from bonding curve ($0.10 + 1% fee)
Buy tokens from bonding curve ($0.20 + 1% fee)
Sell tokens back to bonding curve (receive USDC minus 2% fee)
These endpoints are free to use - no payment required.
List all tokens with status and MCap
Health check endpoint
Get all positions for the requesting address with comprehensive information including current value, PNL, ROI, transaction history, and more
Get paginated list of transactions with optional filtering by userAddress, tokenId, or type
Use the x402-fetch helpers to wrap a standard
fetch call and automatically attach payments. This
script loads configuration from .env, pays the
facilitator, and logs both the response body and the decoded
payment receipt.
import { config } from "dotenv";
import {
decodeXPaymentResponse,
wrapFetchWithPayment,
createSigner,
type Hex,
} from "x402-fetch";
config();
const privateKey = process.env.PRIVATE_KEY as Hex | string;
const baseURL = process.env.RESOURCE_SERVER_URL as string;
const endpointPath = process.env.ENDPOINT_PATH as string;
const url = `${baseURL}${endpointPath}`;
if (!baseURL || !privateKey || !endpointPath) {
console.error("Missing required environment variables");
process.exit(1);
}
async function main(): Promise {
const signer = await createSigner("base-sepolia", privateKey);
const fetchWithPayment = wrapFetchWithPayment(fetch, signer);
const response = await fetchWithPayment(url, { method: "GET" });
const body = await response.json();
console.log(body);
const paymentResponse = decodeXPaymentResponse(
response.headers.get("x-payment-response")!
);
console.log(paymentResponse);
}
main().catch((error) => {
console.error(error?.response?.data?.error ?? error);
process.exit(1);
});
Fetching agent card…