Skip to main content

Backend Verifiable Wallet API

Documentation for the backend-veri-wallet NestJS service that issues, stores, and verifies verifiable credential JSON objects.

Overview

  • Tech stack: NestJS (Node.js), TypeScript, file-based persistence (data/credentials.json, encrypted data/keypair.json).
  • Signing: Ed25519 with deterministic JSON serialization; public key is stored alongside each credential.
  • Validation: Global validation pipe is enabled (whitelist + forbid non-whitelisted + transform).
  • Default port: 3000 (override with PORT env var). CORS is enabled.
  • Key storage: key pair is encrypted at rest with KEYPAIR_PASSPHRASE (required).