Skip to content

Instantly share code, notes, and snippets.

@da-blog
Created August 1, 2023 15:47
Show Gist options
  • Save da-blog/c28bd1134a20bd322086e51cadee1ad1 to your computer and use it in GitHub Desktop.
Save da-blog/c28bd1134a20bd322086e51cadee1ad1 to your computer and use it in GitHub Desktop.
template CitizenRole
with
operator : Party
citizen : Party
citizendetails : CitizenDetails
verifiablecredentials : VerifiableCredentials
where
signatory operator, citizen
key (operator, citizen) : (Party, Party)
maintainer key._1
controller citizen can
nonconsuming RequestTest : ContractId TestRequest
with
healthclinic: Party
do
create TestRequest with healthclinic, citizen, operator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment