Yjs database provider using Swarm Feeds Sequential mechanism for decentralized document synchronization. Current version 0.2.13 (alpha). Released on GitHub with no fixed cadence. Key differentiator: uses Sequential feed (more efficient than Epoch), complete TypeScript implementation, avoids Beeson dependency for simplicity. Integrates with @ethersphere/bee-js and @fairdatasociety/fdp-storage. Suitable for building collaborative applications on Swarm/Ethereum Swarm network.
npm install y-fdp-storageNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a FdpStoragePersistence instance, connect to Bee, and sync Yjs document updates to Swarm Feed.
Update constructor call to include postageBatchId: new FdpStoragePersistence(bee, wallet, topic, batchId)
Use persistence.store(update) instead if you need to handle errors
Ensure private key is lowercase and without 0x: '634fb5a8...' not '0x634f...'
Call close() when no longer needed, e.g., on component unmount
Use storeUpdate() and subscribe() to keep a local doc in sync continuously
Use ES module import: import { FdpStoragePersistence } from 'y-fdp-storage'Ensure private key is exactly 64 hex characters (32 bytes) without 0x prefix
Check that postageBatchId is valid and funded on the Bee node
Start Bee node on http://localhost:1633 or update the URL