Edit this page on GitHub (opens in a new tab)
Video guide·Использование узла Zcash Zebra с lightwalletd: РУКОВОДСТВО
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo apt install libclang-dev clang pkg-config openssl protobuf-compiler npm
time cargo install --git https://github.com/ZcashFoundation/zebra --tag v7.0.0 zebradИспользуйте Zebra версии 7.0.0 или новее. NU7 активирован в Mainnet на блоке 3,543,405, и более старые версии zebrad не могут следовать цепочке выше этого блока (примечания к выпуску). Для Zebra 7 требуется Rust версии 1.91 или новее (rustup update).
добавьте:
listen_addr = '127.0.0.1:8232'
cache_dir = "/media/zebra5/zebra/"zebrad startwget https://go.dev/dl/go1.27.3.linux-arm64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.27.3.linux-arm64.tar.gz go/
export PATH=$PATH:/usr/local/go/bin
git clone https://github.com/zcash/lightwalletd
cd lightwalletd
make
make install
export PATH=$PATH:~/go/bin
обратите внимание на изменение data-dir
lightwalletd --zcash-conf-path ~/.config/zcash.conf --data-dir /media/zebra5/zebra/.cache/lightwalletd --log-file /dev/stdout --no-tls-very-insecure curl -fsSL https://deb.nodesource.com/setup_23.x -o nodesource_setup.sh
sudo -E bash nodesource_setup.sh
sudo apt update
sudo apt install nodejs
Если у вас возникнут ошибки, здесь описаны альтернативные способы установки NodeJS.
corepack enablegit clone https://github.com/zingolabs/zingo-pc.git
cd zingo-pc
yarn install
sudo apt install libopenjp2-tools protobuf-compiler openssl libssl-dev libfuse2
export USE_SYSTEM_FPM="true"
sudo apt-get install ruby-dev build-essential && sudo gem i fpm -f
yarn dist:linux
https://github.com/ZcashFoundation/zebra
https://github.com/zcash/lightwalletd
https://askubuntu.com/questions/1278447/installing-fpm-on-ubuntu-20-04
https://github.com/oxen-io/session-desktop/issues/1635
https://askubuntu.com/questions/1363783/cant-run-an-appimage-on-ubuntu-20-04
https://www.beekeeperstudio.io/blog/electron-apps-for-arm-and-raspberry-pi
https://github.com/electron-userland/electron-builder/issues/3901
https://askubuntu.com/questions/1278447/installing-fpm-on-ubuntu-20-04
https://yarnpkg.com/getting-started/install
https://pimylifeup.com/raspberry-pi-nodejs/
https://go.dev/dl/#stable
https://askubuntu.com/questions/1177492/openssl-installed-but-no-openssl-pc-needed-by-pkg-config