internet-court/internet-court-skill / vendored/openserv/openserv-launch
openserv-launch
VerifiedLaunch 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.
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 346 B |
| SKILL.md | skill md | 7.5 KB |
| examples/agent-launcher.ts | script | 6.4 KB |
| examples/env.example | other | 217 B |
| examples/launch-token.ts | script | 4.1 KB |
| examples/list-tokens.ts | script | 3.2 KB |
| reference.md | markdown | 10.0 KB |
| troubleshooting.md | markdown | 5.0 KB |
examples/launch-token.ts
View on GitHub/**
* Launch a token on Base with Aerodrome LP
*
* This example demonstrates the complete token launch flow:
* 1. Prepare token metadata
* 2. Call the launch API
* 3. Handle the response
*
* Usage:
* npx tsx launch-token.ts
*
* Prerequisites:
* - A valid Ethereum wallet address to receive fees
*/
import 'dotenv/config'
import axios from 'axios'
const API_BASE = 'https://instant-launch.openserv.ai'
interface LaunchRequest {
name: string
symbol: string
wallet: string
description?: string
imageUrl?: string
website?: string
twitter?: string
}
interface LaunchResponse {
success: true
internalId: string
creator: string
token: {
address: string
name: string
symbol: string
supply: string
}
pool: {
address: string
tickSpacing: number
fee: string
}
locker: {
address: string
lpTokenId: string
lockedUntil: string
}
txHashes: {
tokenDeploy: string
stakingTransfer: string
lpMint: string
lock: string
buy: string
}
links: {
explorer: string
aerodrome: string
dexscreener: string
defillama: string
}
}
async function launchToken(request: LaunchRequest): Promise<LaunchResponse> {
const response = await axios.post<LaunchResponse>(`${API_BASE}/api/launch`, request, {
headers: { 'Content-Type': 'application/json' }
})
return response.data
}
async function main() {
// Your wallet address that will receive 50% of trading fees
const creatorWallet = process.env.CREATOR_WALLET
if (!creatorWallet) {
console.error('β CREATOR_WALLET not set in environment')
console.log('\nSet your wallet address:')
console.log(' export CREATOR_WALLET=0x...')
process.exit(1)
}
// Token configuration
const tokenConfig: LaunchRequest = {
name: 'Example Token',
symbol: 'EXAMPLE',
wallet: creatorWallet,
description: 'An example token launched via the OpenServ Launch API',
// Optional fields:
// imageUrl: 'https://example.com/logo.png',
// website: 'https://example.com',
// twitter: '@example'
}
console.log('π Launching token...')
console.log(` Name: ${tokenConfig.name}`)
console.log(` Symbol: ${tokenConfig.symbol}`)
console.log(` Creator: ${tokenConfig.wallet}`)
try {
const result = await launchToken(tokenConfig)
console.log('\nβ
Token launched successfully!')
console.log('\nπ Token Details:')
console.log(` Address: ${result.token.address}`)
console.log(` Name: ${result.token.name}`)
console.log(` Symbol: ${result.token.symbol}`)
console.log(` Supply: ${result.token.supply}`)
console.log('\nπ§ Pool Details:')
console.log(` Address: ${result.pool.address}`)
console.log(` Fee: ${result.pool.fee}`)
console.log('\nπ Locker Details:')
console.log(` Address: ${result.locker.address}`)
console.log(` LP Token ID: ${result.locker.lpTokenId}`)
console.log(` Locked Until: ${result.locker.lockedUntil}`)
console.log('\nπ Links:')
console.log(` Explorer: ${result.links.explorer}`)
console.log(` Trade on Aerodrome: ${result.links.aerodrome}`)
console.log(` DEXScreener: ${result.links.dexscreener}`)
console.log('\nπ Transaction Hashes:')
console.log(` Token Deploy: ${result.txHashes.tokenDeploy}`)
console.log(` LP Mint: ${result.txHashes.lpMint}`)
console.log(` Lock: ${result.txHashes.lock}`)
console.log(` Initial Buy: ${result.txHashes.buy}`)
} catch (error) {
if (axios.isAxiosError(error) && error.response) {
console.error('\nβ Launch failed:', error.response.data?.error || error.message)
// Common errors and solutions
const errorMsg = error.response.data?.error || ''
if (errorMsg.includes('Daily launch limit')) {
console.log('\nπ‘ Tip: Wait 24 hours or use a different wallet address')
} else if (errorMsg.includes('Invalid Ethereum address')) {
console.log('\nπ‘ Tip: Make sure CREATOR_WALLET is a valid Ethereum address')
}
} else {
throw error
}
process.exit(1)
}
}
main().catch(console.error)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |
| 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: 119k | Updated | Claude CodeCodex | Verified | Install |
| 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: 118k | Updated | Claude CodeCodex | Verified | Install |