This guide builds a small Zcash stack from source: a Zebra full node, the Zaino indexer on top of it, and the zingo-cli command-line client that connects to Zaino.
An introduction to Zingolib + Zaino
Ɛho behia sɛ wo intall nneɛma 3 na eyi ayɛ adwuma yiye. Mekamfo screen anaa biribi a ɛte saa nso kyerɛ sɛ ɛbɛboa wɔ screen management mu
sudo apt install screen
git clone https://github.com/ZcashFoundation/zebra.git
cd zebra
cargo install --git https://github.com/ZcashFoundation/zebra --tag v2.0.1 zebrad
optional (yɛ screen session ma zebrad) .
screen -S zebra
zebrad start
hyɛ no nsow: eyi behia sɛ wɔyɛ sync koraa!
git clone https://github.com/zingolabs/zaino.git
cd zaino
cargo build --release
PATH=$PATH:~/Desktop/zaino/target/release/
optional (yɛ screen session ma zaino) .
screen -S zaino
cd ~/zaino/zainod
nano zindexer.toml => Adjust port to 8232 for mainnet
zainod --config zindexer.toml
git clone https://github.com/zingolabs/zingolib.git
cd zingolib
cargo build --release --package zingo-cli
optional (yɛ screen session ma zingo-cli) .
screen -S zingo
./zingo-cli --server http://127.0.0.1:8137 --data-dir /media/zebra5/zebra/.cache/lightwalletd
hyɛ no nsow: eyi behia sɛ ɛyɛ sync koraa, sɛnea lightwalletd yɛe no. Mekamfo kyerɛ sɛ fa abɔnten drive di dwuma na ama woakora bere so :)
Sɛ wo mmirikatu eyinom wɔ screens, . screen -r bɛkyerɛw screen biara a wobɛkɔ so sɛnea ɛho hia