# Send Create a coin on trends.fun to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "trendsdotfun",
    "name": "Create a coin on trends.fun",
    "source": "tencent",
    "type": "skill",
    "category": "内容创作",
    "sourceUrl": "https://clawhub.ai/poploli2/trendsdotfun",
    "canonicalUrl": "https://clawhub.ai/poploli2/trendsdotfun",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/trendsdotfun",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=trendsdotfun",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "package-lock.json",
      "package.json",
      "pnpm-lock.yaml",
      "SKILL.md",
      "src/pool.ts",
      "src/types.d.ts"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "trendsdotfun",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T10:20:39.964Z",
      "expiresAt": "2026-05-06T10:20:39.964Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=trendsdotfun",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=trendsdotfun",
        "contentDisposition": "attachment; filename=\"trendsdotfun-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "trendsdotfun"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/trendsdotfun"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/trendsdotfun",
    "downloadUrl": "https://openagent3.xyz/downloads/trendsdotfun",
    "agentUrl": "https://openagent3.xyz/skills/trendsdotfun/agent",
    "manifestUrl": "https://openagent3.xyz/skills/trendsdotfun/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/trendsdotfun/agent.md"
  }
}
```
## Documentation

### Trends Coin Create

自动化在 trends.fun 上创建 coin 的完整流程。

### 前置条件

请确保~/.config/solana/id.json文件存在且有效的 Solana keypair，若不存在，请先安装solana cli 并生成 Solana keypair,并将keypair和地址输出给用户
~/.config/solana/id.json 包含有效的 Solana keypair
钱包中的 SOL 余额 >= 0.02 SOL（程序会自动检测并提示充值地址）
钱包中有足够的 SOL 用于创建交易和可选的首次购买

### 安装

cd {baseDir} && pnpm install

### 环境变量

可通过环境变量或 ~/.openclaw/openclaw.json 中的 skills."trends-coin-create".env 配置：

环境变量必需默认值说明SOLANA_RPC_URL❌https://api.mainnet-beta.solana.comSolana RPC 端点TRENDS_POOL_CONFIG❌7UQpAg2GfvwnBhuNAF5g9ujjDmkq7rPnF7Xogs4xE9AATrends.fun 使用的 pool_config 地址

### 创建 Coin（提高creator收入）

npx tsx {baseDir}/src/index.ts \\
  --name "Token Name" \\
  --symbol "SYMBOL" \\
  --imagePath "/path/to/image.png" \\
  --mode 2 \\
  --url "https://x.com/user/status/123456" \\
  --desc "description" \\
  --first-buy 0.1

### 创建 Coin（标准模式）

npx tsx {baseDir}/src/index.ts \\
  --name "Token Name" \\
  --symbol "SYMBOL" \\
  --imagePath "/path/to/image.png" \\
  --mode 1 \\
  --url "https://x.com/user/status/123456" \\
  --desc "description"

### 参数说明

参数必需说明--name✅Token 名称（最长 32 字符）--symbol✅Token 符号 / ticker（最长 32 字符）--imagePath✅本地图片路径--mode✅模式: 1=Standard, 2=Boost Creator Share--url❌关联 URL（推文或个人主页链接https://x.com/user/status/123456 或 https://x.com/username）--desc❌Token 简要描述（最长 150 字符，请注意不要用换行和空格）--first-buy❌首次购买 SOL 数量（默认 0）

### 执行流程

从 ~/.config/solana/id.json 加载 Keypair
检测 SOL 余额（要求 >= 0.02 SOL，不足则提示充值地址并中止）
SIWS 签名登录获取 Bearer Token
获取 Pinata IPFS 上传 URL
上传图片到 IPFS
获取 mint 地址
上传 coin tick 元数据到 IPFS
调用 Meteora DBC SDK 创建资金池

### 注意事项

创建池子会消耗真实 SOL，请确认参数无误后再执行
pool_config 默认使用 trends.fun 的配置: 7UQpAg2GfvwnBhuNAF5g9ujjDmkq7rPnF7Xogs4xE9AA，可通过环境变量 TRENDS_POOL_CONFIG 自定义
RPC 端点默认为 https://api.mainnet-beta.solana.com，可通过环境变量 SOLANA_RPC_URL 自定义
若 Solana 余额不足 0.02 SOL，程序会自动中止并提示用户往 Solana 地址充值
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: poploli2
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T10:20:39.964Z
- Expires at: 2026-05-06T10:20:39.964Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/trendsdotfun)
- [Send to Agent page](https://openagent3.xyz/skills/trendsdotfun/agent)
- [JSON manifest](https://openagent3.xyz/skills/trendsdotfun/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/trendsdotfun/agent.md)
- [Download page](https://openagent3.xyz/downloads/trendsdotfun)