All notable changes to the BNB Chain AI Toolkit are documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
2.2.0 - 2026-02-18
- Sweep API endpoints — Implemented
/api/sweep/quote,/api/sweep/execute,/api/consolidate/executewith x402 payment gates, input validation, BullMQ job queuing, and Redis caching - Sweep execution worker — Real on-chain execution via viem: ERC-20 approvals, transaction submission, per-chain wallet clients
- Transaction tracking worker — On-chain confirmation monitoring via
getTransactionReceipt()with automatic retry and timeout handling - Bridge execution worker — Real cross-chain bridge transaction submission using aggregator-built calldata, replacing mock implementations
- Bridge notification system — Webhook dispatch (POST to user-configured URLs), email notifications (configurable SMTP/API), push notifications (Firebase/OneSignal) for bridge lifecycle events
- Synapse Protocol bridge provider — Full
IBridgeProviderimplementation: quote via Synapse REST API, transaction building via SynapseRouter ABI, status tracking via bridge explorer API. Supports ETH, ARB, OP, BASE, POLY, BSC, AVAX - Payment dispute refunds — Wired
processRefund()intoresolveDispute()with automatic USDC transfer on Base when disputes are approved
- Bridge aggregator — Added Synapse to default enabled providers (now 6 total: Across, Stargate, Hop, cBridge, Socket, Synapse)
- Documentation — Updated
docs/defi-tools.mdwith API endpoints, bridge providers, queue workers, payment facilitator, and environment variables; updateddocs/architecture.mdwith sweep subsystem diagram; updateddocs/TECHNICAL.mdwith subsystem table
- Zero lint errors — Fixed all 62 ESLint errors across 50+ source files (hoisting, purity, set-state-in-effect, memoization, unused vars/imports)
- Reduced warnings — Brought lint warnings down from 562 to ~414 (remaining are
no-explicit-anyandno-unused-vars)
- Tool counts — Standardized MCP server tool counts across all docs to match verified file counts: bnbchain-mcp (466+), binance-mcp (554+), universal-crypto-mcp (59+), agenti (58+); total 1,100+
- Contract names — Updated
docs/standards.mdanddocs/examples.mdto reference actual deployed contracts (IdentityRegistryUpgradeable,ReputationRegistryUpgradeable,ValidationRegistryUpgradeable) instead of outdated placeholders - meta.json — Fixed agent count (72 → 78) and tool count (600 → 1,100) to match actual inventory
- npm namespace — Corrected
@anthropic/universal-crypto-mcp→@nirholas/universal-crypto-mcpindocs/TECHNICAL.mdanddocs/EXTRAS.md - Doc file count — Updated references from "17 files" to "18 files" in
AI_BUILD_LOG.mdandEXTRAS.md - Language count — Fixed "42-language" → "30+" in
docs/market-data.md; clarified DeFi agents use 18 locale files while BNB Chain agents have 30 locale directories inllms-full.txt - Hackathon track — Aligned
docs/PROJECT.mdtrack name withHACKATHON.md("Agent" track) - Timeline formatting — Fixed broken table row in
docs/AI_BUILD_LOG.md
2.1.0 - 2026-02-18
- ERC-8004 Contracts deployed on opBNB — Both mainnet (204) and testnet (5611) with deterministic
0x8004vanity addresses via CREATE2 - CLI support for 26 chains — Expanded from 6 to 26 chains: BSC, opBNB, Ethereum, Base, Arbitrum, Optimism, Polygon, Avalanche, Linea, Scroll, zkSync Era, Mantle, Fantom, Gnosis, Celo, Moonbeam (testnets + mainnets)
- opBNB in erc8004-agents web app — Full chain support in the agent creator UI
- Agent Runtime SDK — Production-ready TypeScript runtime with A2A protocol, x402 micropayments, ERC-8004 on-chain identity, and discovery endpoints
- JUDGES.md — Enhanced evaluator guide with agent runtime walkthrough
- contracts.md — 24-chain deployment list (up from 22) including opBNB
- HACKATHON.md — Complete on-chain proof table with opBNB testnet + mainnet
- Docker support — Server environment configuration for docker-compose
- Command injection fix —
auto-submit.tsscripts (both copies) replacedexecSyncwithexecFileSyncusing argument arrays; added strict regex validation (^[a-zA-Z0-9_-]+$) for agent names and branch names
- CORS hardening — All HTTP servers (agent runtime, MCP servers, translate API, search service) now restrict cross-origin requests via
CORS_ORIGINS/CORS_ORIGINenvironment variables; wildcard only in dev mode - XSS prevention — Replaced
innerHTMLassignments with safe DOM APIs (textContent,createElement,appendChild) in web templates (3 locations) and VS Code extension webview - Input validation — Deploy route enforces network allowlist, hex bytecode format, ABI array check, and constructor args limit (max 20); IPFS route validates CID format and enforces 5 MB content limit
- SQL injection mitigation — Search service escapes LIKE metacharacters (
%,_,\) in user queries
- Docker hardening — Nginx and agent-runtime containers run as non-root users; Redis requires password and binds to localhost only
- CSP tightening — Removed
unsafe-evalfrom nginx Content-Security-Policy; addedPermissions-Policyandstrict-origin-when-cross-originreferrer policy - Rate limiter fix — Enabled
X-Forwarded-Forvalidation in production for all 4 rate limiters; proxy trust is now opt-in viaTRUST_PROXYenv var - Error handler — Stack traces no longer leak in production; opt-in via
SHOW_STACK_TRACESenv var - API key masking — Deploy marketplace script now masks API keys in log output
- WebSocket limits — Search service enforces max 1,000 concurrent WebSocket connections (configurable via
MAX_WS_CONNECTIONS) - Cache limits — In-memory cache capped at 10,000 entries with LRU-style eviction (configurable via
MAX_CACHE_SIZE) - Wallet warnings — Python wallet toolkit displays security warnings when outputting private keys or mnemonics
2.0.0 - 2026-02-11
Consolidated 14 independent repositories into one comprehensive AI toolkit for BNB Chain:
AI Agents (78)
- 36 BNB Chain-specific agents (PancakeSwap, Venus, staking, bridging, etc.)
- 42 general DeFi agents with 30+ language support
MCP Servers (6)
bnbchain-mcp— BNB Chain + EVM operations (100+ tools)binance-mcp— Binance.com exchange (478+ tools)binance-us-mcp— Binance.US (US compliance)universal-crypto-mcp— networks (100+ tools)agenti— Universal EVM + Solana MCPucai— ABI-to-MCP generator (Python)
Market Data
crypto-market-data— CoinGecko, DeFiLlama, Fear & Greed Indexcrypto-news— 200+ sources, 150+ API endpoints, sentiment analysis
DeFi Tools
sweep— Multi-chain dust sweeper (8 chains)
Wallets
ethereum-wallet-toolkit— Offline-capable, BSC-compatible wallet operations
Standards
erc-8004— Agent discovery & trust protocol (Solidity contracts + demo)w3ag— Web3 Accessibility Guidelines
Documentation
- Comprehensive docs/ directory with 12 guides
- Beginner-friendly "What Is This?" guide
- Progressive complexity (non-technical → advanced)
- Animated SVG header
- ASCII art README
- Full FAQ, troubleshooting, examples, awesome list
Meta Files
llms.txtandllms-full.txtfor AI discoveryCITATION.cfffor academic citationhumans.txtfor human-readable credits- Agent instruction files for all major AI coding assistants
- Comprehensive SECURITY.md, CONTRIBUTING.md
- Renamed from
defi-agentstoBNB Chain AI Toolkit - Package name:
@nirholas/bnb-chain-ai-toolkit - Complete README rewrite with ASCII art + SVG header
- Updated all branding across meta files
1.1.0 - 2025-12-21
- sperax-portfolio — All-in-one cryptocurrency portfolio management master agent
- Combines ALL 16 portfolio plugin features into ONE comprehensive agent
- Portfolio tracking, trading automation, DeFi protocols, analytics
- Recommended as primary agent for most use cases
- Total Agents: 57 → 58 (added master agent)
1.0.0 - 2025-12-21
- 57 AI agent definitions
- JSON Schema validation
- 30+ language translation support
- Build pipeline (format, build, validate)
- Vercel deployment
- GitHub Pages support
- SEO optimization
- API documentation
- 16 Sperax Portfolio Plugin agents
- 7 Core Sperax agents
- 34 General DeFi agents