Question about mining and address generate

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 :slight_smile:

2 Likes

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

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.

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:

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