VSCode extension to display real-time Binance account balance in the status bar.
- 🔄 Real-time balance updates in VSCode status bar
- 💰 Support for multiple display currencies (USDT, BTC, ETH, BNB)
- ⚙️ Configurable refresh intervals
- 📊 Detailed balance view for all assets
- 🔒 Secure API key storage
- Open VSCode
- Go to Extensions (Ctrl+Shift+X)
- Search for "Binance Balance Monitor"
- Click Install
If the "Binance Balance Monitor" output channel is not appearing in VS Code's Output panel:
-
Check Extension Installation
code --list-extensions | grep binance -
Common Issue: node-fetch dependency
- The extension originally used
node-fetchwhich can cause loading issues in VS Code - Fixed in v1.0.2: Replaced with
axiosfor better compatibility
- The extension originally used
-
Reinstallation Steps
# Uninstall current version code --uninstall-extension binance-balance.binance-balance-vscode # Recompile and package (in extension directory) npm install npm run compile npx vsce package --out binance-balance-vscode-1.0.0.vsix # Install updated version code --install-extension binance-balance-vscode-1.0.0.vsix
-
Reload VS Code
- Command Palette → "Developer: Reload Window"
- Or completely restart VS Code
-
Verify Extension Activation
- Extension activates on
onStartupFinished - Check Output panel → "Binance Balance Monitor" should appear
- Look for "Extension activated!" message
- Extension activates on
VS Code extensions require dependencies to be bundled. The extension now uses webpack to bundle all dependencies including axios into a single file.
-
Get your Binance API credentials:
- Log in to Binance
- Go to API Management
- Create a new API key
- Important: Only enable "Enable Reading" permission for security
-
Configure the extension:
- Open Command Palette (Ctrl+Shift+P)
- Run "Binance: Configure Binance API"
- Enter your API Key and Secret
Binance: Configure Binance API- Set up API credentialsBinance: Refresh Binance Balance- Manually refresh balanceBinance: Show Detailed Balances- View all asset balances
binanceBalance.apiKey- Your Binance API keybinanceBalance.apiSecret- Your Binance API secretbinanceBalance.refreshInterval- Refresh interval in milliseconds (default: 10000)binanceBalance.displayCurrency- Currency to display balance in (USDT, BTC, ETH, BNB)
- API credentials are stored securely in VSCode settings
- Only "Enable Reading" permission is required
- No trading permissions needed
The extension displays your balance in the VSCode status bar with these states:
- 💰 $1,234.56 - Current balance
- 🔄 Loading... - Fetching balance
⚠️ Configure API - API not configured- ❌ Error - API error occurred
Click on the status bar item to manually refresh the balance.
- VSCode 1.74.0 or higher
- Binance account with API access
- Internet connection
Want to contribute or build the extension yourself? Check out our development guides:
- DEVELOPMENT.md - Building, testing, publishing, and CI/CD
- ARCHITECTURE.md - System architecture and components
- CONTRIBUTING.md - Contribution guidelines
Quick start:
pnpm install
pnpm run devMIT
This extension is not affiliated with Binance. Use at your own risk. Always ensure you're using read-only API keys with minimal permissions.