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

[FR] - Pretty printer for Tx #707

Open
locallycompact opened this issue Dec 10, 2024 · 2 comments
Open

[FR] - Pretty printer for Tx #707

locallycompact opened this issue Dec 10, 2024 · 2 comments

Comments

@locallycompact
Copy link
Contributor

We have a simple pretty printer for Tx in hydra.

https://github.com/cardano-scaling/hydra/blob/2b20fb7b53b3df37ae9607b7acbd18627f260d6e/hydra-cardano-api/src/Hydra/Cardano/Api/Pretty.hs

We want to factor this out to its own library, perhaps this could be ported to cardano-api under a sublibrary such as cardano-api:pretty. Our printer just has a Tx -> String interface, but we could also leverage something else like formatting.

Would this go in this repository? Or somewhere else.

@smelc
Copy link
Contributor

smelc commented Dec 10, 2024

cc @Jimbo4350

@locallycompact
Copy link
Contributor Author

@Jimbo4350 Is this something you would have an opinion on?

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

No branches or pull requests

2 participants