Offline Sync Engine
Offline-first CRDT-based sync engine for Flutter and Dart.
Features
- Operation-based CRDT
- Vector clock conflict resolution
- Deterministic merge
- Multi-device safe
- Idempotent operations
- Offline-first architecture
Usage
Implement LocalStore and RemoteTransport.
Then:
final engine = CRDTSyncEngine(
store: myLocalStore,
transport: myTransport,
deviceId: "device_123",
);
await engine.createOrUpdate("user1", {"name": "Harsh"});
await engine.sync();