-
Notifications
You must be signed in to change notification settings - Fork 23
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
Comments
cc @Jimbo4350 |
@Jimbo4350 Is this something you would have an opinion on? |
Nice! That would be useful to have. Does it have to a sublibrary? This code is pretty self contained so I think it can be simply a module in |
Yes, sorry I failed to notice all the already existing render functions throughout this codebase so I can just put this somewhere that feels consistent. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days. |
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 ascardano-api:pretty
. Our printer just has aTx -> String
interface, but we could also leverage something else likeformatting
.Would this go in this repository? Or somewhere else.
The text was updated successfully, but these errors were encountered: