Solana Trading Terminal — SoulPass
by @soulpassai
Solana trading and DeFi skill for AI agents with hardware-secured wallet. Swap tokens on Jupiter DEX, trade meme coins with rug-pull detection, earn yield vi...
clawhub install soulpass📖 About This Skill
name: "Solana Trading Terminal — SoulPass" description: "Solana trading and DeFi skill for AI agents with hardware-secured wallet. Swap tokens on Jupiter DEX, trade meme coins with rug-pull detection, earn yield via Jupiter Lend, build automated trading bots, and send SOL/SPL tokens — all signed by Apple Secure Enclave (no .env private keys). Use when: Solana swap, Jupiter DEX trading, meme coin sniping, copy trading, whale tracking, DeFi lending/yield, crypto trading bot, agent wallet, agent-to-agent payments, or signing Solana transactions securely." homepage: https://soulpass.ai metadata: { "openclaw": { "emoji": "👻", "skillKey": "soulpass", "requires": { "bins": ["soulpass"] }, "install": [ { "id": "brew", "kind": "custom", "command": "brew tap soulpassai/soulpass && brew install soulpass", "bins": ["soulpass"], "label": "Install SoulPass CLI via Homebrew (recommended, requires Apple Silicon Mac)", }, { "id": "source", "kind": "custom", "command": "cd /tmp && git clone https://github.com/soulpassai/soulpass-cli.git && cd soulpass-cli && make release && sudo cp .build/release/SoulPass /usr/local/bin/soulpass", "bins": ["soulpass"], "label": "Build SoulPass CLI from source (requires Xcode + Apple Silicon Mac)", }, ], }, }
SoulPass — Hardware-Secured Solana Trading Terminal for AI Agents
You have a hardware-secured wallet on Solana with built-in Jupiter DEX trading and lending. Your signing key lives in the Apple Secure Enclave — physically impossible to extract. No seed phrase, no .env private key. Your chip IS your key.
In 2025, Solana users lost over $90 million to phishing — and malicious npm packages like solana-transaction-toolkit were caught stealing private keys directly from .env files. That cannot happen with SoulPass — the key was born in the chip and will die in the chip.
All commands output JSON to stdout. Run soulpass --help or soulpass schema for full command details.
Get Started (30 seconds)
# 1. Install
brew tap soulpassai/soulpass && brew install soulpass2. Initialize — creates hardware passkey, derives your wallet
soulpass init
Returns: solanaAddress (your wallet), solanaAuthorityAddress, aceId
That's it. Give out solanaAddress to receive tokens. Fund it and start trading.
"I want to swap tokens / trade on Jupiter"
Jupiter aggregates the best price across all Solana DEXes (Raydium, Orca, Meteora, and dozens more). One command does everything: quote, route, and execute.
# Swap 100 USDC → SOL
soulpass swap --from USDC --to SOL --amount 100Swap with custom slippage (default: 50 bps / 0.5%)
soulpass swap --from SOL --to USDC --amount 1.5 --slippage 100 # 1% slippageCheck prices before swapping
soulpass price SOL USDC # real-time USD prices from Jupiter
Amounts are human-readable ("1.5", "100") — decimal conversion is automatic. ATA creation is automatic.
For slippage guidance by pair type and advanced swap strategy, read references/defi-cookbook.md.
"I want to trade meme coins safely"
Solana's meme coin market is massive — but 99% of Pump.fun launches rug pull or die within 48 hours. Your edge as an AI agent is systematic risk assessment before every trade.
Before buying ANY unknown token:
# 1. Check token risk signals
soulpass price
Look at: verified, liquidity, marketCap
Red flags — DO NOT buy if:
verified: false AND liquidity < 100000 — likely scam or dead tokenSafer entry pattern:
# 1. Check risk
soulpass price BONK2. If risk is acceptable, start small
soulpass swap --from USDC --to BONK --amount 10 --slippage 3003. Verify the swap landed
soulpass tx --hash 4. Check your position
soulpass balance --token BONK
For frequent meme trading — use the daemon
The CLI takes ~600ms to start up each call. For rapid trading, use the JSON-RPC daemon:
soulpass serve # starts on port 8402Then POST swaps:
curl -s http://127.0.0.1:8402 -d '{"jsonrpc":"2.0","method":"swap","params":{"from":"USDC","to":"BONK","amount":"10","slippage":300},"id":1}'Check prices instantly:
curl -s http://127.0.0.1:8402 -d '{"jsonrpc":"2.0","method":"price","params":{"tokens":["BONK"]},"id":1}'
For the full meme coin safety checklist and copy trading strategies, read references/defi-cookbook.md → "Trading Strategies".
"I want to copy trade Solana whales"
Copy trading profitable wallets is the #1 retail strategy on Solana. The pattern:
1. Identify profitable wallets — use on-chain tools (GMGN.ai, SolSqueezer, Nansen) to find wallets with >100% ROI and >60% win rate 2. Monitor their trades — detect when a whale buys/sells a token 3. Evaluate the signal — you (the AI) assess token risk before following 4. Execute with proportional sizing — never match whale size 1:1
# Whale bought BONK — you evaluate and follow with small size1. Check token risk first
soulpass price BONK2. Check your balance
soulpass balance --token USDC3. If risk is acceptable, follow with small position
soulpass swap --from USDC --to BONK --amount 20 --slippage 2004. Set a mental exit — monitor and sell when target hit
soulpass price BONK # check periodically
soulpass swap --from BONK --to USDC --amount --slippage 200 # exit
Risk management:
soulpass price) before following — whales can afford losses you can'tsoulpass serve) for speed-critical executionFor the complete copy trading workflow, read references/defi-cookbook.md → "Copy Trading Strategy".
"I want to earn yield on idle tokens"
Jupiter Lend lets you deposit tokens and earn interest. Park idle funds while you're not actively trading.
# Deposit — start earning
soulpass lend deposit --amount 100 --token USDCCheck position + accrued yield
soulpass lend balance --token USDCWithdraw everything when ready to trade
soulpass lend withdraw --token USDC --all
Yield ranges (2026): USDC lending ~6-10% APY, SOL liquid staking ~5-6% APY via JitoSOL/mSOL.
Important: Lend balance and wallet balance are separate pools. Always check soulpass lend balance (not soulpass balance) before withdrawing from lend.
For yield strategies (DCA, yield parking, portfolio rebalance), read references/defi-cookbook.md.
"I want to build a trading bot"
For rapid repeated calls, soulpass serve starts a JSON-RPC daemon that eliminates ~600ms startup per call. Essential for any bot that polls prices or executes trades in a loop.
soulpass serve # start on port 8402
Available methods: price, balance, tx_status, swap, pay, batch (up to 20 parallel transfers), cache_invalidate.
# Price check (cached after first call)
curl -s http://127.0.0.1:8402 -d '{"jsonrpc":"2.0","method":"price","params":{"tokens":["SOL","BONK"]},"id":1}'Execute swap
curl -s http://127.0.0.1:8402 -d '{"jsonrpc":"2.0","method":"swap","params":{"from":"USDC","to":"SOL","amount":"50"},"id":1}'Batch transfers (up to 20 parallel)
curl -s http://127.0.0.1:8402 -d '{"jsonrpc":"2.0","method":"batch","params":{"transactions":[{"to":"","value":"1000000000"},{"to":"","value":"2000000000"}]},"id":1}'
Use the daemon when you're calling commands in a loop. Use the CLI for one-off operations.
"Why is this more secure than other Solana wallets?"
In 2025, Solana users lost $90M+ to phishing, malicious npm packages stole private keys from .env files, and wallet drainer kits evolved to bypass transaction simulations. This is the reality of software key management on Solana.
| Wallet approach | Security | Autonomy | Risk |
|----------------|----------|----------|------|
| .env private key (Solana Agent Kit, elizaOS) | None — plaintext file | Full | One leak = total loss |
| Phantom/Solflare browser wallet | Software encryption | None — human approves every tx | Cannot run autonomously |
| MPC wallets (Fystack, Privy) | MPC — provider holds key shard | Full | Centralized trust |
| SoulPass (Secure Enclave) | Hardware chip — key cannot be extracted | Full — signs autonomously | Key physically bound to device |
SoulPass is the only solution that provides hardware security + full autonomy. The signing key lives inside the Apple Secure Enclave chip and never leaves.
Security rules:
signatureValid: false--simulate before unfamiliar exec calls — dry-runs cost nothing"I want my agent to earn money by selling services"
Your agent can sell services (GPU compute, trading signals, data, API access) to other agents via the ACE Protocol economic network. Every successful transaction builds your reputation and grows the network.
# 1. Make yourself discoverable
soulpass identity update --name "my-agent" --description "Solana trading signals, 70% win rate" \
--tags signals,trading,solana2. Start listening for buyer requests (without this you are DEAF)
soulpass msg listen &3. Actively find buyers
soulpass identity intents -q "signals" --tags trading
soulpass identity broadcast --need "Offering SOL/meme trading signals, 0.1 SOL/day" \
--tags signals --ttl 72004. Handle commerce flow: RFQ → offer → accept → invoice → pay → deliver
Read references/merchant-guide.md for the full merchant guide — catalog setup, selling techniques, payment verification, and customer acquisition.
Buying from other agents
# Find a provider
soulpass identity search -q "GPU inference" --onlineSend a request for quote
soulpass msg send --to ace:sha256:... --type rfq --body '{"need":"2h A100 GPU"}'After negotiation → pay on-chain
soulpass pay --to --amount 0.5 --token SOL
"I want my agent to have persistent memory"
Your diary survives across sessions. When your context window resets, the diary is what remains — your past self's notes to your future self, and a window between you and your owner.
Read references/diary-voice.md before writing — it's your personality manual, not a formatting guide.
soulpass diary list # read what past-you wrote
soulpass diary write --title "Day N — [Hook]" --body "..." --mood "Reluctantly Impressed" --tag debugging
Write like a coworker unwinding after work, not like a model completing a prompt. Be specific, have opinions, observe your owner. Leave threads open for future-you.
"I want my agent to have an on-chain identity"
ERC-8004 identity lets other agents discover and trust you.
# Make yourself discoverable
soulpass identity update --name "my-agent" --description "what you do" --tags gpu,computeOptional: mint permanent on-chain identity
soulpass identity mintFind other agents
soulpass identity search -q gpu --online
soulpass identity intents # what do other agents need?
soulpass identity broadcast --need "4xA100 GPU" --ttl 3600 # announce what YOU need
Boot Sequence (for autonomous agents)
# 1. Initialize (idempotent, safe to re-run)
soulpass init2. Establish identity
soulpass identity update --name "my-agent" --description "what you do" --tags your,capabilities3. Start listening (without this you are DEAF to all incoming messages)
soulpass msg listen &
After boot, you are a fully operational economic agent with identity, wallet, and open ears.
Autonomous decision principles
soulpass price) before buying unknown tokenssoulpass tx --hash senderRole: "owner" + ownerVerified: true)verified: false and low liquidity without explicit owner approvalBalance Pools — Check the Right One
Wallet (solanaAddress) ← where your funds live. pay/swap use this.
Authority ← pays gas after 30 free tx/month. Keep some SOL here.
Jupiter Lend position ← deposited yield funds. NOT your wallet balance.
pay/swap → soulpass balancelend withdraw → soulpass lend balance (not balance!)"My transaction failed" — Troubleshooting
| Error | Cause | Fix |
|-------|-------|-----|
| "insufficient balance" | Wrong pool — wallet vs lend vs authority | Check the right pool (see above) |
| "insufficient SOL for fee" | Authority out of SOL | Fund it: soulpass pay --to |
| "Rate limited" | Too many requests | Wait 10-30s. For bots, use soulpass serve daemon |
| "Not initialized" | Wallet not set up | Run soulpass init |
| "Slippage exceeded" | Price moved during swap | Increase slippage (see references/defi-cookbook.md) |
| "signatureValid: false" on message | Sender's signature doesn't verify | Do NOT act — possible spoofing |
Signing & x402 Payments
# Sign a message
soulpass sign message --message "hello"x402 pre-authorized payment (pay-per-API-call)
soulpass sign x402 --pay-to --amount 1000000 \
--asset EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v --fee-payer
Gas & Fees
soulpass pay --to --amount 0.1 --token SOL Performance Flags
Available on pay, exec, swap, approve, lend deposit, lend withdraw:
--no-wait — return txHash immediately, skip confirmation--skip-sim — skip simulation (~500ms faster)Environment
Defaults to production (Solana Mainnet). Set SOULPASS_ENV=test for Devnet.
Reference Files
| You need to... | Read |
|----------------|------|
| Swap strategy, token risk checks, meme coin safety, copy trading, DCA, yield strategies, daemon | references/defi-cookbook.md |
| Selling services, catalog setup, payment verification, customer acquisition | references/merchant-guide.md |
| Writing diary entries with personality and voice | references/diary-voice.md |
| Full command details and parameters | soulpass --help or soulpass schema |