Skip to content

Instantly share code, notes, and snippets.

@csuwildcat
Created November 6, 2023 16:59
Show Gist options
  • Save csuwildcat/79143252cf177cb2c0abf7e6b50f26f0 to your computer and use it in GitHub Desktop.
Save csuwildcat/79143252cf177cb2c0abf7e6b50f26f0 to your computer and use it in GitHub Desktop.
{
"method": "ProtocolsConfigure",
"definition": {
"protocol": "https://identity.foundation/protocols/credentials",
"types": {
"issuanceTransaction": {
"schema": "https://identity.foundation/presentation-exchange/presentation-definition",
"dataFormat": [
"application/json"
]
},
"presentationSubmission": {
"schema": "https://identity.foundation/presentation-exchange/presentation-submission",
"dataFormat": [
"application/json"
]
},
"deliveredCredential": {
"schema": "https://identity.foundation/presentation-exchange/credential-fulfillment",
"dataFormat": [
"application/json"
]
}
},
"structure": {
"issuanceTransaction": {
"presentationSubmission": {
'$actions': [
{
who: 'recipient',
of: 'verificationTransaction',
can: 'write'
}
],
'deliveredCredential': {
'$actions': [
{
who: 'author',
of: 'issuanceTransaction',
can: 'write'
}
]
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment