Closed yingshaoxo closed 8 months ago
I think there are none for now, myself personally I use a generalized and simplified versions of from_wei and to_wei. After all tron only has TRX and sun, no?
Would functions like to_sun
and from_sun
be good enough? @yingshaoxo
Closing this for now. @yingshaoxo If you still need this, comment on this issue
In web3.py, there has two functions to do the job:
to_wei(quantity, "ether")
andfrom_wei(int(value), 'ether')
In tronpy, what kind of functions that I should use to do the job?