mirror of
https://github.com/selfxyz/self.git
synced 2026-02-19 02:24:25 -05:00
* feat: celo mainnet deployments * fix: upgrade script now reads version from contract directly * fix: add library linking for kyc related contracts in upgrade script * feat: IdentityVerificationHub v2.13.0 deployed on Celo - Implementation: 0x0D911083b2F2236D79EF20bb58AAf6009a1220B5 - Changelog: Upgrade * feat: update with new gcpJwtVerifier contract * chore: yarn prettier * Feat/new gcp verifier (#1719) * feat: new gcp jwt verifier * lint: contracts --------- Co-authored-by: Nesopie <87437291+Nesopie@users.noreply.github.com>
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
```