Server route for your website
// app/api/yieldboost/aws-nitro-fortress/route.ts
import { NextRequest, NextResponse } from "next/server";

export async function POST(req: NextRequest) {
  const payload = await req.json();

  const response = await fetch(
    "https://dev.yieldboostai.xyz/api/dev/store/aws-nitro-fortress",
    {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
        Authorization: `Bearer ${process.env.YIELDBOOST_API_KEY}`,
      },
      body: JSON.stringify(payload),
    },
  );

  const data = await response.json();
  return NextResponse.json(data, { status: response.status });
}
Browser calls your own backend
// Browser code in your web app
const response = await fetch("/api/yieldboost/aws-nitro-fortress", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "requestId": "nitro-demo-001",
    "network": "mainnet",
    "operation": "seal_secret",
    "secret": "arb route alpha",
    "operator": "judge-demo",
    "sdkMode": "marketplace-playground"
  }),
});

const verified = await response.json();
Node or edge runtime
const response = await fetch("https://dev.yieldboostai.xyz/api/dev/store/aws-nitro-fortress", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    Authorization: `Bearer ${process.env.YIELDBOOST_API_KEY}`,
  },
  body: JSON.stringify({
    "requestId": "nitro-demo-001",
    "network": "mainnet",
    "operation": "seal_secret",
    "secret": "arb route alpha",
    "operator": "judge-demo",
    "sdkMode": "marketplace-playground"
  }),
});

const verified = await response.json();
cURL smoke test
curl -X POST https://dev.yieldboostai.xyz/api/dev/store/aws-nitro-fortress \
  -H "Authorization: Bearer $YIELDBOOST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{  "requestId": "nitro-demo-001",  "network": "mainnet",  "operation": "seal_secret",  "secret": "arb route alpha",  "operator": "judge-demo",  "sdkMode": "marketplace-playground"}'
Response shape
{
  "status": "success",
  "security": "AWS Nitro + 0G Storage + 0G TEE Verified",
  "network": "mainnet",
  "mode": "live-demo | protocol-sdk",
  "fortress": {
    "host": "nitro.yieldboostai.xyz",
    "survives_destruct": true
  },
  "nitro_enclave": {
    "attestation_doc_id": "attest-...",
    "attestation_summary": "Nitro enclave identity locked and sealed."
  },
  "tee_badge": {
    "provider": "0G TEE",
    "status": "verified"
  },
  "screening": {
    "anti_sybil": "passed",
    "alibaba_behavior_fingerprint": "checked"
  },
  "incident_journal": {
    "storage_url": "0g://..."
  },
  "zk_proof": "0x...",
  "0g_storage_url": "0g://..."
}