AoxCon is the coordination and operations layer for AOXC ecosystem services.
It brings together:
- AOXCHAIN network operations (local-first RPC at
localhost:2626) - multi-network telemetry (EVM, Solana, Bitcoin, AOXCHAIN)
- governance visibility (proposal widgets and status)
- secure relay deployment workflows (sequential multi-network contract rollout)
- AI-assisted operator interface
The repository contains backend APIs, frontend dashboard, and CLI modules for unified operations.
- Architecture
- Repository Layout
- Core Features
- Configuration
- Backend API
- Quick Start
- Operational Flows
- Security Model
- Troubleshooting
- Roadmap
AoxCon follows a layered architecture:
-
Backend (
apps/backend)- Exposes API endpoints for health, AI analysis, AOXCHAIN status, governance, and relay deployments.
- Probes AOXCHAIN RPC with local-first fallback strategy.
- Applies request validation and optional token-based API protection.
-
Frontend (
apps/frontend)- Angular-based operations dashboard.
- Displays network cards, AOXCHAIN chain status, governance proposals, and relay queue state.
- Lets operators enqueue secure sequential relay deployments.
-
CLI (
apps/cli)- Terminal operator tooling.
- Designed for scripted dispatch and operational workflows.
AoxCon follows a layered architecture:
-
Backend (
apps/backend)- Exposes API endpoints for health, AI analysis, AOXCHAIN status, governance, and relay deployments.
- Probes AOXCHAIN RPC with local-first fallback strategy.
- Applies request validation and optional token-based API protection.
-
Frontend (
apps/frontend)- Angular-based operations dashboard.
- Displays network cards, AOXCHAIN chain status, governance proposals, and relay queue state.
- Lets operators enqueue secure sequential relay deployments.
-
CLI (
apps/cli)- Terminal operator tooling.
- Designed for scripted dispatch and operational workflows.
apps/
backend/ # API gateway + AOXCHAIN services
frontend/ # Operator dashboard UI
cli/ # Command-line operations tooling
config/
services.json # Service registry (AOXCHAIN + other network adapters)
apps/
backend/ # API gateway + AOXCHAIN services
frontend/ # Operator dashboard UI
cli/ # Command-line operations tooling
config/
services.json # Service registry (AOXCHAIN + other network adapters)
The backend probes AOXCHAIN using this order:
apps/
backend/ # API gateway + AOXCHAIN services
frontend/ # Operator dashboard UI
cli/ # Command-line operations tooling
config/
services.json # Service registry (AOXCHAIN + other network adapters)
http://localhost:2626(primary)https://aoxcore.com(fallback)
This allows local node preference with remote continuity when local RPC is unavailable.
The backend probes AOXCHAIN using this order:
http://localhost:2626(primary)https://aoxcore.com(fallback)
This allows local node preference with remote continuity when local RPC is unavailable.
Frontend tracks and renders:
- AOXCHAIN
- EVM
- Solana
- Bitcoin
Each network card includes status, block height, latency, throughput estimate, and visual state. Frontend tracks and renders:
- AOXCHAIN
- EVM
- Solana
- Bitcoin
The backend probes AOXCHAIN using this order:
http://localhost:2626(primary)https://aoxcore.com(fallback)
This allows local node preference with remote continuity when local RPC is unavailable.
Frontend tracks and renders:
- AOXCHAIN
- EVM
- Solana
- Bitcoin
Each network card includes status, block height, latency, throughput estimate, and visual state. Each network card includes status, block height, latency, throughput estimate, and visual state.
Dashboard includes AOXCHAIN governance proposal widgets with:
- proposal id/title/status
- yes/no values
- participation ratio
Operators can submit a relay deployment job with:
contractNamebytecodetargetNetworks[]rpcMode(local-firstorremote-first)
Backend validates payload shape and records deployment steps as sequential relay tasks.
Dashboard includes AOXCHAIN governance proposal widgets with:
- proposal id/title/status
- yes/no values
- participation ratio
Operators can submit a relay deployment job with:
contractNamebytecodetargetNetworks[]rpcMode(local-firstorremote-first)
Backend validates payload shape and records deployment steps as sequential relay tasks.
Dashboard includes AOXCHAIN governance proposal widgets with:
- proposal id/title/status
- yes/no values
- participation ratio
Operators can submit a relay deployment job with:
contractNamebytecodetargetNetworks[]rpcMode(local-firstorremote-first)
Backend validates payload shape and records deployment steps as sequential relay tasks.
config/services.json includes AOXCHAIN as RPC service:
baseUrl:http://localhost:2626fallbackUrl:https://aoxcore.com
Backend reads configuration from apps/backend/src/config/index.js:
PORT(default5000)NODE_ENV(defaultdevelopment)LOG_LEVEL(defaultinfo)GEMINI_API_KEYSENTINEL_AUTH_TOKEN(optional; enables auth on protected endpoints)AOXCHAIN_RPC_LOCAL(defaulthttp://localhost:2626)AOXCHAIN_RPC_REMOTE(defaulthttps://aoxcore.com)
config/services.json includes AOXCHAIN as RPC service:
config/services.json includes AOXCHAIN as RPC service:
baseUrl:http://localhost:2626fallbackUrl:https://aoxcore.com
Backend reads configuration from apps/backend/src/config/index.js:
PORT(default5000)NODE_ENV(defaultdevelopment)LOG_LEVEL(defaultinfo)GEMINI_API_KEYSENTINEL_AUTH_TOKEN(optional; enables auth on protected endpoints)AOXCHAIN_RPC_LOCAL(defaulthttp://localhost:2626)AOXCHAIN_RPC_REMOTE(defaulthttps://aoxcore.com)baseUrl:http://localhost:2626fallbackUrl:https://aoxcore.com
Backend reads configuration from apps/backend/src/config/index.js:
PORT(default5000)NODE_ENV(defaultdevelopment)LOG_LEVEL(defaultinfo)GEMINI_API_KEYSENTINEL_AUTH_TOKEN(optional; enables auth on protected endpoints)AOXCHAIN_RPC_LOCAL(defaulthttp://localhost:2626)AOXCHAIN_RPC_REMOTE(defaulthttps://aoxcore.com)
Base URL: http://localhost:5000/api/v1
GET /health
Base URL: http://localhost:5000/api/v1
GET /health
Returns service status.
POST /sentinel/analyze(auth middleware enabled)
GET /aoxchain/status- optional query:
?rpc=<custom_rpc>
Returns selected RPC endpoint, chain id, block number, latency, and queue depth.
GET /aoxchain/governance/proposals
Returns proposal list used by dashboard widgets.
GET /aoxchain/deployments/relay(auth middleware enabled)POST /aoxchain/deployments/relay(auth + zod validation)
Payload schema for POST:
{
"contractName": "RelayVault",
"bytecode": "0x6080...",
"targetNetworks": ["aoxchain", "evm", "solana"],
"rpcMode": "local-first"
}# backend
cd apps/backend && npm install
# frontend
cd ../frontend && yarn installcd apps/backend
npm startBackend default URL: http://localhost:5000
cd apps/frontend
GEMINI_API_KEY=dummy yarn devFrontend default URL: http://localhost:3000
curl http://localhost:5000/api/v1/health
curl "http://localhost:5000/api/v1/aoxchain/status?rpc=http://localhost:2626"
curl http://localhost:5000/api/v1/aoxchain/governance/proposals- Frontend requests
/aoxchain/status. - Backend probes local RPC first, then fallback.
- Dashboard updates network card and latency/height values.
- Frontend requests
/aoxchain/governance/proposals. - Response is rendered in governance proposal widget panel.
- Operator enters contract + target networks in dashboard.
- Frontend posts deployment payload to backend.
- Backend validates payload and enqueues sequential relay steps.
- Dashboard polls queue and displays current jobs.
- Validation-first inputs with Zod for deployment payloads.
- Optional token auth via
SENTINEL_AUTH_TOKEN+x-sentinel-tokenheader. - No secrets in frontend code (runtime env usage expected).
- Local-first RPC reduces dependency on external endpoints.
Note: Current deployment queue is in-memory. For production durability, move queue state to persistent storage (e.g., PostgreSQL/Redis).
In restricted environments, yarn build may fail due to external font fetch restrictions.
Use dev build for local validation:
yarn ng build --configuration developmentReturns service status.
POST /sentinel/analyze(auth middleware enabled)
GET /aoxchain/status- optional query:
?rpc=<custom_rpc>
Returns selected RPC endpoint, chain id, block number, latency, and queue depth.
GET /aoxchain/governance/proposals
Returns proposal list used by dashboard widgets.
GET /aoxchain/deployments/relay(auth middleware enabled)POST /aoxchain/deployments/relay(auth + zod validation)
Payload schema for POST:
{
"contractName": "RelayVault",
"bytecode": "0x6080...",
"targetNetworks": ["aoxchain", "evm", "solana"],
"rpcMode": "local-first"
}# backend
cd apps/backend && npm install
# frontend
cd ../frontend && yarn installcd apps/backend
npm startBackend default URL: http://localhost:5000
cd apps/frontend
GEMINI_API_KEY=dummy yarn devFrontend default URL: http://localhost:3000
curl http://localhost:5000/api/v1/health
curl "http://localhost:5000/api/v1/aoxchain/status?rpc=http://localhost:2626"
curl http://localhost:5000/api/v1/aoxchain/governance/proposals- Frontend requests
/aoxchain/status. - Backend probes local RPC first, then fallback.
- Dashboard updates network card and latency/height values.
- Frontend requests
/aoxchain/governance/proposals. - Response is rendered in governance proposal widget panel.
- Operator enters contract + target networks in dashboard.
- Frontend posts deployment payload to backend.
- Backend validates payload and enqueues sequential relay steps.
- Dashboard polls queue and displays current jobs.
- Validation-first inputs with Zod for deployment payloads.
- Optional token auth via
SENTINEL_AUTH_TOKEN+x-sentinel-tokenheader. - No secrets in frontend code (runtime env usage expected).
- Local-first RPC reduces dependency on external endpoints.
Note: Current deployment queue is in-memory. For production durability, move queue state to persistent storage (e.g., PostgreSQL/Redis).
- Ensure local node is running at
localhost:2626. - Confirm
AOXCHAIN_RPC_LOCALis correct. - Check fallback endpoint reachability (
aoxcore.com).
Set or remove SENTINEL_AUTH_TOKEN intentionally.
If set, include header:
x-sentinel-token: <token>
A reference wallet blueprint for AOXCHAIN coin type 2626 is provided under:
In restricted environments, yarn build may fail due to external font fetch restrictions.
Use dev build for local validation:
yarn ng build --configuration development- Frontend requests
/aoxchain/status. - Backend probes local RPC first, then fallback.
- Dashboard updates network card and latency/height values.
- Frontend requests
/aoxchain/governance/proposals. - Response is rendered in governance proposal widget panel.
- Operator enters contract + target networks in dashboard.
- Frontend posts deployment payload to backend.
- Backend validates payload and enqueues sequential relay steps.
- Dashboard polls queue and displays current jobs.
- Validation-first inputs with Zod for deployment payloads.
- Optional token auth via
SENTINEL_AUTH_TOKEN+x-sentinel-tokenheader. - No secrets in frontend code (runtime env usage expected).
- Local-first RPC reduces dependency on external endpoints.
Note: Current deployment queue is in-memory. For production durability, move queue state to persistent storage (e.g., PostgreSQL/Redis).
- Ensure local node is running at
localhost:2626. - Confirm
AOXCHAIN_RPC_LOCALis correct. - Check fallback endpoint reachability (
aoxcore.com).
Set or remove SENTINEL_AUTH_TOKEN intentionally.
If set, include header:
x-sentinel-token: <token>
wallets/aox-wallet-core/
It includes:
A reference wallet blueprint for AOXCHAIN coin type 2626 is provided under:
wallets/aox-wallet-core/
It includes:
- BIP44 path helper (
m/44'/2626'/account'/change/index) - Chrome web wallet template
- iOS secure wallet bridge contract
- Chrome mobile wrapper strategy
- Threat model and security controls
In restricted environments, yarn build may fail due to external font fetch restrictions.
Use dev build for local validation:
yarn ng build --configuration development- Ensure local node is running at
localhost:2626. - Confirm
AOXCHAIN_RPC_LOCALis correct. - Check fallback endpoint reachability (
aoxcore.com).
Set or remove SENTINEL_AUTH_TOKEN intentionally.
If set, include header:
x-sentinel-token: <token>
- Persistent relay queue storage and signed deployment receipts
- Real proposal ingestion from AOXCHAIN governance contracts
- Role-based access control for sensitive operations
- Transaction simulation + preflight checks before relay enqueue
- Full CI test matrix for backend + frontend + integration contracts
See LICENSE.