6 votes

Which tezos-client commands reveal the public key?

The publicKey must be revealed before the wallet can inject an operation to the blockchain. The client (and most wallets) will automatically add a reveal operation onto the first operation you try to ...
user avatar
5 votes

Any way to get the public key of an address?

In the contract, you cannot obtain the public key from an address but if you are given both the public key and the address you can check that the public key corresponds to the address. In Michelson, ...
user avatar
5 votes
Accepted

Any way to get the public key of an address?

It is not possible to do from inside a contract. But you can use the following RPC: https://tezos.gitlab.io/alpha/rpc.html#get-block-id-context-contracts-contract-id-manager-key Example: https://...
user avatar
1 vote

How to get address from publicKey?

Here is an example implemented in Dart: https://github.com/Tezsure/tezos_dart/blob/master/lib/helper/generateKeys.dart#L7
user avatar
1 vote
Accepted

Smart contracts - get tz address from signature like ecrecover ethereum

For implicit accounts, the address is nothing more than the hash of the public key so this means that you can compute the address from the public key but not the other way around. In Michelson, you ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible