Created
October 24, 2021 07:30
-
-
Save ashutoshmeher-r3/818d0d4c409d970877d31f4ede2b8039 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
@InitiatingFlow | |
@StartableByRPC | |
public class IssueLandTitleFlow implements Flow<Void>{ | |
@CordaInject | |
private NotaryLookupService notaryLookupService; | |
@CordaInject | |
private FlowIdentity flowIdentity; | |
@CordaInject | |
private IdentityService identityService; | |
@Override | |
@Suspendable | |
public Void call() { | |
Party notary = notaryLookupService.getNotaryIdentities().get(0); | |
Party owner = identityService.partyFromName(CordaX500Name.parse(<owner passed to the flow>)); | |
Party issuer = flowIdentity.getOurIdentity(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment