Install zenchain node di Ubuntu-Linux (self-host node)
#Buat wallet baru di metamask dan import ke OKX juga (EVM)
#WL di web (supaya bisa claim faucet)
https://www.zenchain.io/waitlist
#claim faucet (post di x dan paste url, utk dapatkan faucet
2k, jika ente mau aja)
https://faucet.zenchain.io/
#add RPC zenchain (liat di paling bawah kiri dan pastikan
faucet anda sudah ada)
https://zentrace.io/ (untuk add rpc di metamask)
#Add manual rpc zenchain testnet di okx (jika blm). Jangan lupa pindahkan ke network zenchain testnet
chrome-extension://mcohilncbfahbmgdjkbpemcciiolgcge/fullscreen.html#/network-management-rpc-form (Refresh jika error)
Nama Jaringan: Zenchain Testnet
URL RPC Default: https://zenchain-testnet.api.onfinality.io/public
ID chain: 8408
Simbol mata uang: ZCX
URL block explorer: https://zentrace.io
=====VPS AREA======
#update paket
sudo su
apt update
sudo apt install -y curl wget tar jq git
#Install docker.io (jika blm install)
apt install docker.io -y
#Buat folder dan beri izin
mkdir -p "$HOME/chain-data"
chmod -R 777 "$HOME/chain-data"
#Run node - paste code di bawah (temporary utk dapatkan
session keys, ubah juga nama validator anda)
docker run \
-d \
--name zenchain \
-p 9944:9944 \
-v
"$HOME/chain-data:/chain-data" \
ghcr.io/zenchain-protocol/zenchain-testnet:latest \
./usr/bin/zenchain-node \
--base-path=/chain-data \
--rpc-cors=all \
--rpc-methods=unsafe \
--unsafe-rpc-external \
--validator \
--name=NamaValidatorAnda \
--bootnodes=/dns4/node-7242611732906999808-0.p2p.onfinality.io/tcp/26266/p2p/12D3KooWLAH3GejHmmchsvJpwDYkvacrBeAQbJrip5oZSymx5yrE
\
--chain=zenchain_testnet
#Dapatkan session key (paste code di bawah ini ke vps)
curl -H "Content-Type: application/json" -d '{"id":1,
"jsonrpc":"2.0", "method":
"author_rotateKeys", "params":[]}' http://localhost:9944
#Hasilnya di simpan (dari 0x … 6f)
#Simpan session key tanpa 0x
a6845429ce93adc2e592f416d6ced01b507c93ab23ad1bfb9d4def6b89832c64....xxxx6f (contoh)
#Binding session key ke wallet anda
#Sebelum memulai pastikan wallet yang anda gunakan di OKX sudah pindah ke network zenchain testnet
#Kirim transaksi ke contract zenchain
To:
0x0000000000000000000000000000000000000802
Amount:
0
Input Data:
0xf1ec919c00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060 + session key tanpa 0x (tanpa spasi)
#Pastikan di explorer transaksi sudah berhasil, copas wallet anda dan search di https://zentrace.io/ (cek transaksi yg paling baru)
#Anda sudah berhasil binding session key node ke wallet anda
#Stop dan hapus container docker anda
docker rm -f zenchain
#Run ulang node (final run, jgn lupa nama validator anda isi
lagi)
docker run \
-d \
--name zenchain \
-p 9944:9944 \
-v ./chain-data:/chain-data \
ghcr.io/zenchain-protocol/zenchain-testnet:latest \
./usr/bin/zenchain-node \
--base-path=/chain-data \
--validator \
--name="NamaValidatorAnda" \
--bootnodes=/dns4/node-7242611732906999808-0.p2p.onfinality.io/tcp/26266/p2p/12D3KooWLAH3GejHmmchsvJpwDYkvacrBeAQbJrip5oZSymx5yrE
\
--chain=zenchain_testnet
#Cek logs docker (stop, ctrl c)
docker logs -f zenchain
#Staking ke validator anda (konek ke wallet)
https://node.zenchain.io/#/staking
#Cek node anda dalam 1-2 jam, cek di sini
https://node.zenchain.io/#/validators
#Jika sudah muncul, selamat anda telah berhasil melawati
semua ujian ini.
#Done DONE done
#Salam Maouam’s Node Lab.
https://discord.gg/q5a74BHcS5