Created
August 1, 2023 15:58
-
-
Save da-blog/bdab53b9300487f84e39414566059ca9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data VerifiableCredentials = VerifiableCredentials | |
with | |
connectionid : Text | |
holder_did : Text | |
issuer_did : Text | |
deriving (Eq, Show) | |
controller healthClinic can | |
nonconsuming SetVerifiableCredentials : ContractId CitizenCredentialsProposal | |
with | |
newverifiablecredentials : VerifiableCredentials | |
citizen: Party | |
do | |
create CitizenCredentialsProposal with citizen, verifiablecredentials = newverifiablecredentials |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment