Skip to content
Discussions/App Development/View signatories in DAML studio table outputForum ↗

View signatories in DAML studio table output

App Development5 posts869 views13 likesLast activity Jul 2020
AX
Axman6-daOP
Jun 2020

I’m currently learning DAML and have found myself asking a lot “who are the signatories of this contract?”, particularly in the table view. I wondered if there’s some easy way to who they are. It’s also not particularly clear to me in the transaction view either but I may not be understanding its output.

I also thought that it would be nice if the UI highlighted different types of parties in the columns - a signatory could be underlined (mnemonic being that you sign a contract on the line), observers could be in italics etc.

CO
cocreature
Jun 2020

At the moment you cannot display them in the table output but I fully agree that this would be useful!

The best option I’m aware of atm is to use a trace statement and then look at the transaction view. E.g., if you have a contract id cid you can use

  c <- submit myparty (fetch cid)
  debug (signatory c)

to print out the signatories. However, that requires that you have a party that can fetch this contract and that you have access to a contract id so it might be tricky to use in some cases.

AN
anthony
Jun 2020

This is a great suggestion.

I opened an issue for it.

github.com/digital-asset/daml

Great suggestion from Alex Mason on our forum: I’m currently learning DAML and have found myself asking a lot “who are the...

AN
anthony
Jun 2020

@Martin_Huschenbett integrated this suggestion and some other improvements to the transaction view. Check it out.

github.com/digital-asset/daml

Display why a party knows about a contract in table view

digital-asset:masterdigital-asset:table-view-signatories-and-observers
opened 10:45AM - 24 Jun 20 UTC
AX
Axman6-da
Jul 2020

This is fantastic, thanks @Martin_Huschenbett!

← Back to Discussions