Skip to main content
The DATA Foundation provides two TypeScript SDKs for building on the protocol:
PackageDescriptionInstallGitHub
Protocol SDKRegister IP Assets, manage licensing, royalties, disputes, and morenpmCode
CDR SDKThreshold encryption, confidential data vaults, and on-chain access controlnpmCode
A Python SDK is also available for the Protocol SDK:
PackageDescriptionPyPiGitHub
Protocol SDK (Python)Python client for IP Assets, licensing, royalties, and morePyPiCode

Protocol SDK

The Protocol SDK (@story-protocol/core-sdk) is the primary SDK for interacting with the DATA Foundation’s IP management layer. Use it to register IP Assets, attach license terms, mint license tokens, manage royalties, raise disputes, and more.

Step-by-Step Guide

Learn the Protocol SDK through a series of tutorials.

Python SDK

Switch to the Python SDK reference.

CDR SDK

The CDR SDK (@piplabs/cdr-sdk) provides a TypeScript client for the DATA Foundation’s Confidential Data Rails system. The current release targets Aeneid and covers both on-chain secret vaults (uploadCDR / accessCDR) and encrypted-file workflows (uploadFile / downloadFile). The package is published to npm as @piplabs/cdr-sdk.

Step-by-Step Guide

Learn CDR through a series of integration tutorials.

CDR SDK Reference

Jump to the full CDR API reference.