Fetches the specified data.
The logical ID of the record that references the data.
The IPFS CID of the data.
the data size and data stream if found, otherwise undefined
.
Stores the given data.
The logical ID of the record that references the data.
The IPFS CID of the data.
A simple implementation of DataStore that works in both the browser and server-side. Leverages LevelDB under the hood.
It has the following structure ( + + ->
+
represents an additional sublevel/partition): 'data' +