Hey guys,
I am setting up a shielded-newsletter system using the Z3 stack on a server (Zebra + Zaino + Zallet). Everything is running: the Zebra node is fully synced, Zallet is connected, scanning, and healthy inside Docker.
My blocker is the following:
I can’t authenticate to Zallet’s JSON-RPC interface.
The RPC port 28232 is open but returns 401 Unauthorized for all requests
The shared cookie volume (z3_shared_cookie_volume) is empty
Zallet’s data dir (z3_zallet_data) also has no .cookie file
Inside the container, zallet rpc help fails with: “No JSON-RPC port is available.”
I cannot find documentation describing where the Zallet Docker image stores the RPC credentials, or how RPC authentication is designed to work.
Why this matters
To send automated shielded memos for the newsletter, the server must:
Authenticate to Zallet
Create a Zallet receiving UA
Send funds to that UA
Use RPC commands to broadcast many shielded memos
Right now I am stuck at step 1, I can’t log in to Zallet’s RPC.
My questions
Where does the Zallet Docker image store its RPC auth (cookie, credentials, or token)?
Is there an environment variable or config option needed to enable RPC auth in the container?
What is the correct way to call Zallet RPC from the host (curl or zallet rpc), and with what authentication?
Should a .cookie file be created automatically, or does it require manual configuration?
Everything else in the stack is working. I just need RPC access so the server can create an account, generate a UA, and programmatically send transactions.
Any pointers, docs, or examples would be very helpful.
Happy to provide logs or open an issue if needed.
Hi @dismad looking to start to try and play around with RPC commands and development. New to ZCash but is this still the recommended setup to play and understand how the chain works? Also are there any good full length tutorials that walks through different things?
Zallet is a command line wallet that will require using rpc commands to use it and is currently still Alpha, changes often you’ll need to check if the method is still accurate against the zallet user guide. https://zechub.wiki has a bunch of guides and tutorial videos of other things you can check out as well.
Hey welcome to the community! I’m not sure of your background so I will post some things you may find useful. The zallet setup above is for folks who want the full decentralized setup: zebrad + zaniod + zallet ( Z3). It is still being actively worked on but does work with some setup.
If you want to poke around without installing a full node, check out zcash-devtool which can connect to any public and or local lightwallet server:
If you’re looking for some details on how the chain works , check out our new visualizers here (you can pick which to watch) :
note: If you want the source of truth and every detail, see here.
Autotunafish is correct, we also have a lot of detailed tutorials you can watch when ready. Here is one you may find useful:
Last thing I’ll post is ZecHub’s dedicated dev page which has even more resources:
Thanks I’m an engineer (not a SWE but striving to do some dev work) been doing things in other ecosystems but a big privacy guy. Got zebra synced up just figuring out best ways to interact with the node. Reading the protocol pdf too.