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
Wòaxɔ nu etɔ̃ le woaɖe ƒo ɖe eme be esiawɔ dɔ nyuie. Mele susu be wòazã screen alo nu bubu si sɔe kple esia hena screen ƒe ɖoɖo ŋu.
sudo apt install screen
git clone https://github.com/ZcashFoundation/zebra.git
cd zebra
cargo install --git https://github.com/ZcashFoundation/zebra --tag v7.0.0 zebrad
Zã Zebra 7.0.0 alo si wu: NU7 woɖe ɖe Mainnet le gaɖoɖo 3,543,405 dzi, eye zebrad ƒe version xoxowo mate ŋu adze ɖoɖonu la yome ne wòɖo dzi ma va yi o (release notes).
optional (Wɔ screen session na zebrad)
screen -S zebra
zebrad start
Ŋɔŋlɔ: Esia hia be wòafɔ ƒo ƒu bliboe!
git clone https://github.com/zingolabs/zaino.git
cd zaino
cargo build --release
PATH=$PATH:~/Desktop/zaino/target/release/
optional (Wɔ screen session na 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 (Wɔ screen session na zingo-cli)
screen -S zingo
./zingo-cli --server http://127.0.0.1:8137 --data-dir /media/zebra5/zebra/.cache/lightwalletd
Ŋɔŋlɔ: Esia hia be wòafɔ ƒo ƒu bliboe, abe ale si lightwalletd wɔe ene. Mele susu be wòazã external drive be nàxɔ ɣeyiɣi :)
Ne wòle esiawo wɔm le screens me la, screen -r aɖe screen ɖesiaɖe afia na wò be nàyi edzi abe ale si wòhiã ene.