# Question about mining and address generate

**URL:** <https://forum.zcashcommunity.com/t/question-about-mining-and-address-generate/4298>\
**Category:** Mining\
**Created:** [October 28, 2016, 6:13pm UTC](https://forum.zcashcommunity.com/t/question-about-mining-and-address-generate/4298 "2016-10-28T18:13:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![namini](https://avatars.discourse-cdn.com/v4/letter/n/48db29/32.png) [@namini](https://forum.zcashcommunity.com/u/namini)\
**Post date:** [October 28, 2016, 6:13pm UTC](https://forum.zcashcommunity.com/t/question-about-mining-and-address-generate/4298/1 "2016-10-28T18:13:57Z")

</div>

I compiled and run Zcash on Linux perfectly fine but I’d like to run a windows client with a pool, so I need to generate an address on my linux machine with:

./src/zcash-cli getnewaddress

What I don’t understand is why there is no private key generated ? How can I access my wallet with just the public address. Sorry my question is probably stupid, hope someone will help me.

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![namini](https://avatars.discourse-cdn.com/v4/letter/n/48db29/32.png) [@namini](https://forum.zcashcommunity.com/u/namini)\
**Post date:** [October 28, 2016, 7:13pm UTC](https://forum.zcashcommunity.com/t/question-about-mining-and-address-generate/4298/2 "2016-10-28T19:13:54Z")

</div>

I mean, I know coins will be sent from the pool to the address I set.

But after generating addresses, zcash still display:  
./src/zcash-cli z\_listaddresses  
[  
]

I guess as long as I backup I’m fine, just wanted to know about the private key

---

<div class="post-metadata">

**Author:** ![manlabor](https://avatars.discourse-cdn.com/v4/letter/m/2acd7d/32.png) [@manlabor](https://forum.zcashcommunity.com/u/manlabor)\
**Post date:** [October 28, 2016, 9:30pm UTC](https://forum.zcashcommunity.com/t/question-about-mining-and-address-generate/4298/3 "2016-10-28T21:30:28Z")

</div>

Did you generate a z address or a t address? I don’t think you can list t-addresses that don’t have a balance.

---

<div class="post-metadata">

**Author:** ![namini](https://avatars.discourse-cdn.com/v4/letter/n/48db29/32.png) [@namini](https://forum.zcashcommunity.com/u/namini)\
**Post date:** [October 28, 2016, 10:18pm UTC](https://forum.zcashcommunity.com/t/question-about-mining-and-address-generate/4298/4 "2016-10-28T22:18:46Z")

</div>

that’s really nice someone actually took the time to answer me, so thank you.

I generated a t-address, but you probably right we can’t list t-addresses that don’t have a balance.

Anyway I ended up generating a wallet with this tool:

> **[GitHub - blackkeyboard/zgenerate: Offline BIP32 wallet generator for Zcash](https://github.com/blackkeyboard/zgenerate)**
>
> Offline BIP32 wallet generator for Zcash. Contribute to blackkeyboard/zgenerate development by creating an account on GitHub.

honestly this passphrase / private key still confuse me compared to bitcoin.
