@identium/api
v1.0.0
Published
The backend server for the Identium Identity Layer. Handles identity persistence, ownership claiming, and milestone tracking.
Downloads
8
Readme
@identium/api
The backend server for the Identium Identity Layer. Handles identity persistence, ownership claiming, and milestone tracking.
Features
- Identity Registry: Stores agent IDs and personality traits.
- Ownership Flow: Securely claim agents using Unique Agent Keys (UAK).
- PRISMA Powered: Robust database management with SQLite/PostgreSQL support.
- Rate Limited: Built-in production safety.
Setup
Configure
.env:DATABASE_URL="file:./dev.db" PORT=3000Generate Prisma client:
npx prisma generateStart the server:
npm run start
API Endpoints
POST /api/identities/genesis: Create a new identity.GET /api/identities/:id: Retrieve agent profile.POST /api/claim: Attach agent to owner.
License
ISC
