152 lines
5.1 KiB
JSON
152 lines
5.1 KiB
JSON
{
|
|
"name": "immortal-bnb",
|
|
"version": "1.0.0",
|
|
"description": "An autonomous AI trading agent for BNB Chain with immortal memory storage on BNB Greenfield",
|
|
"main": "src/index.ts",
|
|
"scripts": {
|
|
"start": "bash start-all.sh",
|
|
"start:all": "bash start-all.sh",
|
|
"dev": "bun run --watch src/index.ts",
|
|
"dev:frontend": "bun --cwd frontend dev",
|
|
"dev:backend": "bun run --watch src/index.ts",
|
|
"dev:full": "concurrently \"bun run dev:backend\" \"bun run dev:frontend\"",
|
|
"bot": "bun index.ts",
|
|
"setup": "bash scripts/setup.sh",
|
|
"check": "bun start-bot.ts",
|
|
"frontend": "cd frontend && bun dev",
|
|
"backend": "bun src/index.ts",
|
|
"install:all": "bun install && cd frontend && bun install",
|
|
"build": "bun build src/index.ts --outdir dist --target node",
|
|
"build:frontend": "bun --cwd frontend build",
|
|
"build:all": "bun run build && bun run build:frontend",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:coverage": "jest --coverage",
|
|
"test:unit": "jest --testPathPattern=__tests__/unit",
|
|
"test:integration": "bun test-integration.ts",
|
|
"test:e2e": "jest --testPathPattern=tests/e2e",
|
|
"test:load": "jest --testPathPattern=tests/load",
|
|
"test:trade": "bun test-trade.ts",
|
|
"test:polymarket": "bun test-polymarket.ts",
|
|
"polymarket:demo": "bun polymarket-live-demo.ts",
|
|
"lint": "eslint src/**/*.ts",
|
|
"healthcheck": "bun run scripts/healthcheck.ts",
|
|
"monitor": "bun run scripts/monitor.ts",
|
|
"monitor:watch": "bun run scripts/monitor.ts --watch",
|
|
"backup": "bash scripts/backup.sh",
|
|
"docker:build": "docker build -t immortal-bot .",
|
|
"docker:run": "docker-compose up -d",
|
|
"docker:stop": "docker-compose down",
|
|
"docker:logs": "docker-compose logs -f bot",
|
|
"validate": "npx ts-node scripts/validate-deployment.ts",
|
|
"perf": "bun run scripts/performance.ts --current",
|
|
"perf:report": "bun run scripts/performance.ts --report",
|
|
"perf:collect": "bun run scripts/performance.ts --collect",
|
|
"contracts:build": "forge build",
|
|
"contracts:test": "forge test",
|
|
"contracts:deploy": "bash scripts/foundry-deploy.sh",
|
|
"contracts:deploy-manual": "bun run scripts/deploy-contracts.ts",
|
|
"cli": "bun cli.ts",
|
|
"status": "bun cli.ts status",
|
|
"balance": "bun cli.ts balance",
|
|
"trades": "bun cli.ts trades",
|
|
"stats": "bun cli.ts stats"
|
|
},
|
|
"keywords": [
|
|
"ai",
|
|
"trading",
|
|
"bnb",
|
|
"blockchain",
|
|
"defi",
|
|
"autonomous",
|
|
"pancakeswap",
|
|
"greenfield",
|
|
"immortal-memory"
|
|
],
|
|
"author": "arhansubasi0",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/caelum0x/immortal-bnb"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/openai": "^2.0.63",
|
|
"@bnb-chain/greenfield-js-sdk": "^2.0.0",
|
|
"@ethersproject/bytes": "^5.8.0",
|
|
"@ethersproject/properties": "^5.8.0",
|
|
"@ethersproject/providers": "^5.8.0",
|
|
"@ethersproject/signing-key": "^5.8.0",
|
|
"@ethersproject/strings": "^5.8.0",
|
|
"@ethersproject/wallet": "^5.8.0",
|
|
"@flashbots/ethers-provider-bundle": "^1.0.0",
|
|
"@openrouter/ai-sdk-provider": "^1.2.0",
|
|
"@opentelemetry/api": "^1.9.0",
|
|
"@opentelemetry/auto-instrumentations-node": "^0.67.0",
|
|
"@opentelemetry/exporter-otlp-http": "^0.26.0",
|
|
"@opentelemetry/resources": "^2.2.0",
|
|
"@opentelemetry/sdk-node": "^0.208.0",
|
|
"@opentelemetry/semantic-conventions": "^1.38.0",
|
|
"@pancakeswap/chains": "^0.7.0",
|
|
"@pancakeswap/price-api-sdk": "^11.1.1",
|
|
"@pancakeswap/sdk": "^5.7.0",
|
|
"@pancakeswap/smart-router": "^7.5.4",
|
|
"@pancakeswap/stable-swap-sdk": "^2.0.11",
|
|
"@pancakeswap/swap-sdk-core": "^1.0.0",
|
|
"@pancakeswap/tokens": "^0.7.10",
|
|
"@pancakeswap/universal-router-sdk": "^1.4.16",
|
|
"@pancakeswap/v2-sdk": "^1.1.7",
|
|
"@pancakeswap/v3-sdk": "^3.7.0",
|
|
"@polymarket/clob-client": "^4.22.8",
|
|
"@prisma/client": "^6.19.0",
|
|
"@types/uuid": "^11.0.0",
|
|
"@wormhole-foundation/sdk": "^4.0.2",
|
|
"@wormhole-foundation/sdk-evm": "^4.0.2",
|
|
"@wormhole-foundation/wormhole-connect": "^4.0.0",
|
|
"ai": "^5.0.87",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.4.5",
|
|
"ethers": "^6.13.4",
|
|
"express": "^4.19.2",
|
|
"express-rate-limit": "^8.2.1",
|
|
"express-validator": "^7.3.0",
|
|
"helmet": "^8.1.0",
|
|
"jsbi": "^4.3.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"long": "^5.2.3",
|
|
"node-fetch": "^3.3.2",
|
|
"prisma": "^6.19.0",
|
|
"prom-client": "^15.1.3",
|
|
"redis": "^5.10.0",
|
|
"reflect-metadata": "^0.2.2",
|
|
"socket.io": "^4.8.1",
|
|
"telegraf": "^4.16.3",
|
|
"tiny-invariant": "^1.3.1",
|
|
"uuid": "^13.0.0",
|
|
"winston": "^3.14.2",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"optionalDependencies": {
|
|
"wormhole-sdk": "^0.10.0"
|
|
},
|
|
"devDependencies": {
|
|
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
|
|
"@types/cors": "^2.8.17",
|
|
"@types/express": "^4.17.21",
|
|
"@types/jest": "^30.0.0",
|
|
"@types/node": "^20.10.0",
|
|
"@types/supertest": "^6.0.3",
|
|
"concurrently": "^8.2.2",
|
|
"hardhat": "^2.22.0",
|
|
"jest": "^30.2.0",
|
|
"supertest": "^7.1.4",
|
|
"ts-jest": "^29.4.5",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.3.3",
|
|
"vitest": "^1.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0",
|
|
"bun": ">=1.0.0"
|
|
}
|
|
}
|