How to get the wallet address after the TronLink wallet is connected

How to get the wallet address after the TronLink wallet is connected


1. Obtain wallet address

const walletAdd = window.tronWeb.defaultAddress.base58
console.log(walletAdd);//钱包地址

If you don’t know how to connect the wallet, please read my previous blog (https://blog.csdn.net/HHyuang/article/details/125636089#comments_22333298)

Done, young programmers, please don’t criticize me. I hope it is useful to everyone. If you have any questions, please leave a message.

Guess you like

Origin blog.csdn.net/HHyuang/article/details/125725519