You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 cardano-api.
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.
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: