Ocean Protocol v4 Migration Library

JSON →
library 0.0.2 ·javascript
verified Jun 7, 2026

A JavaScript/TypeScript library for migrating data from Ocean Protocol v3 to v4. Current stable version is 0.0.2, with no regular release cadence yet. It provides functions to fetch and transform metadata, pricing, and datatoken information from Ocean Protocol's v3 contracts and Aquarius metadata cache. Key differentiators: it specifically handles the breaking changes between Ocean Protocol v3 and v4, including the switch from DDO v3 to DDO v4 schemas. The library is ESM-only and ships TypeScript types. It is intended to be used in Node.js environments and requires a connection to an Aquarius instance.