Closed doob9p closed 3 months ago
Did you mean get the address of the account? You can use tronWeb.address.fromPrivateKey
.
Did you mean get the address of the account? You can use
tronWeb.address.fromPrivateKey
.
tronWeb.address.fromPrivateKey
The code returns the wallet address.
All I want is to return the public key as a factor for the private key.
If you have mnemonic, you can use TronWeb.fromMnemonic
to get the public key.
you can go with tronWeb.address.fromPrivateKey
I've read all the documents and there's no way to get a public key using a private key or a mnemonic. Is it possible to transfer coins while the user only has a private key?