# Public key to t address

**URL:** <https://forum.zcashcommunity.com/t/public-key-to-t-address/44021>\
**Category:** General\
**Created:** [February 16, 2023, 1:06pm UTC](https://forum.zcashcommunity.com/t/public-key-to-t-address/44021 "2023-02-16T13:06:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iffu](https://avatars.discourse-cdn.com/v4/letter/i/f08c70/32.png) [@iffu](https://forum.zcashcommunity.com/u/iffu)\
**Post date:** [February 16, 2023, 1:06pm UTC](https://forum.zcashcommunity.com/t/public-key-to-t-address/44021/1 "2023-02-16T13:06:19Z")

</div>

I have ZEC public key. I want to find out the t-address associated with this public key.  
Any help in terms of code is highly appreciated.

Public Key: 032527692199e7ee0017877b5a4bab0e1bc39353776674a5a137ad66ec515e94c4

---

<div class="post-metadata">

**Author:** ![Autotunafish](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/autotunafish/32/7827_2.png) [@Autotunafish](https://forum.zcashcommunity.com/u/Autotunafish)\
**Post date:** [February 16, 2023, 4:38pm UTC](https://forum.zcashcommunity.com/t/public-key-to-t-address/44021/2 "2023-02-16T16:38:30Z")

</div>

There is a zcash-cli command though I’ve never used it, this requires a zcashd full node

> **[importpubkey - Zcash 4.5.1-1 RPC Docs](https://zcash-rpc.github.io/importpubkey.html)**
>
> Zcash 4.5.1-1 RPC Docs - importpubkey

---

<div class="post-metadata">

**Author:** ![hanh](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/hanh/32/27853_2.png) [@hanh](https://forum.zcashcommunity.com/u/hanh)\
**Post date:** [February 16, 2023, 8:06pm UTC](https://forum.zcashcommunity.com/t/public-key-to-t-address/44021/3 "2023-02-16T20:06:18Z")

</div>

I think it’s the same method as bitcoin but with a different base58 prefix: 1cb8
