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
I am currently working on https://github.com/tabcat/dd-tree which will be the core structure for the database.
It has not been simple but I am making small progress daily.
It is the hardest part of the project from a technical standpoint and I want to have a solid solution that will last.
To track this project's progress see this issue: https://github.com/hldb/welo/issues/102
import{createHelia}from'helia'import{createWelo}from'welo'/** look at Helia for more configuration */constipfs=awaitcreateHelia()/** see more config options in the API docs */constwelo=awaitcreateWelo({ ipfs })/** create a manifest for a keyvalue database */constmanifest=awaitwelo.determine({name: 'this is the databases name',type: 'keyvalue'})/** open the keyvalue database */constkeyvalue=awaitwelo.open(manifest)/** The keyvalue API docs are not uploaded yet */constentryCID=awaitkeyvalue.put('key','value')constvalue=awaitkeyvalue.get('key')constentryCID=awaitkeyvalue.del('key')
Check out the tests for more usage examples for now.