0.0.2 • Published 2 months ago

@trust0/identus-store-rxdb v0.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

WARNING:: We are no longer going to be maintaining pluto-encrypted. Please use Hyperledger Identus Store, based on RIDB exports the same Pluto instance but using a complete renovated and modern database wrapper.

RXDB is a robust project so this project can still be used for Identus and other database projects. What this means is that from now on, I'll prioritise RIDB development over this. Thanks for support

Usage

npm install @trust0/identus-store-rxdb

Then use it in your Identus Agent SDK Implementation

import SDK from "@hyperledger/identus-edge-agent-sdk";
import InMemory from "@pluto-encrypted/inmemory"; // or any other compatible store


const store = new RxdbStore({
    name: 'test' + randomUUID(),
    storage: InMemory,
    password: Buffer.from("demoapp").toString("hex")
});

const pluto = new SDK.Pluto(store, apollo);

await pluto.start(); // pass pluto to your agent to use it as storage, starting is optional
0.0.2

2 months ago

0.0.1

2 months ago