create-eigenbox
v0.1.1
Published
Scaffold an Eigen-verified app. Build your app in any language; the box's TEE gateway attests every response on EigenCompute.
Downloads
319
Maintainers
Readme
create-eigenbox
Scaffold an Eigen-verified app in seconds. Build your app normally, in any language; the box's gateway runs in an EigenCompute TEE, fronts your app, and signs every response with the app's TEE key. Your code needs zero Eigen-specific lines.
npx create-eigenbox my-app
cd my-app && npm install && npm run devTemplates
Pick one at create time (or pass --template):
- fullstack-todo (default) — TS/React UI + API behind the gateway, with a live "Verified on Eigen" badge and a demo todo.
- api — a TS JSON API plus a static page that shows the verified badge.
- blank — just the box + a one-file server. Bring your own app.
npx create-eigenbox my-app --template apiWhat you get
Your app, the gateway (vendored, with a prebuilt binary for local dev), a
multi-stage Dockerfile, and a one-command deploy:
npm install -g @layr-labs/ecloud-cli
ecloud auth generate --store
ecloud billing subscribe
npm run deployEvery response your app returns comes out attested, verifiable by anyone via the
X-Eigen-* headers. The gateway is language-agnostic — point APP_CMD/APP_PORT
at a Go/Python/Rust server and it attests that just the same.
Source and docs: https://github.com/owizdom/eigenbox
