DID using Zkp like digilocker using the web3

Hello Devs i assigned to create a DID but idk why im getting lot of errors can you guys help me

project details Doc

https://docs.google.com/document/d/1D6AhScDAKJKF8K3Sk6Zs1X1ENz5K3dbWA4XoHHwlGtg/edit?usp=sharing

1 Like

It would be easier to help if you could paste the actual error messages and say which step produces them, for example compiling the contract, deploying it, or resolving the identifier afterwards. The Solidity or Hardhat version and the network you deploy to also matter, because many DID errors come from a version mismatch or a wrong chain configuration.

As far as I know, a common structure for a project like this is to keep personal documents off-chain, anchor only a hash or a public key reference on-chain, and use a zero-knowledge proof only for the part that needs selective disclosure, such as proving an attribute without revealing the document. Building the basic DID record first, with create, resolve and update working, and adding the ZK step afterwards usually makes debugging much simpler.