orbitdb-archive / orbit-db-identity-provider

Default identity provider for OrbitDB
MIT License
31 stars 17 forks source link

feat: Add provider for Decentralized Identifiers (DID) #62

Closed oed closed 3 years ago

oed commented 3 years ago

This PR adds support for using DIDs as identities in OrbitDB. It uses the dids package under the hood, which relies on EIP2844.

In addition I changed to a smaller dependency for the EthIdentityProvider, and made sure to export the Ethereum and DID providers so they are accessible by developers.

aphelionz commented 3 years ago

This is really cool, thank you!

Looks like you have some linting to take care of but otherwise, pending some local testing on my part, this looks pretty good and nonintrusive enough to merge in.

aphelionz commented 3 years ago

Also thank you for fixing the ether dep :pray:

oed commented 3 years ago

Thanks @aphelionz fixed the linting :)