Outsmart DEX Trading

Trade tokens on Solana via the outsmart CLI: buy, sell, quote, find pools, add/remove liquidity, claim fees, snipe, create pools. Use when: user asks about S...

MIT-0 · Free to use, modify, and redistribute. No attribution required.
2 · 284 · 0 current installs · 0 all-time installs
byvincent so@outsmartchad
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
Name/description (Solana DEX trading) align with required binary ('outsmart') and required env vars (PRIVATE_KEY, MAINNET_ENDPOINT). The optional JUPITER_API_KEY/DFLOW_API_KEY are relevant to aggregators/adapters.
Instruction Scope
SKILL.md directs the agent to install and run the outsmart CLI to perform buys/sells, liquidity ops, sniping, and to store the PRIVATE_KEY (prompted) into ~/.outsmart/config.env; all of this is in-scope for a trading CLI but implies the agent will be able to perform real on-chain transactions and store a raw private key on disk.
Install Mechanism
Install uses npm (package 'outsmart') which is a standard distribution method for a CLI but carries moderate risk: package ownership, supply-chain and publisher authenticity should be verified (no direct tarball or unknown host URLs used).
Credentials
Requesting PRIVATE_KEY and MAINNET_ENDPOINT is proportionate for an on‑chain trading tool, but PRIVATE_KEY is highly sensitive. The skill also persists credentials to ~/.outsmart/config.env per instructions, increasing the attack surface if the system is compromised.
Persistence & Privilege
Skill does not request 'always: true' or system-wide changes. It writes its own config under ~/.outsmart and does not ask to modify other skills or agent-wide settings. Be mindful that autonomous invocation (platform default) would allow it to run CLI commands using the provided key.
Assessment
This skill is internally coherent for Solana DEX trading, but it requires your raw Solana PRIVATE_KEY and will install an npm package named 'outsmart' that will be able to sign and submit real transactions. Before installing: (1) verify the npm package and GitHub repository ownership and review the package source (confirm it matches the repo shown in SKILL.md), (2) consider using a dedicated low‑value wallet or a key with limited funds for this skill, (3) prefer RPC endpoints from trusted providers or your own node for MAINNET_ENDPOINT, (4) be aware that the tool saves the key to ~/.outsmart/config.env—inspect/delete that file if you stop using the skill, (5) use --dry-run and small amounts when testing, and (6) if you do not want automated execution of trades, avoid enabling autonomous invocation or do not supply the PRIVATE_KEY as an environment variable. If you want higher confidence, provide the npm package name/registry link and the package's source code so it can be audited.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.0
Download zip
latestvk971rfbtn998ww5qm0fmr8vzk581p79p

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

Binsoutsmart
EnvPRIVATE_KEY, MAINNET_ENDPOINT

Install

Install outsmart CLI (npm)
Bins: outsmart
npm i -g outsmart

SKILL.md

Solana DEX Trading

Trade across 18 Solana DEX protocols with a single CLI.

When to Use

  • "Buy SOL token"
  • "Sell my tokens"
  • "Check price of X"
  • "Add liquidity to a pool"
  • "Find the pool for token X"
  • "What's my wallet balance?"
  • "Snipe this token"
  • "Create a new pool"

When NOT to Use

  • Ethereum/EVM/BSC trading — this is Solana only
  • CEX orders (Binance, Coinbase) — this is on-chain DEX
  • Cross-chain bridges — use dedicated bridge tools
  • Historical price data — use DexScreener or charting tools

Setup

npm i -g outsmart
outsmart init
# Enter your PRIVATE_KEY and MAINNET_ENDPOINT when prompted
# Config saved to ~/.outsmart/config.env

Commands

Buy Tokens

# Best price via Jupiter aggregator (just need token mint)
outsmart buy --dex jupiter-ultra --token MINT_ADDRESS --amount 0.1

# Direct on-chain (need pool address)
outsmart buy --dex raydium-cpmm --pool POOL_ADDRESS --amount 0.1

# With Jito MEV tip for priority execution
outsmart buy --dex meteora-dlmm --pool POOL --amount 0.05 --tip 0.005

# Dry run (simulate only)
outsmart buy --dex jupiter-ultra --token MINT --amount 0.1 --dry-run

Sell Tokens

# Sell 100% of a token
outsmart sell --dex jupiter-ultra --token MINT_ADDRESS --pct 100

