1.0.2 • Published 1 year ago
@orbitdb/identity-provider-did v1.0.2
OrbitDB DID Identity Provider
Create and sign OrbitDB identities using a Decentralized IDentifier (DID). See https://www.w3.org/TR/did-core/.
Project status & support
- Status: in active development
- Compatible with orbitdb versions >= 1.0.0
Install
This project uses npm and nodejs.
npm i @orbitdb/identity-provider-did
Usage
Use addIdentityProvider to make the DID identity provider available to OrbitDB, then pass the type
param to createIdentity with the identity provider name "did":
// Fill out with actual use case
import * as OrbitDBIdentityProviderDID from '@orbitdb/identity-provider-did'
import { create } from 'ipfs-core'
import { Identities, addIdentityProvider } from '@orbitdb/core'
const ipfs = await create()
addIdentityProvider(OrbitDBIdentityProviderDID)
const identities = await Identities({ ipfs })
const identity = await identities.createIdentity({ id: 'userA', type: 'ethereum' }) // you can now use this with your OrbitDB databases.
Contributing
Take a look at our organization-wide Contributing Guide. You'll find most of your questions answered there. Some questions may be answered in the FAQ, as well.
If you want to code but don't know where to start, check out the issues labelled "help wanted".
License
MIT Haja Networks Oy, OrbitDB Community
1.0.3-382d24b.0
1 year ago
1.0.2
1 year ago
1.0.3-a7445b1.0
1 year ago
1.0.2-35d5289.0
1 year ago
1.0.2-b77742c.0
2 years ago
1.0.1
2 years ago
1.0.1-8e708ba.0
2 years ago
1.0.0
2 years ago
1.0.1-7bcb91c.0
2 years ago
0.31.1-26264dc.0
2 years ago
0.31.1-0a6b0a0.0
2 years ago
0.30.2-5d39166.0
2 years ago
0.30.2-cfc5009.0
2 years ago
0.30.0
2 years ago