iden3 / go-iden3-core

Go core implementation of the iden3 system
https://docs.iden3.io
Apache License 2.0
90 stars 34 forks source link

Add ClaimOtherIden to showcase zk credential #372

Closed ed255 closed 4 years ago

ed255 commented 4 years ago

I have added a new claim type called ClaimOtherIden that is very similar to ClaimBasic but has a subject OtherIden in the index. The idea is to use this claim to showcase the zkproof of having received a claim.

I have also rearranged the code in claim.go to separate the code that defines the generic part of a claim claim.go and the code that needs to be changed every time a new claim is added claim_types.go.

I have also updated the claim metadata code to follow the last discussed spec (new header bit flags for the claim subject, and new naming)