Skip to main content

Product Update - Cultura SDK v0.2.0 Released

This release implements a new streamlined royalty claiming process for off-chain payments and UX improvements to make implementation and sponsorship easier. The parent asset structure has been refactored to use Rights Bound Account addresses, simplifying derivative asset creation. Enhanced query capabilities provide richer data, and new utility functions improve developer experience. This release represents a major update to the Cultura SDK with significant architectural improvements, new features, and some breaking changes. This guide will help you migrate from v0.1.10 to v0.2.0.

Major Changes & New Features

1. BREAKING CHANGE: Parent Asset Structure Refactor

The most significant change in v0.2.0 is the restructuring of parent asset handling for derivative works.

What Changed

  • v0.1.10: Used ParentDigitalAsset type with parentCollection, parentDigitalAssetId, owner, royaltySplit
  • v0.2.0: Uses ParentInfo type with rightsBoundAccount, royaltySplit

Migration Required

Old v0.1.10 Structure:
New v0.2.0 Structure:

How to Get Rights Bound Account Address

You can obtain the Rights Bound Account address for a parent asset in several ways:

2. Enhanced Query System with Richer Data

New Query Features

  • Enhanced Verification Data: verifiedRights queries now include detailed verifications array with individual verifier information
  • Owner Token Counts: digitalAsset.owner now includes tokenCount field
  • Nested Asset Information: Better cross-referencing between digital assets and verified rights

Example of Enhanced Data Usage

3. New Utility Functions

Digital Asset and Verified Rights ID Generation

4. Royalty System UX Improvements

New Off-Chain Payment Methods (Continued from v0.1.10)

The off-chain payment workflow introduced in v0.1.10 has been refined with improved UX:

New Signature Helper Methods

5. NEW: Sponsorship Support

v0.2.0 introduces extensive sponsorship capabilities across the entire royalty and attestation system, enabling third parties to cover transaction costs and execute operations on behalf of others.

Delegated Royalty Operations

Delegated Off-Chain Payment Flow

Rights Bound Account Sponsorship

Attestation Sponsorship

Sponsorship Benefits

  • Gas-Free User Experience: Users can interact without owning native tokens
  • Platform Integration: Marketplaces can sponsor user interactions seamlessly
  • Enterprise Workflows: Complex multi-party operations with clear cost attribution
  • Accessibility: Removes technical barriers for non-crypto native users
  • Flexible Business Models: Enables subscription, freemium, and sponsored content models
  • Scalable Operations: Third parties can batch and optimize transaction execution

6. Enhanced Rights Bound Account Management

New Methods

7. Improved UX with Attestation

Better Developer Experience for Attestation Functions

v0.2.0 improves the developer experience by having attestation functions return the attestationUid and rightsBoundAccount directly instead of just transaction hashes. This eliminates the need for developers to manually wait for transactions and parse receipts.

Migration Checklist

Critical - Required Changes

1. Update Parent Asset Structure

  • Replace all ParentDigitalAsset[] with ParentInfo[]
  • Update minting calls to use Rights Bound Account addresses instead of collection/tokenId/owner
  • Implement Rights Bound Account address lookup for existing parent assets

2. Update Import Statements

3. Leverage Enhanced Query Data

  • Update query result handling to use new verifications array data
  • Use owner.tokenCount information where relevant
  • Implement richer verification displays using detailed verifier information

4. Implement New Utility Functions

  • Use getDigitalAssetUID and getVerifiedRightsId for consistent ID generation
  • Replace manual ID generation with utility functions

5. Enhanced Error Handling

  • Update error handling for new Rights Bound Account requirements
  • Add validation for Rights Bound Account address existence

Example Migration

Before (v0.1.10)

After (v0.2.0)

Common Migration Issues

Issue 1: Rights Bound Account Not Found

Problem: Parent asset doesn’t have a Rights Bound Account address Solution: Ensure the parent asset has been properly attested and verified

Issue 2: Type Errors with Parent Info

Problem: TypeScript errors when switching from ParentDigitalAsset to ParentInfo Solution: Update type imports and structure

Testing Your Migration

  1. Test Parent Asset Queries: Ensure you can successfully retrieve Rights Bound Account addresses
  2. Test Minting: Verify derivative asset minting works with new parent info structure
  3. Test Enhanced Queries: Confirm enhanced query data is accessible
  4. Test Royalty Flows: Verify royalty distribution still works correctly

Getting Help

If you encounter issues during migration: The v0.2.0 update provides a more robust and feature-rich SDK while maintaining backward compatibility where possible. The main breaking change around parent asset structure enables better royalty distribution and cleaner architecture going forward.