Skip to main content
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 ...
Simon McLoughlin's user avatar
  • 1,112
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, ...
Raphaël Cauderlier's 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://...
Rodrigo Quelhas's user avatar
3 votes

Implementing signing logic for TZ4 (BLS12-381) Addresses using TypeScript

Regarding BLS signatures, Octez follows the CFRG specification v4 about BLS signatures. The OCaml library used is ocaml-bls12-381-signature. The current protocol (i.e. up to M while writing these ...
Danny Willems's 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
Rodrigo Quelhas's 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 ...
Raphaël Cauderlier's user avatar

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