Bitget Wallet CLI

April 16, 2026 · View on GitHub

On-chain data at your fingertips. Query token prices, market analysis, smart money tracking, RWA stocks, swap quotes, and more from your terminal.

Prerequisites

  • Python 3.11+
  • pip (comes with Python)

Install

pip install git+https://github.com/bitget-wallet-ai-lab/bitget-wallet-cli.git

Or clone and install locally:

git clone https://github.com/bitget-wallet-ai-lab/bitget-wallet-cli.git
cd bitget-wallet-cli
pip install -e .

Verify installation:

bgw --version

Usage

# Token price
bgw price sol                          # SOL native token
bgw price eth 0x6982...               # PEPE on Ethereum

# Detailed info + market data
bgw info eth 0x6982...
bgw market eth 0x6982...              # Price, MC, FDV, liquidity, narratives

# Search tokens
bgw search PEPE --chain eth
bgw search-v2 PEPE                    # Broader DEX search

# Rankings
bgw top topGainers -n 10
bgw top topLosers -n 10

# Security audit
bgw audit eth 0x6982...

# Developer rug check
bgw dev sol <contract>

# Launchpad scanning
bgw launchpad --chain sol --mc-min 10000

# K-line data
bgw kline eth 0x6982... -p 1h -n 24
bgw smart-kline eth 0x6982...         # With KOL/smart money overlays

# Trading analysis
bgw dynamics eth 0x6982...            # Buy/sell pressure
bgw txlist eth 0x6982... --size 20    # Recent transactions
bgw holders eth 0x6982...             # Top holders

# Profit analysis
bgw profit eth 0x6982...
bgw top-profit eth 0x6982...

# Smart money
bgw smart-money --period 7d -n 10
bgw smart-money --group 1 --chain sol  # Smart money on Solana

# RWA stocks
bgw rwa-list --chain bnb
bgw rwa-info NVDAon
bgw rwa-price NVDAon --chain bnb --side buy \
  --coin-contract 0x55d398... --address 0xYour
bgw rwa-kline NVDAon --period 1d
bgw rwa-holdings 0xYourAddress

# Swap quote
bgw quote --from-address 0xYour --from-chain eth --from-symbol ETH \
  --from-contract "" --from-amount 0.01 \
  --to-symbol USDT --to-contract 0xdAC17F...

# Cross-chain swap
bgw quote --from-address 0xYour --from-chain eth --from-symbol ETH \
  --from-contract "" --from-amount 0.1 \
  --to-chain bnb --to-symbol USDT --to-contract 0x55d398... \
  --tab-type bridge

# Token list & risk check
bgw token-list sol
bgw check-token eth 0x6982... --symbol PEPE

# Balance
bgw balance eth 0xd8dA6BF269...
bgw balance sol 75k14Ug2UC67...

# Transfer
bgw transfer-make --chain eth --contract 0xdAC17F958D2ee523a2206206994597C13D831ec7 \
  --from-address 0xYour --to-address 0xRecipient --amount 100
bgw transfer-make --chain base --contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 \
  --from-address 0xYour --to-address 0xRecipient --amount 50 --gasless
bgw transfer-submit --order-id <orderId> --sig <signedTx>
bgw transfer-status --order-id <orderId>

# Raw JSON output (pipe-friendly)
bgw --json price sol
bgw --json top topGainers | jq '.[0]'

Supported Chains

eth · sol · bnb · base · arbitrum · trx · ton · suinet · optimism · matic · morph

Use empty contract (or omit) for native tokens (ETH, SOL, BNB, etc.).

Commands (39)

Market Data

CommandDescription
bgw priceQuick price lookup
bgw infoDetailed token info (price, market cap, holders, links)
bgw marketMarket info + narratives + pool list
bgw searchv3 token search with ordering
bgw search-v2v2 broader search (DEX tokens)
bgw devDeveloper history and rug rate
bgw topRankings (topGainers, topLosers, Hotpicks)
bgw auditSecurity audit (honeypot, permissions, tax)
bgw klineK-line / candlestick data
bgw smart-klineK-line with smart money/KOL overlays
bgw txTransaction volume and trader stats
bgw batch-txBatch transaction stats
bgw dynamicsTrading dynamics across time windows
bgw txlistTransaction list with tag filtering
bgw holdersHolder distribution and top holders
bgw profitProfit address analysis
bgw top-profitTop profitable addresses
bgw lpLiquidity pool info
bgw launchpadLaunchpad scanning with filters
bgw historyHistorical tokens by creation time
bgw batch-priceBatch price lookup

Smart Money

CommandDescription
bgw smart-moneyKOL/smart money address ranking with filters

RWA Stock Trading

CommandDescription
bgw rwa-listAvailable RWA stocks
bgw rwa-configTrading config
bgw rwa-infoStock info and market status
bgw rwa-pricePre-trade buy/sell price
bgw rwa-klineStock K-line charts
bgw rwa-holdingsUser's RWA portfolio

Swap

CommandDescription
bgw quoteMulti-market swap quotes
bgw confirmConfirm with chosen market
bgw make-orderCreate order (unsigned txs)
bgw send-orderSubmit signed transactions
bgw order-detailsTrack order status
bgw check-tokenPre-trade risk check
bgw token-listPopular tokens per chain

Token Transfer

CommandDescription
bgw transfer-makeCreate transfer order (unsigned tx data, supports gasless)
bgw transfer-submitSubmit signed transfer transaction
bgw transfer-statusPoll transfer order status

Balance

CommandDescription
bgw balanceWallet token balances with USD values

⚠️ Amounts are human-readable — use --amount 100 for 100 USDT, NOT wei/lamports.

Environment Variables

VariableDefaultDescription
BGW_WALLET_ID(empty)Wallet ID for Social Login Wallet users (optional)

No API key required — uses SHA256 hash signing (BKHmacAuth).

Security

  • Only communicates with https://copenapi.bgwapi.io — no other external endpoints
  • No API keys or secrets — SHA256 hash signing with zero credentials
  • No eval() / exec() or dynamic code execution
  • No file system access outside the project directory
  • No data collection, telemetry, or analytics
  • No access to sensitive files (SSH keys, credentials, wallet files, etc.)
  • Dependencies: requests only
  • SlowMist security review: 🟢 LOW risk
  • We recommend auditing the source yourself before installation

License

MIT