Skip to main content
Story 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 controlSource installCode
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 Story’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.

Licensing Module

Register an IP Asset

Learn how to register an IP asset using the SDK.

Mint & Attach License Terms

Learn how to mint and attach license terms using the SDK.

Royalty Module

Pay & Claim Royalty

Learn how to pay and claim royalty using the SDK.

Dispute Module

Raise a Dispute

Learn how to raise a dispute using the SDK.

Grouping Module

Manage Groups

Learn how to manage groups using the SDK.

Utility Clients

Set Permissions

Learn how to set permissions using the SDK.

NFT Client

Interact with SPG NFTs using the SDK.

WIP Client

Learn how to use the WIP client using the SDK.

CDR SDK

The CDR SDK (@piplabs/cdr-sdk) provides a TypeScript client for Story’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 installable from source today and is not yet published to npm.

Step-by-Step Guide

Learn CDR through a series of integration tutorials.

CDR SDK Reference

Jump to the full CDR API reference.