A demonstration-grade trading bot and real-time dashboard focused on Binance Smart Chain (BSC) token monitoring, research, and paper trading. This repository is intended for demos, experimentation, and learning — paper trading is the default and real trading requires explicit configuration and code review.
Table of contents
- Features
- Requirements
- Quick start (Windows PowerShell)
- Configuration & environment
- Development scripts
- Project layout
- Architecture notes
- Troubleshooting
- Contributing
- License & next steps
- Real-time token scanning (DexScreener integration)
- Paper trading engine with simulated P&L and adjustable starting capital
- Modular trading services (paper and real trading engines are isolated)
- WebSocket-backed dashboard for live telemetry and controls
- Demo-ready flows and UI for livestream presentation
- Node.js 18+ (LTS recommended)
- npm (or pnpm)
- Internet access for market data APIs (DexScreener, optional CoinGecko)
-
Clone the repository and open PowerShell in the project root.
-
Install dependencies:
npm install- Start the development server and dashboard:
npm run start:dev-
Open http://localhost:3000 in your browser.
-
Use the dashboard "START BOT" button to begin paper trading (safe default).
- Primary runtime options live in
src/config.ts. - Use a
.envfile for secrets (see.env.sampleadded to the repo). - Important settings to review:
tradingEnabled(boolean) — enables real order execution (default: false)paperStartingBalance— starting capital for the paper trading enginescanIntervalSec— frequency for market scans in seconds
Keep API keys and private keys out of version control. Use your platform's secrets manager for production.
npm run start:dev— start server in development modenpm run build— compile TypeScriptnpm run start— run production buildnpm test— run tests (if present)
├── src/ # TypeScript source
│ ├── index.ts # App bootstrap
│ ├── server.ts # Express + WebSocket server
│ ├── config.ts # Central configuration
│ ├── services/ # Trading and data services
│ └── types/ # Shared types/interfaces
├── public/ # Dashboard files and demo scripts
├── package.json
└── README.md
- The codebase is organized into modular services under
src/services/so integrations (DexScreener, PancakeSwap helpers, real trading engine) can be swapped or extended. - Telemetry and market updates are pushed to the dashboard via WebSocket.
- Paper trading is enabled by default. Review
src/services/realTradingEngine.tsand validate credentials before enabling live trading.
- Port already in use: change the port in
src/config.tsor stop the conflicting process. - No tokens appearing: the data provider may be rate-limited or down. Try again later or switch data sources in
src/services/. - WebSocket disconnects: check server logs; the dashboard should attempt auto-reconnects.
See CONTRIBUTING.md for contribution guidelines. In short:
- Open issues for bugs or feature requests.
- Create feature branches
feature/<short-desc>. - Add tests for new behavior and keep changes focused.
- A
LICENSE(MIT) is included in this repository. - Suggested follow-ups:
- Add CI for linting/build/tests and badges in this README
- Add more unit tests for core services
- Add enhanced docs for deployment and production settings
| Platform | Link |
|---|---|
| 📱 Telegram | t.me/novustch |
| wa.me/14105015750 | |
| 💬 Discord | discordapp.com/users/985432160498491473 |
For commercial support or custom integrations, contact Novus Tech LLC.