Skip to content

Instantly share code, notes, and snippets.

@ilya-korotya
Last active January 27, 2025 12:45
Show Gist options
  • Save ilya-korotya/1a9a47b4aa61b0fbf128cf01bb77434d to your computer and use it in GitHub Desktop.
Save ilya-korotya/1a9a47b4aa61b0fbf128cf01bb77434d to your computer and use it in GitHub Desktop.
PrivatelyVerificationUrl
{
"body": {
"scope": [
{
"circuitId": "credentialAtomicQueryV3OnChain-beta.1",
"id": 340,
"query": {
"allowedIssuers": [
"did:polygonid:polygon:amoy:2qUHinu25DSrNn136LtfuRACPYRw39qD7xRgDCBYUK"
],
"context": "https://gist.githubusercontent.com/ilya-korotya/64beaaa0b561a11cabc6ce99d956d7a0/raw/f27afaf0286118f90461d1315788d68ef8aae4ba/PrivatelyAgeV2.jsonld",
"type": "PrivatelyAgeVerification",
"credentialSubject": {
"minAge": {
"$gte": 18
}
}
},
"params": {
"nullifierSessionId": 340
}
}
],
"transaction_data": {
"contract_address": "0xfcc86A79fCb057A8e55C6B853dff9479C3cf607c",
"function_name": "submitZKPResponseV2",
"method_id": "0xade09fcd",
"chain_id": 80002,
"network": "polygon_amoy"
}
},
"from": "did:iden3:polygon:amoy:x6x5sor7zpy8E6frBHhrTvsfVVoqEc9a9EGQSB1B6",
"id": "0d02b9e1-0113-422f-b91b-02618a178bfc",
"thid": "0d02b9e1-0113-422f-b91b-02618a178bfc",
"typ": "application/iden3comm-plain-json",
"type": "https://iden3-communication.io/proofs/1.0/contract-invoke-request"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment