ton-org / ton-core

Low level tools for working with TON
MIT License
57 stars 25 forks source link

Add toAddress method. #23

Closed barinbritva closed 1 month ago

barinbritva commented 9 months ago

There is often a case when you have adress either as string or Address, but you have to pass exactly Address further.

To not do conditional parse in the client side code we could incapsulate the ogic in toAddress method.

dvlkv commented 1 month ago

I do not think this is a part of a standard library. I expect the developers should handle parse explicitly cause it can throw errors.