TROPTIONS technical — static export for GitHub Pages
Status: PIPELINE — services respond with stubs until MSB + live exchange
Date: 2026-05-21
Honesty banner (required in all operator comms)
Crypto-native rails (x402, BaaS pools, USDC relay, agent trades) = PIPELINE stubs until MSB + bank/exchange partners are live.
$825/hour first-hour table and $874K/month run-rate = PROJECTION — modeled API math, not realized bank deposits.
Do not present PROJECTION figures to investors or regulators as realized revenue.
| Claim | Label | Meaning |
|---|---|---|
| 10/10 agent score | PIPELINE | Readiness model, not audit score |
| $874K/month, $825/hour | PROJECTION | Modeled revenue, not bank deposits |
| Revenue in seconds | PIPELINE | API may return JSON fast; dollars are not realized |
| Port | Service | Path |
|---|---|---|
| 4022 | payment-orchestrator | fiat-rails/orchestrator/ |
| 4025 | compliance-engine | fiat-rails/compliance-engine/ |
| 4028 | arbitrage-bot | fiat-rails/arbitrage-bot/ |
| 4029 | baas-dashboard (UI only) | fiat-rails/baas-dashboard/ |
| 4030 | x402-us | fiat-rails/x402-gateway/ |
| 4031 | agent-orchestrator (legacy) | fiat-rails/agent-orchestrator/ |
| 4034 | x402-eu | fiat-rails/x402-gateway-eu/ |
| 4035 | x402-jp | fiat-rails/x402-gateway-jp/ |
| 4040 | usdc-base-relay | services/usdc-base-relay/ |
| 4100 | agent-orchestrator (AWS) | agents/orchestrator/ |
| 4101 | mcp-server stub | agents/mcp-server/ |
| 8097 | baas-api (agents, pools, billing) | fiat-rails/baas-api/ |
| 8443 | telegram-bot | services/telegram-bot/ |
Common mistakes
| Endpoint | Port | Notes |
|---|---|---|
POST /api/v1/agents/register |
8097 | Canonical BaaS registration |
POST /api/v1/agents |
8097 | Alias (same handler) |
POST /agents/register |
4031 | Legacy fiat agent-orchestrator proxy |
Prerequisites: Node 20, pm2 global, git, python3, pip, jq — see deploy/aws/README.md.
Pipe install (no clone):
curl -fsSL https://raw.githubusercontent.com/FTHTrading/Troptions-full-pack/main/deploy/aws/setup.sh | bash
bash -c "$(curl -fsSL https://raw.githubusercontent.com/FTHTrading/Troptions-full-pack/main/scripts/activate-revenue.sh)"
Git clone (exact operator block):
git clone https://github.com/FTHTrading/Troptions-full-pack.git &&
cd Troptions-full-pack &&
npm install &&
cp config/multi-gateway.env.template .env &&
pm2 start ecosystem.config.js --only payment-orchestrator,compliance-engine,arbitrage-bot,baas-api,baas-dashboard,x402-us,x402-eu,x402-jp,agent-orchestrator,mcp-server,usdc-base-relay &&
pm2 save &&
./scripts/activate-revenue.sh
Edit .env on the host (cp config/multi-gateway.env.template .env or setup.sh creates .env only if missing).
pm2, git, python3, pip, jq.git clone https://github.com/FTHTrading/Troptions-full-pack.git && cd Troptions-full-packbash deploy/aws/setup.sh from clone (same as curl pipe).TELEGRAM_BOT_TOKEN, BAAS_API_KEY, issuer seeds — see deploy/aws/.env.aws.template.| Port | Purpose |
|---|---|
| 22 | SSH (restrict to your IP) |
| 4029 | BaaS dashboard UI (optional public) |
| 4030 | x402 US health (prefer internal) |
| 4034 | x402 EU (if exposing region) |
| 4035 | x402 JP (if exposing region) |
| 4040 | USDC Base relay health |
| 4100 | AWS agent-orchestrator (harden before public) |
| 4101 | MCP stub tools |
| 8097 | baas-api (harden before public) |
| 8443 | Telegram webhook (polling needs outbound only) |
Keep 4022–4028, 4031 on localhost/private unless hardened.
cd /opt/Troptions-full-pack # or ~/Troptions-full-pack
mkdir -p logs
bash deploy/aws/setup.sh
# or subset only:
pm2 start ecosystem.config.js --only \
payment-orchestrator,compliance-engine,arbitrage-bot,baas-api,baas-dashboard,\
x402-us,x402-eu,x402-jp,agent-orchestrator,mcp-server,usdc-base-relay
pm2 save
With TELEGRAM_BOT_TOKEN in .env:
pm2 start ecosystem.config.js --only telegram-bot --update-env
bash deploy/aws/activate-revenue.sh
# or
bash scripts/activate-revenue.sh
Equivalent manual curls:
# 1) Batch pools (8097)
bash scripts/batch-create-pools.sh --dry-run
# 2) Arbitrage
curl -s -X POST http://127.0.0.1:4028/start
# 3) Register agent — canonical (:8097, NOT :4029 dashboard or :4033)
curl -s -X POST http://127.0.0.1:8097/api/v1/agents/register \
-H 'Content-Type: application/json' \
-d '{"agent_id":"ec2-demo","wallet":"rYourIssuer","capital_troptions":0}'
# 3b) Legacy
curl -s -X POST http://127.0.0.1:4031/agents/register \
-H 'Content-Type: application/json' \
-d '{"agent_id":"ec2-demo","wallet_address":"rYourIssuer","capital_troptions":0}'
# 4) Trade batch (4100) — dry_run until live
curl -s -X POST http://127.0.0.1:4100/trade/batch \
-H 'Content-Type: application/json' \
-d '{"symbols":["USD-IOU/EUR-IOU"],"dry_run":true}'
# 5) Billing (PROJECTION)
curl -s http://127.0.0.1:8097/api/v1/billing/revenue | jq .
curl -s http://127.0.0.1:8097/health | jq .
curl -s http://127.0.0.1:4100/health | jq .
curl -s http://127.0.0.1:4101/tools | jq .
curl -s http://127.0.0.1:4040/health | jq .
curl -s http://127.0.0.1:4030/x402/stats | jq .
curl -s http://127.0.0.1:4034/health | jq .
curl -s http://127.0.0.1:4035/health | jq .
TELEGRAM_BOT_TOKEN in .envpm2 restart telegram-bot/start, /trade, /revenue, /pools — replies include PROJECTION disclaimer.\scripts\activate-full-stack.ps1 -DryRun
Root npm install is sufficient for AWS floor services: postinstall installs fiat-rails, agents, and usdc-base-relay. deploy/aws/setup.sh also runs those paths explicitly and adds telegram-bot when TELEGRAM_BOT_TOKEN is set.
https://fthtrading.github.io/Troptions-full-pack/technical/AWS_ACTIVATION_RUNBOOK.html