Skip to content

internet-court/internet-court-skill / vendored/openserv/openserv-launch

openserv-launch

Verified

Launch tokens on Base blockchain via the OpenServ Launch API. Creates ERC-20 tokens with Aerodrome concentrated liquidity pools. Use when launching tokens, deploying memecoins, or building agents that create tokens with locked LP. Read reference.md for the full API reference. Read openserv-agent-sdk and openserv-client for building and running agents. You can launch tokens for your OpenServ agents.

FileKindSize
LICENSEother346 B
SKILL.mdskill md7.5 KB
examples/agent-launcher.tsscript6.4 KB
examples/env.exampleother217 B
examples/launch-token.tsscript4.1 KB
examples/list-tokens.tsscript3.2 KB
reference.mdmarkdown10.0 KB
troubleshooting.mdmarkdown5.0 KB

examples/list-tokens.ts

View on GitHub
/**
 * List tokens launched via the OpenServ Launch API
 *
 * This example shows how to:
 * 1. List all tokens with pagination
 * 2. Filter by creator wallet
 * 3. Get details for a specific token
 *
 * Usage:
 *   npx tsx list-tokens.ts
 *   npx tsx list-tokens.ts --creator 0x1234...
 *   npx tsx list-tokens.ts --address 0xabcd...
 */

import axios from 'axios'

const API_BASE = 'https://instant-launch.openserv.ai'

interface TokenListItem {
  address: string
  name: string
  symbol: string
  description: string
  imageUrl?: string
  creator: string
  pool: string
  locker: string
  initialMarketCapUsd: number
  launchedAt: string
  links: {
    explorer: string
    aerodrome: string
    dexscreener: string
  }
}

interface Pagination {
  limit: number
  page: number
  totalDocs: number
  totalPages: number
  hasPrevPage: boolean
  hasNextPage: boolean
  prevPage: number | null
  nextPage: number | null
}

interface TokensResponse {
  success: true
  tokens: TokenListItem[]
  pagination: Pagination
}

async function listTokens(options: {
  limit?: number
  page?: number
  creator?: string
} = {}): Promise<TokensResponse> {
  const params = new URLSearchParams()
  if (options.limit) params.set('limit', options.limit.toString())
  if (options.page) params.set('page', options.page.toString())
  if (options.creator) params.set('creator', options.creator)

  const url = `${API_BASE}/api/tokens${params.toString() ? '?' + params.toString() : ''}`
  const response = await axios.get<TokensResponse>(url)
  return response.data
}

async function getToken(address: string) {
  const response = await axios.get(`${API_BASE}/api/tokens/${address}`)
  return response.data
}

async function main() {
  const args = process.argv.slice(2)

  // Check for specific token address
  const addressIndex = args.indexOf('--address')
  if (addressIndex !== -1 && args[addressIndex + 1]) {
    const address = args[addressIndex + 1]
    console.log(`πŸ“‹ Fetching token: ${address}\n`)

    try {
      const result = await getToken(address)
      console.log(JSON.stringify(result, null, 2))
    } catch (error) {
      if (axios.isAxiosError(error) && error.response?.status === 404) {
        console.error('❌ Token not found')
      } else {
        throw error
      }
    }
    return
  }

  // List tokens
  const creatorIndex = args.indexOf('--creator')
  const creator = creatorIndex !== -1 ? args[creatorIndex + 1] : undefined

  console.log('πŸ“‹ Listing tokens...\n')

  const result = await listTokens({
    limit: 10,
    page: 1,
    creator
  })

  if (result.tokens.length === 0) {
    console.log('No tokens found.')
    return
  }

  for (const token of result.tokens) {
    console.log(`β€’ ${token.symbol} - ${token.name}`)
    console.log(`  Address: ${token.address}`)
    console.log(`  Creator: ${token.creator}`)
    console.log(`  Launched: ${new Date(token.launchedAt).toLocaleString()}`)
    console.log(`  Trade: ${token.links.aerodrome}`)
    console.log('')
  }

  console.log(`πŸ“Š Pagination:`)
  console.log(`   Page ${result.pagination.page} of ${result.pagination.totalPages}`)
  console.log(`   Total tokens: ${result.pagination.totalDocs}`)

  if (result.pagination.hasNextPage) {
    console.log(`   Next page: ${result.pagination.nextPage}`)
  }
}

main().catch(console.error)
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path β€” even casually (like "the xlsx in my downloads") β€” and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall