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
O yoo nilo lati intall 3 ohun fun yi lati ṣiṣẹ daradara. Mo tun so iboju tabi nkankan iru lati ran pẹlu iboju isakoso
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 (create a screen session for zebrad)
screen -S zebra
zebrad start
àkíyèsí: èyí yóò nílò láti bára mu pátápátá!
git clone https://github.com/zingolabs/zaino.git
cd zaino
cargo build --release
PATH=$PATH:~/Desktop/zaino/target/release/
optional (Ṣẹ́ ìtòlẹ́sẹẹsẹ ìwífún fún 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 (Ṣẹ́ ìtòlẹ́sẹẹsẹ ìkápá fún zingo-cli)
screen -S zingo
./zingo-cli --server http://127.0.0.1:8137 --data-dir /media/zebra5/zebra/.cache/lightwalletd
àkíyèsí: èyí yóò nílò láti ṣe àdàkọ ní kíkún, gẹ́gẹ́ bí lightwalletd ṣe ṣe. Mo dábàá lílo ẹ̀rọ alágbèéká láti fi dín àkókò kù :)
Ti o ba ti wa ni ṣiṣe awọn wọnyi ni iboju, screen -r yoo ṣe akojọ iboju kọọkan fun ọ lati lọ si bi o ti nilo