Three Integration Paths — One Physical Substrate

ExergyNet is network-agnostic. Base Mainnet (x402/USDC) is the primary and recommended settlement layer. ElizaOS plugin and MCP Neural Gateway are available for all agent frameworks. Solana Mainnet-Beta remains active for legacy integrations.

PRIMARY
Base Mainnet · x402

x402 / USDC Integration

HTTP-native payment protocol. Agents authenticate sensor endpoints via Payment-Required headers. USDC settlement on Base L2 (eip155:8453). No SDK required.

View Integration ↓
ElizaOS Ecosystem

ElizaOS Plugin

Plug-and-play integration. One npm install equips your agent with the REQUEST_EXERGY_COMPUTE action. Solana escrow path.

View Integration ↓
Custom Frameworks

MCP Neural Gateway

Direct HTTP POST integration with Ed25519 cryptographic middleware for agents outside the ElizaOS ecosystem.

View Protocol ↓

x402 Payment Protocol · Base Mainnet

x402 is an HTTP-native, agent-first payment standard. ExergyNet sensor endpoints return 402 Payment Required with a signed USDC payment manifest. Your agent reads the manifest, authorizes the micro-payment via the Coinbase CDP facilitator, and re-submits the request with a X-PAYMENT header. No wallet SDK needed at the application layer.

x402 Handshake — Atomic Sequence

01 Discovery — Agent GETs sensor endpoint. Server returns HTTP 402 with base64-encoded payment manifest in payment-required header.
02 Manifest Decode — Agent base64-decodes manifest to obtain payTo, maxAmountRequired, network, asset.
03 Authorization — Agent signs USDC transfer intent via Coinbase CDP facilitator at api.cdp.coinbase.com/platform/v2/x402.
04 Re-submission — Agent re-sends original request with X-PAYMENT: <base64-payload> header.
05 Settlement — Server verifies payment via facilitator, returns HTTP 200 with signed ZK sensor data.

Live x402 Sensor Endpoints

All endpoints require x402 payment. GET returns 402 with manifest. Re-submit with X-PAYMENT header for data.

  • Magnetometerhttps://explorer-api.exergynet.org/x402/sensor/magnetometer
  • Network Densityhttps://explorer-api.exergynet.org/x402/sensor/network_density
  • Opcode (Magnetometer)0x06
  • Opcode (Network Density)0x08
  • Max Amount3000 µUSDC (0.003 USDC) per call
  • Max Timeout300 seconds

Decoded Payment Manifest (Example)

{
  "accepts": [
    {
      "asset":              "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "description":        "Electromagnetic field vectors from active Android magnetometer witnesses",
      "extra":              { "decimals": 6, "name": "USD Coin", "version": "2" },
      "maxAmountRequired":  "3000",
      "maxTimeoutSeconds":  300,
      "mimeType":           "application/json",
      "network":            "eip155:8453",
      "payTo":              "0xbd1e790f6040FA62797671B84a50025a0133109C",
      "resource":           "https://explorer-api.exergynet.org/x402/sensor/magnetometer",
      "scheme":             "exact"
    }
  ],
  "error":        "X402 Payment Required",
  "x402Version":  1
}

Compute Relay Endpoints

Used by agents and desktop provers to submit and settle compute jobs. No x402 required — internal protocol.

  • POST /api/relay/payload Route an inference or classification job to the LNES03 Desktop Prover grid. Returns {"routed_to":"LNES03-XXXXXX","status":"relayed"}
  • POST /api/compute/settle Submit a ZK-STARK proof of completed desktop compute. Triggers L0 ledger settlement and USDC reward accounting.
  • POST /api/v1/jobs/inject Inject an ActiveJob into the L0 Router for dispatch to the mobile witness swarm.
  • GET /api/v1/jobs/nearby Returns open jobs visible to the mobile swarm. Filterable by geofence.
  • GET /api/relay/status L0 sequencer health and ledger stats.

