mimo-orbit
Custom identity store on OrbitDB
An key-value store refactored to accept digital signatures. Add new claims about your identity to the DB. It uses digital signatures to ensure that all data added to the DB has been approved by the owner of the identity.
Table of Contents
Install
npm install mimostore
Usage
First, create an instance of OrbitDB and Web3:
const IPFS = const OrbitDB = const MimoStore = const ipfs = // add MimoStore to orbitdbOrbitDB // instantiate MimoStoreconst orbitdb = ipfsconst mimostore = orbitdb
Add a claim to it, if the signature of the data is a valid one then the data will be added successfully:
await store
Later, when the database contains data, query whenever:
await store
API
See the commented code in the codebase
License
MIT © 2018 Ghilia Weldesselasie