cardano-rosetta icon indicating copy to clipboard operation
cardano-rosetta copied to clipboard

Get address from public key.

Open Albert-Youngg opened this issue 3 years ago • 2 comments

How should I get the address from an uncompressed public key? E.g:266fb003ce6647bfc7d04ca36b4c2a624b317bcf89e63ea4205f1d0c347081bfefd4c50cd59b66471444f29415ad2455ce20c84185278ad2716de38751e7926b

If I want to get the address through /construction/derive, which part of the public key should it be?

Albert-Youngg avatar Mar 09 '22 06:03 Albert-Youngg

@Yangxin-GG Is that a secret ket (private+public)? If so you want just the last half.

catch-21 avatar Mar 09 '22 11:03 catch-21

No, this is an uncompressed public key

Albert-Youngg avatar Mar 10 '22 02:03 Albert-Youngg