Skip to content
Not legal advice. OpenDPDP is a community draft. Nothing here is official guidance from MeitY or the Data Protection Board of India.

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

Terminal window
# JavaScript / TypeScript — install from GitHub until the first npm release.
npm install github:dpdpfoundation/opendpdp-sdk-js
Terminal window
# Python — install from GitHub until the first PyPI release.
pip install git+https://github.com/dpdpfoundation/opendpdp-sdk-python

Build 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

Terminal window
docker run -p 8080:8080 ghcr.io/dpdpfoundation/opendpdp-receiver:latest

Configure handlers to call your data store. See /opendpdp/get-started/processors/.