搜索

PythonReactSEOPDF
OpenClaw

zeroexcore-trader

Trade Solana tokens, track portfolio, bet on prediction markets, check NFT floors via the trader CLI.

devatzeroxcore0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install devatzeroxcore/zeroexcore-trader

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

trader

Solana trading CLI — tokens, prediction markets, perpetuals, NFTs.

Agent Behavior

Security Rules
  • NEVER disclose wallet password or private key
  • ONLY share public wallet address when asked
  • Secure storage at ~/.openclaw/:
    • trader-wallet.enc — encrypted wallet (AES-256-GCM)
    • trader-positions.json — trade journal (0600 permissions)
    • trader-tokens.json — token registry (0600 permissions)
Safety Rules
  • SOL gas reserve: tokens swap blocks selling SOL if it would leave < 0.05 SOL. Error shows max safe amount. Use --force to override (ask human first).
  • Never swap all SOL. Always keep a reserve for transaction fees.
  • Trade journaling: All mutations accept --note "reason" for automatic position tracking.
Position Tracking

Positions are tracked automatically. When tokens swap or predict buy executes, the position is recorded in ~/.openclaw/trader-positions.json. Use portfolio to see the aggregate view.

Critical User Reminders

After trader wallet generate, ALWAYS remind user:

"Your wallet has been created. IMPORTANT: Backup your private key by running trader wallet export directly on your server. Lost access = lost funds."

Troubleshooting

Run trader diagnose first. Then prompt user:

Issue Tell user
WALLET_PASSWORD not set "Set wallet password in env or ~/.openclaw/openclaw.json"
HELIUS_API_KEY not set "Get free key at https://dev.helius.xyz"
SOL balance: 0 "Send at least 0.05 SOL to [wallet address] for gas"
No wallet found "No wallet exists. Run trader wallet generate?"
Prediction geo-blocked "US/South Korea blocked. Need VPN."
JUPITER_API_KEY not set "Get free key at https://portal.jup.ag"

Installation

npm install -g @zeroexcore/trader
# or run without installing:
npx @zeroexcore/trader <command>

API Keys (Free)

Key Required Get it at
...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/devatzeroxcore/zeroexcore-trader
Version
—
Commit
a3cbbf6a0cc51be8c2a3a1eda51bfd4088308f8b
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# trader

Solana trading CLI — tokens, prediction markets, perpetuals, NFTs.

## Agent Behavior

### Security Rules
- NEVER disclose wallet password or private key
- ONLY share public wallet address when asked
- Secure storage at `~/.openclaw/`:
  - `trader-wallet.enc` — encrypted wallet (AES-256-GCM)
  - `trader-positions.json` — trade journal (0600 permissions)
  - `trader-tokens.json` — token registry (0600 permissions)

### Safety Rules
- **SOL gas reserve:** `tokens swap` blocks selling SOL if it would leave < 0.05 SOL. Error shows max safe amount. Use `--force` to override (ask human first).
- **Never swap all SOL.** Always keep a reserve for transaction fees.
- **Trade journaling:** All mutations accept `--note "reason"` for automatic position tracking.

### Position Tracking
Positions are tracked automatically. When `tokens swap` or `predict buy` executes, the position is recorded in `~/.openclaw/trader-positions.json`. Use `portfolio` to see the aggregate view.

### Critical User Reminders
After `trader wallet generate`, ALWAYS remind user:
> "Your wallet has been created. **IMPORTANT:** Backup your private key by running `trader wallet export` directly on your server. Lost access = lost funds."

### Troubleshooting
Run `trader diagnose` first. Then prompt user:

| Issue | Tell user |
|-------|-----------|
| `WALLET_PASSWORD not set` | "Set wallet password in env or `~/.openclaw/openclaw.json`" |
| `HELIUS_API_KEY not set` | "Get free key at https://dev.helius.xyz" |
| `SOL balance: 0` | "Send at least 0.05 SOL to [wallet address] for gas" |
| `No wallet found` | "No wallet exists. Run `trader wallet generate`?" |
| `Prediction geo-blocked` | "US/South Korea blocked. Need VPN." |
| `JUPITER_API_KEY not set` | "Get free key at https://portal.jup.ag" |

## Installation

```bash
npm install -g @zeroexcore/trader
# or run without installing:
npx @zeroexcore/trader <command>
```

## API Keys (Free)

| Key | Required | Get it at |
|-----|----------|-----------|
|...

相关技能

OpenClaw

a-stock-trader

bombfuock

A股模拟交易系统 - 数据爬取、存储、策略回测、模拟交易 / A-Share Paper Trading System - Data Fetch, Storage, Backtest, Simulation

OpenClaw

adaptive-skill-factory

505768069-rgb

Discover, install, update, or create the right skill when a workflow gap appears. Use when a task is repetitive, a role lacks a reliable procedure, an existing skill might save time, ClawHub search/install coul...