> ## Documentation Index
> Fetch the complete documentation index at: https://docs.datafdn.org/llms.txt
> Use this file to discover all available pages before exploring further.

# SDK Reference Overview

> Overview of all available DATA Foundation TypeScript SDKs

The DATA Foundation provides two TypeScript SDKs for building on the protocol:

| Package                                                              | Description                                                                 | Install                                                       | GitHub                                                     |
| -------------------------------------------------------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------- | ---------------------------------------------------------- |
| <Icon icon="screwdriver-wrench" iconType="solid" /> **Protocol SDK** | Register IP Assets, manage licensing, royalties, disputes, and more         | [npm](https://www.npmjs.com/package/@story-protocol/core-sdk) | [Code](https://github.com/thedatafoundation/sdk/tree/main) |
| <Icon icon="lock" iconType="solid" /> **CDR SDK**                    | Threshold encryption, confidential data vaults, and on-chain access control | [npm](https://www.npmjs.com/package/@piplabs/cdr-sdk)         | [Code](https://github.com/piplabs/cdr-sdk)                 |

A Python SDK is also available for the Protocol SDK:

| Package                                                           | Description                                                 | PyPi                                                       | GitHub                                                  |
| ----------------------------------------------------------------- | ----------------------------------------------------------- | ---------------------------------------------------------- | ------------------------------------------------------- |
| <Icon icon="python" iconType="solid" /> **Protocol SDK (Python)** | Python client for IP Assets, licensing, royalties, and more | [PyPi](https://pypi.org/project/story-protocol-python-sdk) | [Code](https://github.com/thedatafoundation/python-sdk) |

***

## 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.

<CardGroup cols={2}>
  <Card title="Step-by-Step Guide" icon="house" href="/developers/typescript-sdk">
    Learn the Protocol SDK through a series of tutorials.
  </Card>

  <Card title="Python SDK" icon="python" href="/sdk-reference/python">
    Switch to the Python SDK reference.
  </Card>
</CardGroup>

***

## 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`.

<CardGroup cols={2}>
  <Card title="Step-by-Step Guide" icon="house" href="/developers/cdr-sdk">
    Learn CDR through a series of integration tutorials.
  </Card>

  <Card title="CDR SDK Reference" icon="lock" href="/sdk-reference/cdr/overview">
    Jump to the full CDR API reference.
  </Card>
</CardGroup>
