← Back to Skills Marketplace
zedit42

Solana Funding Rate Arbitrage

by Zedit42 · GitHub ↗ · v2.1.0
cross-platform ⚠ suspicious
1652
Downloads
1
Stars
4
Active Installs
2
Versions
Install in OpenClaw
/install solana-funding-arb
Description
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.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install solana-funding-arb
  3. After installation, invoke the skill by name or use /solana-funding-arb
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug solana-funding-arb
Version 2.1.0
License
All-time Installs 5
Active Installs 4
Total Versions 2
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 1652 downloads so far.

How do I install Solana Funding Rate Arbitrage?

Run "/install solana-funding-arb" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Solana Funding Rate Arbitrage free?

Yes, Solana Funding Rate Arbitrage is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Solana Funding Rate Arbitrage support?

Solana Funding Rate Arbitrage is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Solana Funding Rate Arbitrage?

It is built and maintained by Zedit42 (@zedit42); the current version is v2.1.0.

💬 Comments