You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but looking at the code linked from the docs here: https://go.dev/play/p/3id7HAhf-Wi
it only uses the schema @id to create the hash
lastly iden3 bytes to bigint reverses the byte order which is also confusing, when trying to recreate the hash using other code
This happens also when verifying the challenge on chain
iden3/polygon docs should be updated to reflect the correct way to calculate the hash
the go code should just ask for credential type+id instead of pasting the whole credential
the reversal of the bytes should be mentioned in multiple places, that would help future dev avoid this confusion
Activity
OBrezhniev commentedon Jul 4, 2024
@sirpy thanks for the report!
@0xpulkit please take a look on how we can improve this part of the docs