6. Deploy to production
Local works — now ship the node and the dataview, and point the app at them. All three are Cloudflare Workers.
Node. Deploy the production node (see Run a Node → Deploy):
cd impl-node/cf-worker
yarn wrangler deploy # → https://<your-node>.workers.devDataview. Set its signing secret and the production node URL, then deploy:
cd impl-cli/apps/personal/dataview
wrangler secret put DATAVIEW_PRIVATE_KEY # paste a real 32-byte hex key
./deploy.sh --var NODE_URL:https://<your-node>.workers.devApp. Point the helper at the deployed node — the same code you ran locally:
import { createPersonalSdk } from './enc-personal.mjs'
const sdk = await createPersonalSdk({ nodeUrl: 'https://your-node.example.com' })Then ship the frontend to any static host. Per-enclave isolation, geo-routing, and scaling are
handled by the node's Durable Object model; the dataview keeps the public profiles feed live.
Verify the deploy end-to-end with the node's test harness (see Run a Node → Verify).
🎉 You've built and shipped a custom Personal app on ENC — local node, dataview, enclave, frontend, tests, and production, all on one verifiable protocol.