{"_id":"@troyaagent/cli","_rev":"2-0d12a526c1749361cdc9d0899f5cd8ec","name":"@troyaagent/cli","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.0-stage":{"name":"@troyaagent/cli","version":"0.0.0-stage","_id":"@troyaagent/cli@0.0.0-stage","stub":true,"maintainers":[{"name":"troyaagent","email":"faqihigeniorfkr@gmail.com"}],"dist":{"shasum":"73e1cfbb1189aa79f764d6ab8d2d64cebda5e01f","tarball":"https://registry.npmjs.org/@troyaagent/cli/-/cli-0.0.0-stage.tgz","fileCount":2,"integrity":"sha512-SF4nU+LgOc96acXEuAR+ZBS3eujZzX6va/ZSnEQlXY745R8BUHnlR8ipF+pfraVDa+jtUs4YaWk60eDb8NXjJg==","signatures":[{"sig":"MEUCIDgul1gc4gEbawnfpNk79+2v8LaiKzSIkhTgqYHoY6eCAiEAvN4DFct+8+SzD0SrGhRPtWpjD9XU1opb79BLQrz9DMU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":337},"_npmUser":{"name":"troyaagent","email":"faqihigeniorfkr@gmail.com"},"description":"Temporary package placeholder for staged publishing","directories":{}},"0.1.0":{"_id":"@troyaagent/cli@0.1.0","bin":{"troya":"index.mjs"},"bugs":{"url":"https://github.com/troyaagent/troya-agent/issues"},"dist":{"shasum":"8c7233e6507ac430b4aaa2f69a8e39802ca433ad","tarball":"https://registry.npmjs.org/@troyaagent/cli/-/cli-0.1.0.tgz","fileCount":3,"integrity":"sha512-AvE/Z7UZL0t6A4KlBicTBSBYPmupbg+Gnqox14NwHryyQdIXYD9k5KX0mtGZLzceExandnSNqXs/osvndZGBFA==","signatures":[{"sig":"MEUCIFCAIfYPuyavrvi0EzAn9lcphU2yo5FOnCccYKq3ukQ9AiEAnACMORvU+AcwNsFAnlr6JmezyzPC9eZNm3EIyRzAGnE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCMbuegzqw/NSrXO80ntIBydA8E+4Hq4+XPFwuBr5w3dgIhAOMAs1xp7BcY8pKOVxRtMxLZvBbtkCkJ6zePyXGMDKV6"}],"unpackedSize":27828},"name":"@troyaagent/cli","type":"module","engines":{"node":">=18"},"gitHead":"d2af0f19db34df43448c449d222c39fbec1733c4","license":"MIT","version":"0.1.0","_npmUser":{"name":"troyaagent","email":"faqihigeniorfkr@gmail.com"},"homepage":"https://troya.codes/api-and-mcp","keywords":["cli","robinhood-chain","hyperliquid","pons","trading","agent","troya"],"repository":{"url":"git+https://github.com/troyaagent/troya-agent.git","type":"git","directory":"cli"},"_npmVersion":"11.12.1","description":"Troya Agent from the terminal: Troya Gate, Troya picks, the chart oracle, quotes and Hyperliquid perps on Robinhood Chain. Read commands need no key; trading runs through your own limits and is a dry run by default.","directories":{},"maintainers":[{"name":"troyaagent","email":"faqihigeniorfkr@gmail.com"}],"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.1.0_1794888619089_0.5982561436471878"}}},"time":{"created":"2026-11-17T04:09:02.451Z","modified":"2026-11-17T04:10:19.373Z","0.0.0-stage":"2026-11-17T04:09:02.451Z","0.1.0":"2026-11-17T04:10:19.192Z"},"description":"Troya Agent from the terminal: Troya Gate, Troya picks, the chart oracle, quotes and Hyperliquid perps on Robinhood Chain. Read commands need no key; trading runs through your own limits and is a dry run by default.","maintainers":[{"name":"troyaagent","email":"faqihigeniorfkr@gmail.com"}],"readme":"# @troyaagent/cli\n\n**Troya Agent from the terminal.** Run the Troya Gate on a coin, read Troya picks and the chart oracle, quote swaps on Robinhood Chain (chain 4663) and check Hyperliquid perps. It is one file with no dependencies (Node 18+) and holds no keys. Every call goes to the Troya API, where the same limits, Gate checks and journal as the app apply.\n\n```bash\nnpx @troyaagent/cli gate TROYA\n```\n\nOr install it once:\n\n```bash\nnpm i -g @troyaagent/cli\ntroya help\n```\n\n## Commands\n\nA coin can be a `0x…` address or a ticker such as `TROYA`. Add `--json` to any command for raw JSON.\n\n| Command | What it does |\n|---|---|\n| `troya gate <coin>` | Troya Gate: route, price impact, pool depth, fees, a simulated buy and a test sell from a fresh address |\n| `troya token <coin>` | Price, market cap, liquidity, volume, trades, holders, socials and links |\n| `troya search <query>` | Find coins by name, ticker or address |\n| `troya market [picks\\|trending\\|new\\|bonding\\|all]` | The Robinhood Chain board. Troya picks by default, each one with why |\n| `troya holders <coin>` | Top holders, with known contracts labelled |\n| `troya health <coin>` | Bytecode check: owner, mint, pause, blacklist, fee setters, proxy |\n| `troya quote <amount> <from> <to>` | Best route across Pons, Uniswap and KyberSwap, price impact, fees, minimum out |\n| `troya stocks [filter]` | Tokenized stocks and ETFs on Robinhood Chain |\n| `troya oracle [coin]` | The chart oracle: a note per coin every 6 hours, graded in public 24 hours later |\n| `troya record` | The Oracle's ledger: every Troya Sentry call, graded 24 hours later |\n| `troya flywheel` | $TROYA creator fees, buybacks, burns and supply, read from the chain |\n| `troya perp <COIN>` | A Hyperliquid perp: price, funding, open interest, spread |\n| `troya movers` / `troya funding` | Hyperliquid movers and funding extremes |\n| `troya tools` / `troya call <tool> [json \\| key=value …]` | Every REST tool, and a direct call to any of them |\n\n## Trading from the terminal\n\n`swap`, `execute`, `balances` and `policy` need an API token. Create one in the app: **Agent → Wallet → API tokens**.\n\n```bash\nexport TROYA_API_KEY=troya_…\ntroya swap 0.01 ETH TROYA          # quote + Troya Gate + your limits → a confirmation id (valid 120 s)\ntroya execute <confirmationId>     # a dry run: shows what would be sent\ntroya execute <confirmationId> --live\n```\n\nA swap runs live only when all three hold: you pass `--live`, the token has the execute scope, and you switched dry-run off for that token in the app. A coin that fails the Gate is never prepared.\n\n## Environment\n\n| Variable | Meaning |\n|---|---|\n| `TROYA_API_KEY` | API token for your own account. Read commands work without it. |\n| `TROYA_BASE_URL` | Troya server. Default `https://troya.codes`. |\n| `NO_COLOR` | Plain output without colour. |\n\nNothing here is advice. Run the Gate before you buy.\n\nAlso from Troya: [`@troyaagent/mcp`](https://www.npmjs.com/package/@troyaagent/mcp), the same tools for Claude, Cursor and other MCP clients.\n","readmeFilename":"README.md","homepage":"https://troya.codes/api-and-mcp","keywords":["cli","robinhood-chain","hyperliquid","pons","trading","agent","troya"],"repository":{"url":"git+https://github.com/troyaagent/troya-agent.git","type":"git","directory":"cli"},"bugs":{"url":"https://github.com/troyaagent/troya-agent/issues"},"license":"MIT"}