Skip to content
CCPEDIAby Unity Nodes
App Development

How to check if parties have been properly created?

3 posts372 views5 likesLast activity Jun 2022

  1. rikotacardsOP

    Following the steps in create-daml-app, I’d like to simply check if the script that was run properly created the parties.

    setup = do
      public <- createPublic
      let aliases = ["Alice", "Bob", "Charlie", "Ron"]
      forA_ aliases $ \alias -> createTestUser $ TestUser alias public
    

    Is there a CLI command for this? Thanks!

  2. Julius_William 4

    @rikotacards Once you run your local ledger and the script to create parties, you should be able to check the parties available using

    daml ledger list-parties
    
  3. rikotacards 1

    Thanks!