Hey šŸ˜…
Is there a way to get raw address of wallet in node js.

I am using tonweb..

I am getting raw address from nft metadata but i have my wallet address as user friendly

Aug 24, 2023, 1:41 PM
Look i have check tonweb file but there is no function or method to convert it to raw address.
Aug 24, 2023, 1:44 PM
.toString(false)
Aug 24, 2023, 1:45 PM
Oh yes how can I forget 😱...
I think m too tired šŸ˜…
Thanks
Row address of nft :
0:d172c148c256899337fec64960b0b6e928f6069336735d0834f984d3023faefb
-------------
User friendly address of NFT :
kQDRcsFIwlaJkzf-xklgsLbpKPYGkzZzXQg0-YTTAj-u-9-t
-------------
Row address convert with toString(true) :
UQDRcsFIwlaJkzf+xklgsLbpKPYGkzZzXQg0+YTTAj+u+zni

Why why why

😰😰😰😰😰

Help me please šŸ™šŸ»
Aug 24, 2023, 2:25 PM
There are some flags for testnet, something like .toString(true, true, true, true).
You could also try .toString({userFriendly: true, testnet: true})
Aug 24, 2023, 2:56 PM

Ā© 2024 Draquery.com All rights reserved.