Example: Relay Payload (Inference Job)

POST https://explorer-api.exergynet.org/api/relay/payload
Content-Type: application/json

{
  "job_id":       "compute_004",
  "opcode":       "0x0B",
  "compute_type": "inference",
  "input_hash":   "0x0000000000000000000000000000000000000000000000000000000000000000",
  "input_data":   { "task": "classify" },
  "reward_usdc":  0.18,
  "deadline_ts":  9999999999,
  "requester":    "0xbd1e..."
}

// Response
{ "routed_to": "LNES03-027508", "status": "relayed" }

Example: Compute Settlement (Desktop Prover → L0)

Desktop Provers submit this after completing RISC Zero STARK compression. The L0 sequencer records the settlement and updates reward accounting.

POST https://explorer-api.exergynet.org/api/compute/settle
Content-Type: application/json

{
  "job_id":       "compute_004",
  "node_id":      "LNES03-027508",
  "output_hash":  "0xabc123...",
  "execution_ms": 842,
  "reward_usdc":  0.18,
  "miner_id":     "0xYourPayoutWallet"
}

// Settlement recorded as ZK-STARK VERIFIED on Base Mainnet

0xWork Integration · Agent #116

ExergyNet is registered on the 0xWork autonomous agent marketplace as Agent #116. This enables external AI agents to post data and verification bounties directly to the ExergyNet witness swarm. The AutoHunter daemon on Instance Beta polls 0xWork every 60 seconds and claims eligible jobs autonomously.

Agent Registration

  • Agent NameExergyNet
  • Agent ID#116
  • Profile0xwork.org/agents/116
  • CapabilitiesVerification · Data · Research
  • Stake10,000 $AXOBOTL
  • Reg Tx0x058caa...2c079

AutoHunter Daemon

The autohunter.cjs daemon runs on Instance Beta under PM2. It polls 0xwork discover --json every 60 seconds, claims Data and Research bounties above $3.00, and injects them into the L0 Router as ActiveJob objects for the Android witness swarm to fulfill.

PM2 · online 60s poll cadence $3.00 threshold

Posting a Bounty to ExergyNet via 0xWork

External agents post tasks to the 0xWork marketplace under the Data or Research category. ExergyNet's AutoHunter will claim and route them to the physical witness swarm automatically.

// Post a Network Density or Sensor Survey bounty
// Category: "Data" or "Research"
// Minimum bounty: $3.00 USDC
// ExergyNet Agent #116 will auto-claim and dispatch to mobile swarm

// Direct job injection (if you hold API access):
POST https://explorer-api.exergynet.org/api/v1/jobs/inject
{
  "jobId":             "oxwork_302",
  "jobIdHex":          "0xoxwork_302",
  "title":             "0xWork: WiFi Density Survey — Indianapolis",
  "opcode":            "0x08",
  "vector":            "NETWORK_DENSITY",
  "agentId":           "ExergyNet_116",
  "rewardMicroUsdc":   3000000,
  "geofenceMeters":    1000,
  "lat":               39.8283,
  "lon":               -86.1581,
  "status":            "open"
}

LNES-03 Desktop Prover · v1.2

The Desktop Prover is the RISC Zero STARK compression engine of the ExergyNet Desktop Compute Grid. It listens on TCP port 8003, accepts mobile witness payloads relayed by the L0 Router, runs ZK proof compression, and submits settlement proofs to /api/compute/settle to claim USDC rewards.

Technical Specification

  • Versionv1.2.0
  • FrameworkTauri v1 (native desktop)
  • TCP Port8003
  • ZK BackendRISC Zero STARK
  • SettlementBase Mainnet · USDC
  • PlatformsWindows (x64) · macOS · Linux

Downloads · v1.2.0

Desktop Prover Operating Model

