Complete implementation of autonomous AI trading bot with immortal memory: Core Features: - AI-powered trading decisions using OpenRouter (GPT-4o-mini) - Market data fetching from DexScreener API - Automated trade execution on PancakeSwap - Immortal memory storage on BNB Greenfield - Learning loop that improves from past trades - Real-time Telegram alerts - Comprehensive risk management Modules Implemented: - src/agent/ - AI decision engine with learning capabilities - src/blockchain/ - Trade execution and memory storage - src/data/ - Market data fetching and analysis - src/utils/ - Logging, error handling, safeguards - src/alerts/ - Telegram notification system - src/index.ts - Main bot loop and orchestration Smart Contracts: - contracts/IMMBotToken.sol - BEP-20 utility token with 2% tax - contracts/Staking.sol - Staking contract with tiered APY Configuration: - Complete .env.example with all required parameters - tsconfig.json for TypeScript support - Comprehensive .gitignore Documentation: - Detailed README with setup instructions - Architecture diagrams and feature explanations - Deployment guide for contracts - Safety and risk disclaimers Tech Stack: - Runtime: Node.js/Bun - Blockchain: Ethers.js + PancakeSwap SDK - AI: OpenRouter API - Storage: BNB Greenfield SDK - Alerts: Telegraf (Telegram) - Language: TypeScript Targets BNB Hackathon Unibase Challenge with: ✅ Autonomous AI agent ✅ On-chain execution ✅ Decentralized memory ✅ Learning capabilities ✅ Token economy
46 lines
396 B
Plaintext
46 lines
396 B
Plaintext
# Dependencies
|
|
node_modules/
|
|
.pnp
|
|
.pnp.js
|
|
bun.lockb
|
|
|
|
# Testing
|
|
coverage/
|
|
*.log
|
|
|
|
# Production
|
|
dist/
|
|
build/
|
|
*.tsbuildinfo
|
|
|
|
# Environment variables
|
|
.env
|
|
.env.local
|
|
.env.production
|
|
.env.test
|
|
|
|
# IDEs
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Next.js
|
|
apps/frontend/.next/
|
|
apps/frontend/out/
|
|
|
|
# Debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
bun-debug.log*
|
|
|
|
# Misc
|
|
*.pem
|
|
.vercel
|