You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SDK should provide an API to write an event to ceramic-one. The API should accept the JSON content of the document. It should then compute the diff and sign the event build the CAR file and submit the event to ceramic-one.
Implementation Notes
In order to do the diff the SDK will need to know the current state of the document. There are two ways know the state:
Query the state via the ceramic-one API
Cache the state from a previous write
We should prefer to cache the state over doing a read from the API for every write.
DOD
Be able to write data to ceramic-one with a convenient API that abstract the details of constructing the event CAR data
Code is browser compatible
Minimize the amount of read call to the API that are needed
The text was updated successfully, but these errors were encountered:
The SDK should provide an API to write an event to ceramic-one. The API should accept the JSON content of the document. It should then compute the diff and sign the event build the CAR file and submit the event to ceramic-one.
Implementation Notes
In order to do the diff the SDK will need to know the current state of the document. There are two ways know the state:
We should prefer to cache the state over doing a read from the API for every write.
DOD
The text was updated successfully, but these errors were encountered: