2.6k
GitHub Stars
2
Bundled Files
2 months ago
Catalog Refreshed
3 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill openclaw/skills --skill zeroexcore-trader- _meta.json461 B
- SKILL.md6.3 KB
Overview
This skill provides a Solana-focused trading CLI for tokens, prediction markets, perpetuals, and NFTs. It combines swap execution, portfolio tracking, prediction betting, and NFT floor checks into a single tool with secure encrypted wallet storage. It is designed for server-side use and integrates with common Solana APIs.
How this skill works
The CLI stores an encrypted wallet and trade journal under ~/.openclaw/ and requires API keys (HELIUS_API_KEY, JUPITER_API_KEY) plus a WALLET_PASSWORD. Commands inspect on-chain balances, fetch market data, produce quotes via Jupiter, execute swaps, place prediction market orders, and record all position changes to ~/.openclaw/trader-positions.json. JSON is the default output for automation; --md produces human-readable text.
When to use it
- Automate token swaps and liquidity routing on Solana from a server or agent
- Track portfolio holdings across tokens, prediction bets, perps, and NFTs
- Place and manage bets in prediction markets with position journaling
- Check NFT floor prices and listings for trading decisions
- Run diagnostics and troubleshoot wallet/API connectivity before trading
Best practices
- Keep WALLET_PASSWORD and API keys in environment or ~/.openclaw/openclaw.json, never hardcode secrets
- Always keep a SOL gas reserve (default safety blocks selling below 0.05 SOL) — do not swap all SOL
- Use --note "reason" on mutation commands to maintain an audit trail in trader-positions.json
- Run trader diagnose before trading to verify wallet, balance, and API key status
- Backup private key immediately after wallet generation by running trader wallet export on the same trusted server
Example use cases
- Execute a programmatic USDC→SOL swap and record the trade for later PnL analytics
- Scan and buy value prediction contracts for an esports event using trader predict buy
- Monitor NFT collection floor price and list or buy based on a threshold check
- Produce a combined portfolio snapshot (tokens + predictions + PnL) for reporting or dashboards
- Run automated health checks with trader diagnose and notify if HELIUS_API_KEY or SOL balance is insufficient
FAQ
Export the private key immediately after wallet generation with trader wallet export and store it securely. Import that key into a trusted wallet like Phantom or Solflare for recovery.
What happens if SOL balance is too low for gas?
Diagnostics will report SOL balance 0 and prompt you to send at least 0.05 SOL to your public wallet address. The swap command blocks sales that would drop below the gas reserve unless --force is used (ask human first).
Are secrets stored on disk?
Sensitive data is encrypted at rest: wallet uses AES-256-GCM and files under ~/.openclaw/ use restrictive permissions (0600). API keys should still be provided via environment or OpenClaw config for safety.