curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo apt install libclang-dev
cargo install --git https://github.com/ZcashFoundation/zebra --tag v7.0.0 zebrad
Use o Zebra 7.0.0 ou mais recente: o NU7 foi ativado na Mainnet no bloco 3.543.405, e versões mais antigas do zebrad não conseguem acompanhar a chain além dessa altura (notas de versão). A versão do Zenith abaixo (0.7.2.0-beta) é antiga: a versão mais recente no momento em que este texto foi escrito é a 0.13.0.0-beta (jun 2026, com suporte ao NU6.2). Confira as versões do Zenith para encontrar uma que suporte o NU7 antes de usá-lo na Mainnet.
zebrad generate -o ~/.config/zebrad.toml
nano ~/.config/zebrad.toml
listen_addr = "127.0.0.1:8232"
parallel_cpu_threads = 0
enable_cookie_auth = false
Baixe o arquivo tar.gz e extraia-o no seu diretório home
wget https://code.vergara.tech/Vergara_Tech/zenith/archive/0.7.2.0-beta.tar.gz
tar -C ~ -xvzf 0.7.2.0-beta.tar.gz
cd zenith
rmdir zcash-haskell
git clone https://code.vergara.tech/Vergara_Tech/zcash-haskell.git
sudo apt install libssl-dev libgmp-dev libsecp256k1-dev libtinfo-dev libsdl2-dev libfreetype-dev libglew-dev gdk-pixbuf-tests raspi-config
cargo install cargo-c
stack install c2hs
mousepad ~/.bashrc
export PATH="/home/zebra5/.local/bin:$PATH"
source ~/.bashrc
nano configure
Altere o triple para: "aarch64-unknown-linux-gnu" nas duas linhas.
nano Setup.hs
Modifique o Setup.hs tanto na pasta zcash-haskell quanto na pasta zenith
./configure
cabal build
mkdir ~/Zenith
cd ~/Zenith
mkdir assets
cp ~/zenith/dist-newstyle/build/aarch64-linux/ghc-9.6.5/zenith-0.7.2.0/build/zenith/zenith ~/Zenith
cp ~/zenith/zenith.cfg ~/Zenith
cp -r ~/zenith/assets ~/Zenith/assets
nodeUser = yourusername
nodePwd = superSecret
nodePort = 8234
dbFileName = zenith.db
zebraHost = 127.0.0.1
zebraPort = 8232
cd ~/Zenith
Baixe a versão mais recente do gldriver-test
sudo dpkg -i gldriver-test_0.15_all.deb
sudo raspi-config
Vá em advanced e selecione opengl => GL (Full KMS)
Reinicie
./zenith gui ou ./zenith tui ou ./zenithserver