v1.0.66 · Solana Market Making CLI

ForgeX CLI

Solana On-Chain Market Making System

Complete on-chain market making: multi-wallet management, batch trading, professional tools, and AI-powered operations.

$npm i -g forgex-cli
v1.0.66Version
749Weekly Downloads
7Command Groups
MITLicense

Features

Everything you need for Solana on-chain market making

Multi-Wallet Management

Create/delete wallet groups, batch generate wallets, vanity address generation (custom suffix/prefix), CSV/JSON import/export, AES encrypted private key storage.

Batch Trading

Multi-wallet simultaneous buy/sell, percentage sell, sell all, sniper buy. Supports dry-run simulation before execution.

Professional Market Making

Turnover trading (Jito Bundle zero-slippage), volume tools (5 modes), price bot (auto pump/dump to target price).

Multi-DEX Support

Pump.fun, PumpSwap, Raydium V4/CPMM, LaunchLab — seamless trading across major Solana DEX protocols.

Jito MEV Protection

Transaction bundling via Jito Block Engine prevents sandwich attacks. Secure your trades with MEV protection.

Token Creation

Create tokens on Pump.fun / LaunchLab with IPFS metadata upload, dev wallet buy-in, and sniper bundling (T0/T1-T5).

On-Chain Queries

Balance, price, K-line, transaction history, position monitoring — real-time on-chain data at your fingertips.

Batch Transfers

Collect (many-to-one), distribute (one-to-many), many-to-many transfers. Supports SOL and SPL tokens.

Transaction Tracking

Auto-track transaction results on-chain, persist position data and P&L (realized & unrealized) per wallet group.

Flexible Output

JSON (default, for Agent/script parsing), Table (human-readable), Minimal (key info only) — three output formats.

See It In Action

Run commands and manage wallets in seconds

forgex-cli

Command Reference

Full CLI reference for wallet, trade, and transfer operations

config

Configuration management

config initInitialize config file with --rpc-url, --api-token, --network
config set <key> <value>Set config value, supports dot-path (e.g. feeConfig.trade_fee)
config get [key]View config (sensitive values masked)
config listList all config entries

Architecture

Clean layered design for reliability and extensibility

CLI Commands
config | wallet | trade | tools | transfer | token | query
DataSource
unified data access facade
TxTracker
Transaction tracking + P&L
CodexAdapter
Market data
RpcAdapter
On-chain queries
JitoAdapter
Bundle transactions
DataStore
Local storage

AI-Powered Operations

Natural language to on-chain actions via OpenClaw & Cursor Agent

Natural Language

Create a new wallet group called TradeTeam with 10 wallets

Buy 0.05 SOL worth of token 6p6x...pump with group 1

Collect all SOL from group 1 back to my main wallet

CLI Commands

forgex wallet create-group --name "TradeTeam"
forgex wallet generate --group 2 --count 10
forgex trade buy --group 1 --token 6p6x...pump --amount 0.05
forgex transfer in --to 7xKp...3nFd --from-group 1 --amount all
  • Supports --password flag and FORGEX_PASSWORD env var for non-interactive Agent calls
  • All commands support --format json for structured output parsing
  • Compatible with OpenClaw and Cursor Agent

Get Started

Install ForgeX CLI and start making markets in minutes

Install with OpenClaw

Send the following message to your OpenClaw agent:

Read https://clawhub.ai/Catlina-2B/forgex-skill and follow the instructions to install forgex-cli

Don't have OpenClaw? Download OpenClaw →

Manual Install via npm

Step 1:npm i -g forgex-cli
Step 2:forgex config init
Step 3:forgex config set rpcUrl https://your-rpc-url.com
Step 4:forgex config set codexApiKey your-codex-api-key

Requirements: Node.js >= 22.14.0