[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-83347":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":17,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":24,"readmeContent":25,"aiSummary":10,"trendingCount":15,"starSnapshotCount":15,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},83347,"axiom-arbitrage-trading-bot","Axiom-Trading-Kits\u002Faxiom-arbitrage-trading-bot","Axiom-Trading-Kits","Axiom Arbitrage Trading Bot Axiom Arbitrage Trading Bot Axiom Arbitrage Trading Bot Axiom Arbitrage Trading Bot Axiom Arbitrage Trading Bot Axiom Arbitrage Trading Bot Axiom Arbitrage Trading Bot Axiom Arbitrage Trading Bot Axiom Arbitrage Trading Bot Axiom Arbitrage Trading Bot Axiom Arbitrage Trading Bot Axiom Arbitrage Trading Bot Axiom","",null,"TypeScript",74,174,1,0,111,15,6.73,"MIT License",false,"main",true,[],"2026-06-12 02:04:33","# Axiom Arbitrage Trading Bot\n\nProduction-grade **TypeScript** arbitrage scanner and execution framework for **Solana**, built around the **[Axiom](https:\u002F\u002Faxiom.trade)** on-chain trading terminal and **Jupiter** aggregator routing. Detects **cross-DEX**, **triangular**, and **CEX-DEX** spread opportunities with configurable risk controls, circuit breakers, and **dry-run execution by default**.\n\n> **Safety first:** This bot **does not move mainnet funds by default**. `DRY_RUN=true` and `EXECUTION_ENABLED=false` are the defaults. Review risk limits and wallet configuration before enabling live execution.\n\n## Features\n\n| Module | Description |\n| ------ | ----------- |\n| **Cross-DEX strategy** | Compare quotes across Jupiter, Axiom, Raydium, Orca, Meteora, and Phoenix to find two-leg spreads |\n| **Triangular strategy** | Detect cyclic profit paths (A → B → C → A) via aggregator routing |\n| **CEX-DEX strategy** | Compare simulated CEX mid prices against on-chain DEX quotes |\n| **Axiom integration** | Dedicated client for Axiom terminal API with mock fallback |\n| **Jupiter quotes** | Live quote API support (`quote-api.jup.ag`) with retry logic |\n| **Risk manager** | Min profit (bps), max slippage, trade size caps, daily limits, confidence scoring |\n| **Circuit breaker** | Halts execution after consecutive failures with auto cooldown |\n| **REST API** | Health, stats, scan, and config endpoints |\n| **CLI** | One-shot and continuous scanning modes |\n\n## Architecture\n\n```\nsrc\u002F\n├── config\u002F          Zod-validated environment configuration\n├── types\u002F           Shared domain types\n├── market\u002F          Token registry + price feed\n├── exchanges\u002F       Jupiter, Axiom, mock DEX clients\n├── strategies\u002F      Cross-DEX, triangular, CEX-DEX\n├── core\u002F            Arbitrage engine orchestrator\n├── risk\u002F            Risk manager + circuit breaker\n├── execution\u002F       Trade executor (dry-run \u002F live)\n├── api\u002F             Express HTTP server\n├── utils\u002F           Logger, math, retry helpers\n├── cli.ts           Command-line interface\n└── index.ts         Main entry (API + continuous scan)\n```\n\n## Quick start\n\n```bash\ncd axiom-arbitrage-trading-bot\ncp .env.example .env\nnpm install\nnpm test\nnpm run build\nnpm start\n```\n\nVerify the API:\n\n```bash\ncurl http:\u002F\u002F127.0.0.1:8790\u002Fapi\u002Fhealth\ncurl -X POST http:\u002F\u002F127.0.0.1:8790\u002Fapi\u002Fv1\u002Fscan\n```\n\n### One-shot scan (mock mode)\n\n```bash\nnpm run scan:once\n```\n\n### Continuous scanning\n\n```bash\nnpm run scan\n```\n\n### CLI commands\n\n```bash\nnpm run cli -- scan --once --json\nnpm run cli -- stats\nnpm run cli -- health\n```\n\n## Configuration\n\nCopy `.env.example` to `.env` and adjust:\n\n| Variable | Default | Description |\n| -------- | ------- | ----------- |\n| `BOT_MODE` | `mock` | `mock` (simulated) or `live` (real APIs) |\n| `SOLANA_RPC_URL` | mainnet RPC | Solana JSON-RPC endpoint |\n| `AXIOM_API_KEY` | unset | Axiom terminal API key |\n| `JUPITER_QUOTE_URL` | Jupiter v6 | Quote API base URL |\n| `MIN_PROFIT_BPS` | `15` | Minimum net profit in basis points |\n| `MAX_SLIPPAGE_BPS` | `50` | Max slippage tolerance |\n| `MAX_TRADE_SIZE_SOL` | `1` | Max trade size per opportunity |\n| `MAX_DAILY_TRADES` | `100` | Daily execution cap |\n| `EXECUTION_ENABLED` | `false` | Enable trade execution |\n| `DRY_RUN` | `true` | Simulate trades without submitting txs |\n| `WATCH_TOKENS` | SOL,USDC,... | Comma-separated token symbols |\n| `SCAN_INTERVAL_MS` | `5000` | Continuous scan interval |\n| `PORT` | `8790` | HTTP API port |\n\n## REST API\n\n| Method | Path | Description |\n| ------ | ---- | ----------- |\n| `GET` | `\u002Fapi\u002Fhealth` | Liveness probe |\n| `GET` | `\u002Fapi\u002Fv1\u002Fstats` | Bot statistics |\n| `GET` | `\u002Fapi\u002Fv1\u002Fconfig` | Active configuration (safe fields) |\n| `POST` | `\u002Fapi\u002Fv1\u002Fscan` | Trigger one arbitrage scan |\n\n## Strategies explained\n\n### Cross-DEX\n\nBuys a token on the cheapest venue and sells on the most expensive venue for the same pair. Ideal for memecoin volatility on Solana where Raydium, Orca, Meteora, and Jupiter routes diverge briefly.\n\n### Triangular\n\nFinds three-hop cycles (e.g. SOL → USDC → BONK → SOL) where the round-trip output exceeds input after fees and estimated gas.\n\n### CEX-DEX\n\nCompares centralized exchange mid prices (simulated in mock mode; wire Binance\u002FBybit\u002FOKX websockets for production) against on-chain DEX quotes for latency-arbitrage windows.\n\n## Production checklist\n\n1. Set `BOT_MODE=live` and configure a reliable `SOLANA_RPC_URL` (Helius, QuickNode, or Alchemy).\n2. Add your `AXIOM_API_KEY` for Axiom terminal routing.\n3. Wire CEX websocket feeds into `CexDexStrategy` for real CEX-DEX spreads.\n4. Set conservative `MIN_PROFIT_BPS`, `MAX_TRADE_SIZE_SOL`, and `MAX_DAILY_TRADES`.\n5. Only enable `EXECUTION_ENABLED=true` after thorough dry-run validation.\n6. Store `WALLET_PRIVATE_KEY` securely — never commit it to version control.\n\n## Scripts\n\n| Script | Purpose |\n| ------ | ------- |\n| `npm run build` | Compile TypeScript to `dist\u002F` |\n| `npm start` | Start API server + continuous scanner |\n| `npm run dev` | Development mode with hot reload |\n| `npm test` | Run Vitest test suite |\n| `npm run lint:types` | TypeScript type check |\n| `npm run scan:once` | One-shot CLI scan |\n| `npm run scan` | Continuous CLI scanning |\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n\n---\n\n## 🆘 Technical Support\n\nNeed help deploying, configuring strategies, or integrating with Axiom \u002F Jupiter?\n\n> **Contact us on Telegram for technical support:**\n\n### 👉 [**@tradingtermin**](https:\u002F\u002Ft.me\u002Ftradingtermin)\n\n| Channel | Handle |\n| ------- | ------ |\n| **Telegram** | **[`@tradingtermin`](https:\u002F\u002Ft.me\u002Ftradingtermin)** |\n\nWe respond to setup questions, configuration issues, and integration requests.\n",2,"2026-06-11 04:11:01","CREATED_QUERY"]