skills/token-launching/SKILL.md
# Token Launching Launch memecoins on Base via Flaunch. Choose between the gasless API for simplicity or the SDK for programmatic control. ## Why Flaunch? - **No upfront cost**: Gasless API requires no wallet or ETH - **100% fee control**: You own all trading fee revenue - **Instant liquidity**: Tokens are immediately tradeable on Uniswap V4 - **Built-in protection**: BidWall prevents rug pulls ## Two Paths to Launch | Method | Wallet Needed | Best For | |--------|---------------|----------
npx skillsauth add flayerlabs/flaunchgg-contracts skills/token-launchingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Launch memecoins on Base via Flaunch. Choose between the gasless API for simplicity or the SDK for programmatic control.
| Method | Wallet Needed | Best For | |--------|---------------|----------| | Gasless API | No | Quick launches, experiments | | SDK | Yes | Programmatic control, premine |
The gasless API handles everything server-side. No wallet, no ETH, no gas.
curl -X POST https://web2-api.flaunch.gg/api/v1/upload-image \
-H "Content-Type: application/json" \
-d '{
"base64Image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAB..."
}'
Response:
{
"success": true,
"ipfsHash": "QmX7UbPKJ7Drci3y6p6E8oi5TpUiG7NH3qSzcohPX9Xkvo",
"tokenURI": "ipfs://QmX7UbPKJ7Drci3y6p6E8oi5TpUiG7NH3qSzcohPX9Xkvo"
}
# Base Mainnet
curl -X POST https://web2-api.flaunch.gg/api/v1/base/launch-memecoin \
-H "Content-Type: application/json" \
-d '{
"name": "My Token",
"symbol": "TOKEN",
"description": "A token launched by an AI agent",
"imageIpfs": "QmX7UbPKJ7Drci3y6p6E8oi5TpUiG7NH3qSzcohPX9Xkvo",
"creatorAddress": "0xYourAddress..."
}'
Response:
{
"success": true,
"message": "Memecoin launch request queued",
"jobId": "12345"
}
curl https://web2-api.flaunch.gg/api/v1/launch-status/12345
Response when complete:
{
"success": true,
"state": "completed",
"transactionHash": "0x...",
"collectionToken": {
"address": "0xNewTokenAddress...",
"name": "My Token",
"symbol": "TOKEN"
}
}
Your token is now live at https://flaunch.gg/base/coin/0xNewTokenAddress
See references/gasless-api.md for full API documentation.
For programmatic control with a wallet.
npm install @flaunch/sdk viem
import { createFlaunch } from "@flaunch/sdk";
import { createPublicClient, createWalletClient, http } from "viem";
import { base } from "viem/chains";
import { privateKeyToAccount } from "viem/accounts";
// Initialize clients
const publicClient = createPublicClient({
chain: base,
transport: http(),
});
const walletClient = createWalletClient({
account: privateKeyToAccount("0xYourPrivateKey"),
chain: base,
transport: http(),
});
// Create SDK instance
const sdk = createFlaunch({ publicClient, walletClient });
// Launch token
const txHash = await sdk.readWriteFlaunchZap.flaunch({
name: "SDK Token",
symbol: "SDKTKN",
tokenUri: "ipfs://QmYourImageHash...",
fairLaunchPercent: 0, // SDK requires 0
fairLaunchDuration: 0, // SDK requires 0
initialMarketCapUSD: 10000, // $10k starting mcap
creator: "0xYourAddress",
creatorFeeAllocationPercent: 20, // 20% of trading fees
});
// Wait for confirmation
const receipt = await publicClient.waitForTransactionReceipt({ hash: txHash });
console.log("Token launched:", receipt.status);
See references/sdk-usage.md for advanced SDK features.
| Parameter | Default | Description |
|-----------|---------|-------------|
| initialMarketCapUSD | 10000 | Starting market cap in USD |
| creatorFeeAllocationPercent | 20 | % of BidWall fees you receive |
| fairLaunchPercent | 0 | SDK requires 0 (protocol supports fair launch) |
| fairLaunchDuration | 0 | SDK requires 0 (protocol supports fair launch) |
Once launched, you receive:
const isValid = await sdk.isValidCoin("0xTokenAddress");
const version = await sdk.getCoinVersion("0xTokenAddress");
base-sepolia endpoint and baseSepolia chainfairLaunchPercent: 0 - Fair launch is deprecated/launch-status/{jobId} until state: "completed"development
# Treasury Managers Control how trading fees are distributed with treasury managers. This is the power feature that sets Flaunch apart from other launchpads. ## Why Treasury Managers? When you launch a token on Flaunch, you receive an ERC721 NFT that represents ownership of the token's fee stream. By default, fees go to the NFT holder. But with treasury managers, you can program sophisticated fee distribution logic. **What you can do:** - Split fees between multiple addresses - Create stakin
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.