ethers.js icon indicating copy to clipboard operation
ethers.js copied to clipboard

Export util formating methods like so others could extends

Open zfy0701 opened this issue 1 year ago • 2 comments

as I explain here: https://github.com/ethers-io/ethers.js/issues/3829

it's very useful if we export the formatting utils, since etherjs not support all the data types, e.g. geth trace, parity trace, etc, better let people could extends according to it's need

zfy0701 avatar May 29 '24 09:05 zfy0701

Yes. I agree. With the exports available in modern node, it is also easy to do in a way that doesn't pollute the global namespace. This is definitely on my radar, as it will help with Networks which are less standard as well.

Thanks! :)

ricmoo avatar May 29 '24 17:05 ricmoo

yeah, in that way, maybe we should move all formatting related stuff to ./format and then export as ethers/format ?

zfy0701 avatar May 30 '24 13:05 zfy0701