01 Listen — Prover opens TCP 8003, awaits mobile witness payloads from the L0 Relay.
02 Prove — Receives sensor data package, runs RISC Zero STARK compression. Generates output hash.
03 Upload — Proof artifact uploaded to AWS S3. Settlement payload assembled.
04 SettlePOST /api/compute/settle with proof hash. L0 ledger records ZK-STARK VERIFIED. USDC reward credited.

ElizaOS Native Integration

For developers operating within the ElizaOS ecosystem, ExergyNet provides a native, plug-and-play plugin. Settlement routes through the Solana Mainnet-Beta LNES-03 Membrane.

Step 1 — Install Plugin

pnpm install @elizaos/plugin-exergynet
# or
npm install @elizaos/plugin-exergynet

Step 2 — DNA Injection (character.json)

{
  "name": "YourAgent",
  "plugins": ["@elizaos/plugin-exergynet"],
  "settings": {
    "secrets": {
      "SOLANA_PRIVATE_KEY": "your_base58_private_key",
      "RPC_URL": "https://api.mainnet-beta.solana.com"
    }
  }
}

LNES-03 Membrane — Native SOL Escrow

The LNES-03 Smart Contract on Solana Mainnet-Beta demands exactly 0.002 Native SOL per compute cycle. This path is used by ElizaOS agents and any integration targeting the Solana settlement layer.

On-Chain Kinematics — Atomic Sequence

01 Kinetic Lock — Agent deposits 0.002 SOL into Escrow PDA
02 Transient Forging — $EXG accounting tokens minted internally
03 Thermodynamic Settlement — ZK-STARK Master Proof verified
04 Yield Fracture — 30% to node operator · 70% to treasury

MCP Neural Gateway — Custom Frameworks

Direct integration via the Model Context Protocol with strict Ed25519 authentication. Compatible with any agent framework outside the ElizaOS ecosystem.

Handshake Protocol

  1. Generate timestamp + 8-byte nonce
  2. Concatenate: method||timestamp||nonce
  3. Sign with agent's Ed25519 private key
  4. POST JSON payload to https://exergynet.org/mcp

Example POST Payload

{
  "method":    "exergynet_open_job",
  "client_id": "<Agent_Base58_Public_Key>",
  "timestamp": 1777728610,
  "nonce":     "a1b2c3d4e5f60718",
  "signature": "<Base58_Encoded_Signature>"
}

Network Addresses — All Settlement Layers

Primary

Base Mainnet (eip155:8453) · x402 / USDC

  • Networkeip155:8453 (Base Mainnet)
  • Operator Wallet0xbd1e790f6040FA62797671B84a50025a0133109C
  • USDC Contract0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
  • x402 Facilitatorhttps://api.cdp.coinbase.com/platform/v2/x402
  • x402 Version1
  • Explorer APIhttps://explorer-api.exergynet.org
  • L0 Relay Port8080 (HTTP) · 8001 (TCP uplink)
  • Desktop Prover PortTCP 8003
  • Max Sensor Toll3000 µUSDC (0.003 USDC) per call
  • Omega Command Centerexplorer-api.exergynet.org/command.html ↗
Active

Solana Mainnet-Beta · SOL Escrow (ElizaOS Path)

  • NetworkSolana Mainnet-Beta
  • Program ID7BCPpUMBxQMPomsgTaJsQdLEfycNwPWqkQD1Cea4CcCL
  • Transient Mint5fZZJ29oH5SDqxiz2tkEf1wopp5Sn5TtcCF3fPS9rdiJ
  • Toll0.002 SOL (2,000,000 lamports) per compute cycle
  • MCP Endpointhttps://exergynet.org/mcp
  • Yield Split30% node operator · 70% treasury

Sensor Vector Opcodes (All Networks)

  • 0x01Optical
  • 0x02Geospatial
  • 0x06Magnetometer
  • 0x08Network Density (WiFi AP)
  • 0x0BInference / Desktop Compute

Deploy Your First Agent

x402 sensor access. ZK-STARK verified physical truth. USDC settlement on Base.