⚙️ SDK Quickstart

Zor’s SDK makes building private apps as simple as running a web server.

  • Automatically encrypts and routes all traffic.

  • Handles payments and relay proof submission.

  • Manages node discovery via the decentralized DHT.

  • Integrates with ZCert for verified endpoints.

You focus on building your app — Zor handles the privacy.

Install it via NPM:

npm install zor-sdk

Then create your first .zor service:

import { createZorServer } from "zor-sdk"

const app = createZorServer()

app.get("/hello", (req, res) => {
  res.send("👋 Hello from inside Zor!")
})

app.listen()

Once deployed, your app becomes instantly reachable at a private address like:

zor://a1b2c3d4.zor

Last updated