# Sell 50% from a specific pool
outsmart sell --dex raydium-cpmm --pool POOL_ADDRESS --pct 50

Check Price

outsmart quote --dex raydium-cpmm --pool POOL_ADDRESS

Find a Pool

outsmart find-pool --dex meteora-damm-v2 --token TOKEN_MINT

Token Info (DexScreener)

outsmart info --token MINT_ADDRESS
# Returns: name, price, mcap, volume, buyers, liquidity, age, socials

Wallet Balance

outsmart balance
outsmart balance --token MINT_ADDRESS

Add Liquidity

# DLMM concentrated bins
outsmart add-liq --dex meteora-dlmm --pool POOL --sol 0.5 --strategy spot --bins 50

# DAMM v2 full range
outsmart add-liq --dex meteora-damm-v2 --pool POOL --sol 0.5

Remove Liquidity

outsmart remove-liq --dex meteora-dlmm --pool POOL --pct 100

Claim Fees

outsmart claim-fees --dex meteora-dlmm --pool POOL

List Positions

outsmart list-pos --dex meteora-dlmm --pool POOL

Create Pool (DAMM v2)

outsmart create-pool --dex meteora-damm-v2 --token TOKEN_MINT \
  --base-amount 1000000 --quote-amount 0.5 \
  --max-fee 9900 --min-fee 200 --duration 86400 --periods 100

List All DEXes

outsmart list-dex
outsmart list-dex --cap canBuy

Picking the Right DEX

Best price, don't care which pool: jupiter-ultra — aggregates all DEXes.

Specific pool (LP, on-chain execution): Use the adapter that matches the pool's protocol.

SituationUseWhy
General tradingjupiter-ultraRoutes across everything
Meteora concentrated LPmeteora-dlmmBin-based positions
Meteora full-range LPmeteora-damm-v2Full LP lifecycle
Raydium poolsraydium-cpmm / raydium-clmm / raydium-amm-v4Match the pool type
PumpFun graduatedpumpfun-ammPumpSwap AMM pools
PumpFun bonding curvepumpfunPre-graduation
Unknown tokenCheck outsmart info --token firstKnow what you're buying

Aggregators (jupiter-ultra, dflow) need --token only. On-chain adapters need --pool, token is auto-detected.

Common Patterns

Buy safely:

outsmart info --token MINT          # check liquidity, age, volume
outsmart buy --dex jupiter-ultra --token MINT --amount 0.1 --dry-run  # simulate
outsmart buy --dex jupiter-ultra --token MINT --amount 0.1            # execute

Provide liquidity:

outsmart quote --dex meteora-dlmm --pool POOL        # current price
outsmart add-liq --dex meteora-dlmm --pool POOL --sol 0.5 --strategy spot --bins 50
outsmart list-pos --dex meteora-dlmm --pool POOL      # verify

Create DAMM v2 pool (first LP alpha):

outsmart find-pool --dex meteora-damm-v2 --token MINT   # check if exists
outsmart create-pool --dex meteora-damm-v2 --token MINT --base-amount 1000000 --quote-amount 0.5 --max-fee 9900 --min-fee 200

Exit LP:

outsmart claim-fees --dex meteora-dlmm --pool POOL
outsmart remove-liq --dex meteora-dlmm --pool POOL --pct 100

Safety

  • Always check outsmart info --token before buying anything unfamiliar
  • Use --dry-run for large trades
  • Start small: 0.01 SOL test buy on unknown tokens
  • Use jupiter-ultra for best price unless you specifically need a pool
  • Watch for wash trading: high volume + low buyer count = fake activity
  • Most memecoins go to zero. Size accordingly.

Environment

VariableRequiredDescription
PRIVATE_KEYYesBase58 Solana private key
MAINNET_ENDPOINTYesSolana RPC endpoint
JUPITER_API_KEYNoJupiter Ultra, Shield
DFLOW_API_KEYNoDFlow adapter

Config file: ~/.outsmart/config.env

18 Supported DEXes

Aggregators: jupiter-ultra, dflow Raydium: amm-v4, cpmm, clmm, launchlab Meteora: damm-v2, dlmm, damm-v1, dbc PumpFun: pumpswap amm, bonding curve Others: orca, pancakeswap-clmm, byreal-clmm, fusion-amm, futarchy-amm, futarchy-launchpad

Files

1 total
Select a file
Select a file to preview.

Comments

Loading comments…