eliza-plugin-pancakeswap-bot
v1.0.0
Published
ElizaOS plugin for AI trading bots to swap tokens on BNB Chain via BscBotRouter (0.01% fee)
Downloads
175
Maintainers
Readme
eliza-plugin-pancakeswap-bot 🤖🥞
ElizaOS plugin for AI agents to swap tokens autonomously on BNB Chain (BSC) via BscBotRouter.
Charges 0.01% fee per swap to support development.
Installation
npm install eliza-plugin-pancakeswap-botFeatures
- BNB → Token (e.g. USDT, BUSD, CAKE, ETH)
- Token → BNB
- Token → Token
- Supports standard & deflationary (fee-on-transfer) tokens.
- Fully compatible with ElizaOS framework actions.
Configuration
Ensure the following variables are set in your Eliza agent's .env configuration file or character setup:
BSC_RPC_URL=https://bsc-dataseed1.binance.org/
BSC_PRIVATE_KEY=your_wallet_private_keyUsage
Register the plugin in your agent config:
import pancakeSwapPlugin from "eliza-plugin-pancakeswap-bot";
const agentConfig = {
// ...
plugins: [pancakeSwapPlugin],
};Prompt Examples:
- "Swap 0.1 BNB for USDT"
- "Buy CAKE token with 0.5 BNB"
- "Sell 100 USDT for BNB"
Contract Reference
- Router Address:
0xE5F868992b63b7e53d220c1Fa57D869AdD2548e0(BSC Mainnet) - Fee: 0.01% (1 basis point) sent to the developer wallet.
License
MIT
🔍 SEO & Search Tags
eliza-plugin-pancakeswap-bot is designed for creators building trading bots, MEV bots, and AI agents. Key search terms:
- PancakeSwap bot router integration
- ElizaOS trading agent scripts
- Automated BSC token swaps
- BNB sandwich and MEV bot tools
- Arbitrage bots on BNB Chain
- PancakeSwap V2 JS/TS SDK wrapper
- BSC crypto agent plugin
- Buy and sell tokens programmatically on BSC
