Zenith GUI Full Node Sikakorabea a Wɔde Siesie
Video Nkyerɛkyerɛmu
Fa Haskell hyɛ mu
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
Fa Rust hyɛ mu
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Fa Zebra hyɛ mu
sudo apt instɔlehyɛn libclang-dev
nneɛma a wɔde fa so install --git https://github.com/ZcashFoundation/zebra --tag v2.1.0 zebrad
ɔsebɔ yɛ -o ~/.config/zebrad.toml
nano ~/.nhyehyɛe/zebrad.toml
tie RPC nsɛmmisa wɔ localhost so
tie_addr = "127.0.0.1:8232".
ɔno ara de CPU nhama pii di dwuma
parallel_cpu_nhama = 0
enable_cookie_auth = atoro
Fa Zenith hyɛ wo kɔmputa so
Twe tar.gz na yi tar kɔ wo fie kyerɛwtohɔ mu
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 a ɛyɛ den
rmdir zcash-haskell na ɛyɛ adwuma
git clone a wɔde yɛ nneɛma https://code.vergara.tech/Vergara_Tech/zcash-haskell.git
Fa Depedencies no hyɛ mu
sudo apt instɔl libssl-dev libgmp-dev libsecp256k1-dev libtinfo-dev libsdl2-dev libfreetype-dev libglew-dev gdk-pixbuf-sɔ raspi-config hwɛ
nneɛma a wɔde hyehyɛ nneɛma-c
stack instɔlehyɛn c2hs
mousepad a wɔde kyerɛw nsɛm ~/.bashrc
export PATH="/home/zebra5/.local/bin:$PATH"
fibea ~/.bashrc
Siesie fibea ma aarch64
nano nhyehyɛe
sesa mprɛnsa kɔ: "aarch64-unknown-linux-gnu" wɔ nkyerɛwde abien no nyinaa so.
nano Nhyehyɛe.hs
Sesa Setup.hs wɔ zcash-haskell folda ne zenith folda no nyinaa mu
Wɔaboaboa ano
-
./nhyehyɛe
-
cabal a wɔde si dan
-
mkdir ~/Zenith na ɔkyerɛwee
-
cd ~/Zenith na ɔkyerɛwee
-
mkdir agyapadeɛ
-
cp ~/zenith/dist-newstyle/kyekye/aarch64-linux/ghc-9.6.5/zenith-0.7.2.0/kyekye/zenith/zenith ~/Zenith
-
cp ~/zenith/zenith.cfg ~/Zenith
-
cp -r ~/zenith/agyapadeɛ ~/Zenith/agyapadeɛ
Yɛ nsakrae wɔ zenith.cfg mu
nodeUser = wo dwumadie din
nodePwd = Ahintasɛm a ɛboro so
nodePort = 8234 na ɛwɔ hɔ
dbFaelEdin = zenith.db
ɔkramanHost = 127.0.0.1
ɔsebɔPort = 8232 na ɛwɔ hɔ
cd ~/Zenith na ɔkyerɛwee
Raspi-nhyehyɛe
twe gldriver-test a aba foforo
sudo dpkg - gldriver-sɔhwɛ_0.15_ne nyinaa.deb
sudo raspi-nhyehyɛeɛ
kɔ kɔ anim na paw opengl => GL (Full KMS)
san hyɛ aseɛ bio
Mmirikatu zenith
./zenith gui na ɛyɛ adwuma
or
./zenith tui
or
./zenithserver a wɔde di dwuma
RPC deɛ no
sɛnea wɔyɛ no