https://github.com/mikeal/matrika
Next Generation Decentralized Database
https://github.com/mikeal/matrika
Last synced: 2 months ago
JSON representation
Next Generation Decentralized Database
- Host: GitHub
- URL: https://github.com/mikeal/matrika
- Owner: mikeal
- Created: 2022-05-02T20:32:38.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-04T03:36:33.000Z (over 2 years ago)
- Last Synced: 2024-10-18T09:13:51.538Z (8 months ago)
- Language: JavaScript
- Size: 40 KB
- Stars: 15
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# matrika
A next generation decentralized database.
In `matrika`, databases and indexes are merkle graphs (DAGs) implemented on
Prolly Trees (Probablistic B-Trees) in IPLD.Data is written to CAR files that are pushed to web3.storage and made available
in IPFS. Optionally, these CAR files could be written to other IPFS nodes and Filecoin.# CLI
The main interface at this time is the CLI. Commands are namespaced into the following categories:
* `kv`
## Key Value Store
The key value store is an append only log of changes to a map (implemented as a prolly tree).
It is an efficient key value store that scales to an indefinite size. Concurrent changes
between different actors can be reconciled and *most* conflicts automatically resolved.```
cli.jsCommands:
cli.js kv-create Create new database from JSON string map
cli.js kv-ls [start] [end] List the keys in a database
cli.js kv-get Read single key
cli.js kv-set Write single keyOptions:
--help Show help [boolean]
--version Show version number [boolean]
```