Skip to content

Instantly share code, notes, and snippets.

@davidawad
Created March 17, 2021 23:00
Show Gist options
  • Save davidawad/664a4c7fd95ee5f817a75df5257eab82 to your computer and use it in GitHub Desktop.
Save davidawad/664a4c7fd95ee5f817a75df5257eab82 to your computer and use it in GitHub Desktop.
// Example Creating an account by using sub-flow (from inside a flow).
val accountInfo: StateAndRef<AccountInfo> = subFlow(CreateAccount("David's account"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment