← 返回 Skills 市场
1652
总下载
1
收藏
4
当前安装
2
版本数
在 OpenClaw 中安装
/install solana-funding-arb
功能描述
Solana perpetual DEX funding rate arbitrage - scanner and auto-trader. Compares funding rates across Drift and Flash Trade to find and execute cross-DEX arbitrage opportunities. Use when analyzing Solana perp funding rates, finding funding arbitrage, setting up delta-neutral strategies, or running automated funding collection. Includes Monte Carlo simulation, backtesting, and full auto-trading capabilities.
安全使用建议
This package contains real trading code and will, if configured for live mode, require and use your Solana private key (or keypair file) and an RPC endpoint. That is consistent with its purpose but the registry metadata incorrectly lists no required env vars — treat that as a red flag. Before installing or running: 1) Inspect the auto-trader and sendTransaction code paths yourself (or have a trusted reviewer) to confirm there are no hidden remote endpoints or backdoors. 2) Do NOT put a production private key with meaningful funds into .env; use a small test key or a restricted wallet. Prefer hardware-wallet or a signing service if possible. 3) Start in dry_run mode and run the backtests locally; confirm behavior of cron-runner.sh and where logs/state are written (~/.clawd and ~/.secrets). 4) Verify package.json and package-lock to ensure dependencies are expected; run npm install in an isolated environment or container. 5) Consider running the code in a sandboxed VM with a limited-key (tiny balance) and network monitoring before trusting it with real funds. 6) If you plan to use it live, update the registry metadata (or request the publisher do so) so required env vars and runtime are explicit. If you cannot audit the code, avoid giving this skill any private key or enabling autonomous live trading.
功能分析
Type: OpenClaw Skill
Name: solana-funding-arb
Version: 2.1.0
This skill is classified as suspicious due to its inherent high-risk capabilities, despite being aligned with its stated purpose as an automated trading bot. Key indicators include the handling of sensitive `SOLANA_PRIVATE_KEY` or `SOLANA_WALLET_PATH` for direct blockchain transactions (scripts/src/index.ts, scripts/src/core/funding-arbitrage.ts, scripts/src/trading/drift-client.ts, scripts/src/trading/flash-client.ts) and the establishment of persistence via a cron job (SKILL.md, scripts/cron-runner.sh). While these actions are necessary for a trading bot, they represent significant security risks if compromised or misused. There is no clear evidence of intentional malicious behavior like unauthorized data exfiltration or stealthy backdoors; the documentation is transparent about these capabilities.
能力评估
Purpose & Capability
The name/description match the included code: the repository contains scanners, Monte‑Carlo/backtest scripts, DEX adapters, and an auto‑trader that uses a Solana wallet to sign transactions. That functionality legitimately requires access to a wallet/private key, an RPC provider, and Node runtime. However, the registry metadata claims no required environment variables or binaries, which is inconsistent with the manifest and SKILL.md (which require Node 18+, npm install, and SOLANA_PRIVATE_KEY or keypair path).
Instruction Scope
SKILL.md and referenced scripts instruct the agent to read ~/.secrets/.env, a config file (~/.secrets/funding-arb-config.json), and wallet files (SOLANA_PRIVATE_KEY or SOLANA_WALLET_PATH), start a cron job, and run npx ts-node to execute trading logic. Those instructions grant the skill direct access to highly sensitive secrets and to run arbitrary TypeScript code locally — appropriate for live trading but high-risk and not reflected in metadata. The README warns 'never share your private key' but still instructs placing it in a file/ENV without recommending hardware-wallet or restricted signing approaches.
Install Mechanism
There is no explicit install spec in the registry, but package.json/package-lock are included and SKILL.md instructs 'cd scripts && npm install' and running npx ts-node. Dependencies are typical (axios, express) and optional Solana/Zeta SDKs are listed. No suspicious external download URLs or archive extracts were found; installation will pull packages from npm (traceable) and execute local TypeScript with ts-node (runs code on your machine).
Credentials
Live trading reasonably requires SOLANA_PRIVATE_KEY (or a keypair file) and an RPC URL, which are declared in SKILL.md and other docs — but the registry metadata lists no required env vars or primary credential. That metadata omission is a material inconsistency (the skill requests highly sensitive credentials but doesn't declare them). The skill will also create/use local files under ~/.clawd/funding-arb and ~/.secrets, which gives it persistent access to state and logs.
Persistence & Privilege
The skill is not force-included (always: false). It can be invoked autonomously (platform default), which combined with access to a private key would allow the agent to trade without interactive approval. That is expected for an auto-trader but increases blast radius — user should not enable live/private-key operation unless they explicitly trust the code and runtime environment. The skill writes local state/logs under ~/.clawd/funding-arb (expected for a trader).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install solana-funding-arb - 安装完成后,直接呼叫该 Skill 的名称或使用
/solana-funding-arb触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.1.0
Added: Auto-trading with Drift + Flash Trade integration, DRY_RUN mode, position manager, risk controls, cron support
v2.0.0
Auto-trading system with Drift + Flash Trade integration. DRY_RUN mode, position management, risk controls.
元数据
常见问题
Solana Funding Rate Arbitrage 是什么?
Solana perpetual DEX funding rate arbitrage - scanner and auto-trader. Compares funding rates across Drift and Flash Trade to find and execute cross-DEX arbitrage opportunities. Use when analyzing Solana perp funding rates, finding funding arbitrage, setting up delta-neutral strategies, or running automated funding collection. Includes Monte Carlo simulation, backtesting, and full auto-trading capabilities. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1652 次。
如何安装 Solana Funding Rate Arbitrage?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install solana-funding-arb」即可一键安装,无需额外配置。
Solana Funding Rate Arbitrage 是免费的吗?
是的,Solana Funding Rate Arbitrage 完全免费(开源免费),可自由下载、安装和使用。
Solana Funding Rate Arbitrage 支持哪些平台?
Solana Funding Rate Arbitrage 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Solana Funding Rate Arbitrage?
由 Zedit42(@zedit42)开发并维护,当前版本 v2.1.0。
推荐 Skills