Replies: 1 comment 2 replies
-
Hi @Daley, could you please confirm if the given |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
here is my code ,i want use AnyAddress to get address from PublicKey
var key=hdWallet.getKey(CoinType.TRON,"m/44'/195'/0'/0/1")
var pub=key.getPublicKeySecp256k1(false)
var anyAddr= AnyAddress(pub,CoinType.TRON)
but !!
anyAddr.data().size() is 0
Expected behavior
I want transfer anyAddr.data() to hex string , so i can get address
Additional context
Maybe there is another to get Address from PublickKey ,pls tell me.
Beta Was this translation helpful? Give feedback.
All reactions