OpenDPDP SDKs and reference receiver
Last reviewed 1 Dec 2026
The SDKs expose the same surface in two languages: sign a request, verify a receipt, run a receiver.
Install
# JavaScript / TypeScript — install from GitHub until the first npm release.npm install github:dpdpfoundation/opendpdp-sdk-js# Python — install from GitHub until the first PyPI release.pip install git+https://github.com/dpdpfoundation/opendpdp-sdk-pythonBuild and sign a request
import { createFiduciary } from '@dpdpfoundation/opendpdp';
const f = createFiduciary({ baseUrl: 'https://your-fiduciary.example.org', signingKey: process.env.OPENDPDP_SIGNING_KEY,});
const { signed, correlationId } = f.sign({ action: 'erasure', identity: { email_hash: 'sha256:…' },});Verify a receipt
import { verifyReceipt } from '@dpdpfoundation/opendpdp';
const { verified, body } = await verifyReceipt(response.body, { jwksUrl: 'https://processor.example.org/.well-known/jwks.json',});Run the reference receiver
docker run -p 8080:8080 ghcr.io/dpdpfoundation/opendpdp-receiver:latestConfigure handlers to call your data store. See /opendpdp/get-started/processors/.