@rsksmart/rif-id-core
v0.1.0
Published
RIF Identity - Core
Downloads
9
Readme
npm i @rsksmart/rif-id-core
This module includes basic functionality for managing decentralized identities (Ethr DIDs), operating with W3C credentials, interacting with a user-centric Data Vault and operate with RIF communication protocols.
Features
- Decentralized identities:
- Create identity
- Get create identities
Usage
First of all you need to pick a DB engine (typeorm
) and setup the uPort DAF agent. The uPort Agent will be responsible for all Identity, W3C and JWT compatible operations. It will also use the database to store information.
On top of uPort DAF agent, RIF Identity implements Redux.js reducers to seamlessly perform identity and credential operations. The reducers are implemented in slices, they can be optionally plugged into an existent Redux.js reducer integrating whole RIF implementations.
- Integrating Identity reducer (mandatory)
Todo
Extend
- Identity
Test
From base repo directory run npm test
or any of the described test script variants.
References
- DID v1.0: https://w3c.github.io/did-core/
- uPort DID: https://github.com/uport-project/ethr-did