/ave-cloud-skill:ave-trade-proxy-walletfrom ave-cloud-skill
Executes server-managed proxy-wallet DEX trades via the AVE Cloud Bot Trade API. Handles market/limit orders, TP/SL, trailing exits, wallet lifecycle, EVM approvals, delegate transfers, order history, and live WebSocket status. Requires API_PLAN=normal or pro.
Ships in ave-cloud-skill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Server-managed proxy-wallet DEX trading via the AVE Cloud Bot Trade API. This is the default AVE trading path when the user has not explicitly asked for self-custody. For shared trade-path rules and current PROD quirks, see operator-playbook.md.
Trading fee: 0.8% | Rebate to feeRecipient: 25%
| EN | ZH |
|---|---|
| "buy this token", "swap X for Y" | "买这个币", "换成X" |
| "place a limit order", "set a buy limit" | "挂限价单", "设置限价买入" |
| "set take-profit", "set stop-loss" | "设置止盈", "设置止损" |
| "auto-sell", "trailing stop" | "自动卖出", "追踪止损" |
| "use proxy wallet", "place bot order" | "用代理钱包", "下机器人订单" |
| "watch my order", "check order status" | "看我的订单", "查询订单状态" |
export AVE_API_KEY="your_api_key_here"
export AVE_SECRET_KEY="your_secret_key_here"
export API_PLAN="normal" # normal | pro
pip install -r scripts/requirements.txt
Get keys at https://cloud.ave.ai/register. Proxy Wallet API must be activated on your account.
API_PLAN | Write TPS |
|---|---|
normal | 5 |
pro | 20 |
bsc, eth, base, solana
Preview or query order state first when useful, and do not treat the initial submission acknowledgement as final execution status.
sol (not So11111111111111111111111111111111111111112) for --in-token / --out-token. The full mint address is rejected.--gas: Market and limit orders on Solana require --gas (lamports). With --use-mev, minimum is 1000000 (0.001 SOL). Or use --auto-gas high.--auto-gas average or --extra-gas (wei) for EVM chains.swap value too small.approve-token. Native coin buys do not need approval.market-order returns an order ID, not a tx hash. Always call get-swap-orders to confirm the order was filled.List, create, or delete delegate proxy wallets.
python scripts/ave_trade_rest.py list-wallets [--assets-ids id1,id2]
python scripts/ave_trade_rest.py create-wallet --name "my-wallet" [--return-mnemonic]
python scripts/ave_trade_rest.py delete-wallet --assets-ids id1 id2
Place an immediate proxy-wallet swap order.
# Solana (--gas required, --use-mev min 1000000 lamports)
python scripts/ave_trade_rest.py market-order --chain solana --assets-id <assetsId> --in-token sol --out-token <token> --in-amount 10000000 --swap-type buy --slippage 1000 --use-mev --gas 1000000
# EVM (--auto-gas or --extra-gas required)
python scripts/ave_trade_rest.py market-order --chain bsc --assets-id <assetsId> --in-token 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee --out-token <token> --in-amount 1000000000000000 --swap-type buy --slippage 1000 --auto-gas average
--auto-sell supports default TP/SL rules plus one trailing rule.
Place a limit order that waits for the target USD price.
python scripts/ave_trade_rest.py limit-order --chain <chain> --assets-id <assetsId> --in-token <token> --out-token <token> --in-amount <amount> --swap-type buy|sell --slippage 500 --limit-price <usd> [--expire-time 86400]
Get market or limit order status by ID or filter.
python scripts/ave_trade_rest.py get-swap-orders --chain <chain> --ids id1,id2
python scripts/ave_trade_rest.py get-limit-orders --chain <chain> --assets-id <assetsId> --page-size 20 --page-no 0 [--status waiting] [--token <token>]
Cancel waiting limit orders.
python scripts/ave_trade_rest.py cancel-limit-order --chain <chain> --ids id1 id2
Approve ERC-20 token spending for EVM proxy-wallet trading.
python scripts/ave_trade_rest.py approve-token --chain bsc --assets-id <assetsId> --token-address <token>
python scripts/ave_trade_rest.py get-approval --chain bsc --ids approval_id1,approval_id2
Move assets from a delegate proxy wallet.
python scripts/ave_trade_rest.py transfer --chain <chain> --assets-id <assetsId> --from-address <from> --to-address <to> --token-address <token> --amount <amount>
python scripts/ave_trade_rest.py get-transfer --chain <chain> --ids transfer_id1
Stream live proxy-wallet order updates; use REST order queries as the source of truth for final status.
python scripts/ave_trade_wss.py watch-orders
Buy a token, confirm, then sell back.
# 1. Buy (sol -> token)
python scripts/ave_trade_rest.py market-order --chain solana --assets-id <assetsId> --in-token sol --out-token <token> --in-amount 10000000 --swap-type buy --slippage 1000 --use-mev --gas 1000000
# 2. Confirm buy
python scripts/ave_trade_rest.py get-swap-orders --chain solana --ids <order_id>
# 3. Sell (use full token address for in-token, sol for out-token)
python scripts/ave_trade_rest.py market-order --chain solana --assets-id <assetsId> --in-token <token_address> --out-token sol --in-amount <received_amount> --swap-type sell --slippage 1000 --use-mev --gas 1000000
Buy a token, approve for selling, then sell. Approval is one-time per token.
# 1. Buy (native coin -> token)
python scripts/ave_trade_rest.py market-order --chain bsc --assets-id <assetsId> --in-token 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee --out-token <token> --in-amount 1000000000000000 --swap-type buy --slippage 1000 --auto-gas average
# 2. Approve token for selling (one-time)
python scripts/ave_trade_rest.py approve-token --chain bsc --assets-id <assetsId> --token-address <token>
# 3. Sell (token -> native coin)
python scripts/ave_trade_rest.py market-order --chain bsc --assets-id <assetsId> --in-token <token> --out-token 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee --in-amount <received_amount> --swap-type sell --slippage 1000 --auto-gas average
Use shared references for current PROD quirks, test caps, token conventions, error wording, response shape, and fuller trade API details.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/ave-wallet-suiteRoute broad wallet, market-data, and trading requests across the AVE skill suite.
Use this skill when the user asks for an AVE wallet/trading/data task but the correct sub-skill
is not yet obvious, or when the assistant should guide the user through the full workflow.
If the user mentions private keys, mnemonics, local signing, or self-custody, route DIRECTLY
to ave-trade-chain-wallet — do not use this router skill.
This skill decides between:
- ave-data-rest for snapshot market and token data
- ave-data-wss for live data streams
- ave-trade-chain-wallet for self-custody trading
- ave-trade-proxy-wallet for server-managed proxy-wallet trading
/ave-data-restQuery on-chain crypto data via the AVE Cloud Data REST API (https://cloud.ave.ai/).
Use this skill whenever the user wants to:
- Search for tokens by name, symbol, or contract address
- Get token price, market cap, TVL, volume, or price change data
- View kline/candlestick (OHLCV) chart data for a token or trading pair
- Check top 100 token holders and their distribution
- Browse recent swap transactions for a trading pair
- View trending tokens on a specific chain
- View ranked tokens by topic (hot, meme, gainer, loser, new, AI, DePIN, GameFi, etc.)
- Run a contract security/risk detection report (honeypot, buy/sell tax, ownership)
- Get wallet swap history, token PnL, and holdings
- Get wallet overview and smart wallet discovery
- Get public trading signals
- Get liquidity transactions and transaction details for a pair
- Get trading pair detail
- Get Ondo-mapped kline data
- Batch search token details by address-chain list
- List supported chain identifiers
- Get main/native tokens for a chain
- Get tokens from a specific launchpad or platform (pump.fun, fourmeme, bonk, nadfun)
DO NOT use this skill for:
- Real-time streaming or WebSocket subscriptions → use ave-data-wss instead
- Executing trades or swaps → use ave-trade-chain-wallet or ave-trade-proxy-wallet instead
/ave-data-wssStream real-time on-chain data via the AVE Cloud WebSocket API (wss://wss.ave-api.xyz).
Use this skill whenever the user wants to:
- Stream live swap or liquidity events for a trading pair in real time
- Monitor live kline/candlestick updates for a trading pair
- Subscribe to live price change notifications for one or more tokens
- Run an interactive WebSocket REPL to manage subscriptions live
- Start or stop the Ave Cloud server daemon (Docker-based persistent connection)
Requires API_PLAN=pro for all WebSocket streams.
DO NOT use this skill for:
- REST data queries (token search, price, kline history, holders, etc.) → use ave-data-rest instead
- Executing trades or swaps → use ave-trade-chain-wallet or ave-trade-proxy-wallet instead
/ave-trade-chain-walletExecute self-custody DEX trades via the AVE Cloud Chain Wallet Trading API (https://bot-api.ave.ai).
Use this skill whenever the user wants to:
- Get a swap quote (estimated output amount) for a token pair
- Build an unsigned EVM transaction for a swap (BSC, ETH, Base)
- Build an unsigned Solana transaction for a swap
- Sign and send an EVM swap transaction using a local private key or mnemonic
- Sign and send a Solana swap transaction using a local private key or mnemonic
- Submit a pre-signed EVM or Solana transaction (external signer workflow)
- Execute a self-custody DEX trade where the user controls their own private keys
- Perform a one-step swap (create + sign + send) on EVM or Solana chains
Available on all plan tiers (free, normal, pro). User private keys never leave the local machine.
DO NOT use this skill for:
- Generic buy/sell/swap/limit order requests without explicit self-custody language → use ave-trade-proxy-wallet instead
- Server-managed (proxy) wallet trading → use ave-trade-proxy-wallet instead
- On-chain data queries → use ave-data-rest instead
- Real-time streams → use ave-data-wss instead
npx claudepluginhub avecloud/ave-cloud-skill --plugin ave-cloud-skillOther plugins' skills for the same job