Tutorial Testnet Muon
- Website (opens in a new tab)
- Discord (opens in a new tab)
- Doc offcial (opens in a new tab)
- Dashbord Node (opens in a new tab)
Spesifikasi Minimum
Komponen | Requirements minimal |
---|---|
sistem | Ubuntu 18.04 atau lebih tinggi |
CPU | 2 cores / 4 Cores |
RAM | 2 GB / 8 GB |
Penyimpanan | 20 GB HDD |
Koneksi | 20 mbps / 50 mbps upload & bandwidth download |
Setup Wallet
- disarangkan gunakan wallet baru!
- buka website chainlist.org (opens in a new tab)
- add RPC BSC testnet 'pilih server RPC score dan privacy aktif'
Setup Dashbord NODE
- Buka Dashbord Node (opens in a new tab)
- Connect wallet
- Faucet BNB testnet juga Faucet (opens in a new tab)
- mint 1000 ALICE
- Klik Next Step | Klik APPROVE
- lanjut step SETUP NODE | untuk mendapatkan address Node & Peer id
Setup NODE
Install & Update
sudo apt update
sudo apt install curl tar wget tmux htop net-tools clang pkg-config libssl-dev jq build-essential git make ncdu docker-compose -y
systemctl restart docker
curl -SL https://github.com/docker/compose/releases/download/v2.5.0/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
docker --version
apt-get install screen git
RUN NODE
clone & Run
git clone https://github.com/muon-protocol/muon-node-js.git --recurse-submodules --branch testnet
cd muon-node-js
docker-compose build
docker-compose up -d
screen -Rd moun-node
ctrl A D
untuk Menyimpan Screen berJalan di Background.
Jika anda Ingin Kembali ke Screen Yang Sedang Jalan, Gunakan Perintah screen -Rd moun-node
docker compose logs -f
- Buka
http://IP-VPS:8000/status
- Bagian IP-VPS ganti dengan Ip VPS anda
- Paste di browser
- Untuk mendapatkan Address NODE & Peer ID
- Copy dan Set di Dashbord Node (opens in a new tab) anda
- Next Klik Add NODE dan approve wallet
- Buka lagi
http://IP-VPS:8000/status
- Jika node berjalan dengan benar, akan menerima respons json yang
"isOnline":true
- Buka Dashbord Node (opens in a new tab) relog dan connect ulang untuk melihat reward dan status NODE!
Backup dan Save
Backup file Muon
cd muon-node-js
docker cp muon-node:/usr/src/muon-node-js/.env ./backup.env
- Download & simpan file backup.env
Memindahkan NODE Ke VPS Baru
Noted: ini khusus jika ingin memindahkan NODE ke VPS baru!
- Ikuti Tutorial dibagian Setup NODE di VPS baru
- lanjut clone NODE Muon
git clone https://github.com/muon-protocol/muon-node-js.git --recurse-submodules --branch testnet
- setelah berhasil masuk ke folder
cd muon-node-js
- Upload file
backup.env
yang di simpan sebelumnya dari VPS lama - Install & Run File backup
docker cp backup.env muon-node:/usr/src/muon-node-js/.env
docker-compose restart
- Buka http://IP-VPS:8000/status (opens in a new tab)
- Bagian IP-VPS ganti dengan Ip VPS anda
- Paste di browser & cek dashboard juga -done
Jika proses backup berhasil, status node akan muncul address
dan peerId
dari node yang di backup sebelumya.
Perintah-perintah Berguna
check list docker yang berjalan
docker ps
Stop NODE
docker stop [nama atau ID container]
Detele docker muon
docker rm muon-node
paska berhenti dan hapus
docker kill muon-node && docker rm muon-node
check log node gunakan di dalam cd muon-node-js
docker compose logs -f
Art-Team INFO
noted: art team here does not have any specific goals or intentions, they only collect data and share it with everyone.