Skip to content

wakeuplabs-io/opid

Repository files navigation

Optimism privado id

Collection of repositories that allow for privadoid to run on optimism.

Learn more about Optimism Id

Repo overview

This repo is a collection of repos, mostly forks of privadoid and iden3, that allow to run an identity system in the optimism chain. We'll mention each of them and shortly explain what you can find there:

  • contracts: IDEN3 Smart Contracts.
  • docs: Opid documentation based on privado's but customed for optimism.
  • examples:
    • contracts: Example contracts using verifiers.
    • demo: Frontend implementation that connects to contracts and issuer-node for showcase porpoise.
    • js-sdk: Examples on the js-sdk on how to do multiple relevant things.
  • issuer-node: Privado ID issuer fork adapted to support opid and optimism out of the box.
  • issuer-node-gcp: Deployment for GCP of the issuer-node.
  • js-sdk: Privado ID js sdk fork adapted to support opid and optimism out of the box.
  • method: This repository contains the did:opid DID Method Specification.

Opstack integration proposition

In this section we'll propose a way for the optimism chains created with opstack can benefit from the identity sdk out of the box and with minimal effort.

To do this it's important to recognize the components that conform the identity kit.

  • Onchain State and Validators.
  • Onchain or Offchain Issuer plus associated services.
  • Dapps and wallets leveraging the issued credentials.

Out of this 3 components we easily identify the Onchain State and Validators as the core and universal component on which all the ecosystem is built. These contracts can be found here and like we said are essential for having identity onchain. Therefore we propose incorporating them as as preinstalled component in the optimism stack similar to contracts stated here in the optimism documentation.

There's no particular documentation regarding how to add contracts as preinstalls but we found issue #395 that links to commit the following commit where we can see how the l2 genesis is formed and so inspecting the repository we found the following places where modifications may be needed:

We believe incorporating Iden3 contracts adapted for optimism as pre-installs will have a positive impact in allowing developers easily create identity based applications in any optimism-stacked based chain with minimal effort.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published