Files
self/contracts/ignition
Nesopie cd897752a6 Feat/new common (#1799)
* feat: common refactor (WIP)

* finish the rest of new-common and use new-common in circuits + contracts tests

* fix: prettier

* fix: yarn.lock

* fix: formatting

* fix: use prod urls for websocket

* fix: websocket url

* fix: remove the ||el flag
2026-03-03 11:17:56 +05:30
..
2026-03-03 11:17:56 +05:30

how to deploy and update the protocol

Main contracts:

  • Hub
  • Registries
    • Passports
    • ID cards

Hub and Registries are following an upgradeable proxy pattern. Use only the Proxy address for everything.

Secondary contracts:

  • vc_and_disclose verifiers
  • vc_and_disclose_id verifiers
  • register verifiers'
  • register id verifiers
  • dsc verifiers

How to update the protocol:

Deploy the Hub V2 and the Identity registry

yarn deploy:hub:v2
yarn deploy:registry:idcard

Set the registries address in the hub

yarn set:hub:v2

Set the verifiers in the hub

yarn set:verifiers:v2

Update the registries

yarn set:registry:hub:v2
```