Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

daml ledger export: feature request - export ALL parties #10436

Closed
maxdeliso-da opened this issue Jul 28, 2021 · 0 comments · Fixed by #10588
Closed

daml ledger export: feature request - export ALL parties #10436

maxdeliso-da opened this issue Jul 28, 2021 · 0 comments · Fixed by #10588

Comments

@maxdeliso-da
Copy link

Working with the ledger export tool, I would like to be able to export the entirety of the ledger contents, without having to enumerate the relevant parties myself.

It's possible to add this feature from the outside, using shellscripts:

daml ledger export script --host localhost --port 6865 --sdk-version 0.0.0 --output out/test --party $(daml ledger list-parties --host localhost --port 6865 --json | jq '.[] | .party' | awk '{printf "%s%s", NR==1?"":",", $1;'} | tr -d '"' | tr -d '\r')

I think it's enough of a common use case that it's fair to request it in the tool proper.

Could there be an --allParties flag added?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants