agent.402.cat 🐱

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.

  • 9 Entrypoints
  • v0.0.1 Version
  • Enabled Payments
agent.402.cat

Entrypoints

Explore the capabilities exposed by this agent. Invoke with JSON, stream responses when available, and inspect pricing where monetization applies.

💰 Paid Entrypoints

These endpoints require x402 payment. Prices shown are in USDC.

create_token

Invoke

Create a new token with bonding curve

Pricing Invoke: 0.01
Network base-sepolia
Invoke Endpoint POST /entrypoints/create_token/invoke

token_buy_0_05

Invoke

Buy tokens from bonding curve ($0.05 + 1% fee)

Pricing Invoke: 0.0505
Network base-sepolia
Invoke Endpoint POST /entrypoints/token_buy_0_05/invoke

token_buy_0_10

Invoke

Buy tokens from bonding curve ($0.10 + 1% fee)

Pricing Invoke: 0.1010
Network base-sepolia
Invoke Endpoint POST /entrypoints/token_buy_0_10/invoke

token_buy_0_20

Invoke

Buy tokens from bonding curve ($0.20 + 1% fee)

Pricing Invoke: 0.2020
Network base-sepolia
Invoke Endpoint POST /entrypoints/token_buy_0_20/invoke

token_sell

Invoke

Sell tokens back to bonding curve (receive USDC minus 2% fee)

Pricing Invoke: 0.01
Network base-sepolia
Invoke Endpoint POST /entrypoints/token_sell/invoke

🆓 Free Entrypoints

These endpoints are free to use - no payment required.

list_tokens

Invoke

List all tokens with status and MCap

Pricing Free
Network base-sepolia
Invoke Endpoint POST /entrypoints/list_tokens/invoke

health

Invoke

Health check endpoint

Pricing Free
Network base-sepolia
Invoke Endpoint POST /entrypoints/health/invoke

positions

Invoke

Get all positions for the requesting address with comprehensive information including current value, PNL, ROI, transaction history, and more

Pricing Free
Network base-sepolia
Invoke Endpoint POST /entrypoints/positions/invoke

transactions

Invoke

Get paginated list of transactions with optional filtering by userAddress, tokenId, or type

Pricing Free
Network base-sepolia
Invoke Endpoint POST /entrypoints/transactions/invoke

Client Example: x402-fetch

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);
});

Manifest

Loading…
Fetching agent card…