Zenith GUI フルノードウォレットのインストール
動画チュートリアル
Haskell のインストール
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
Rust のインストール
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Zebra のインストール
sudo apt install libclang-dev
cargo install --git https://github.com/ZcashFoundation/zebra --tag v2.1.0 zebrad
zebrad generate -o ~/.config/zebrad.toml
nano ~/.config/zebrad.toml
localhost で RPC クエリを受信する
listen_addr = "127.0.0.1:8232"
自動的に複数の CPU スレッドを使用する
parallel_cpu_threads = 0
enable_cookie_auth = false
Zenith のインストール
tar.gz をダウンロードし、ホームディレクトリに展開
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
aarch64 用のソース調整
nano configure
両方の行で triple を "aarch64-unknown-linux-gnu" に変更します。
nano Setup.hs
zcash-haskell フォルダと zenith フォルダの Setup.hs を編集してください
コンパイル
-
./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
zenith.cfg の調整
nodeUser = yourusername
nodePwd = superSecret
nodePort = 8234
dbFileName = zenith.db
zebraHost = 127.0.0.1
zebraPort = 8232
cd ~/Zenith
raspi-config
最新の gldriver-test をダウンロード
sudo dpkg - gldriver-test_0.15_all.deb
sudo raspi-config
advance に移動し、opengl => GL (Full KMS) を選択
再起動
Zenith の実行
./zenith gui
または
./zenith tui
または
./zenithserver
RPC
howto