![image](https://user-images.githubusercontent.com/101149671/180648527-7bd924fc-c279-43fb-ad16-1b529eb13227.png)
Bundlr Network Validator kurulum rehberi
Gereksinimler (Ekibin tavsiye ettiği, bence daha düşük sistem gereksinimleri yeterli olur):
8GB RAM
250 GB GB SSD
4 vCPU
sudo apt update && sudo apt upgrade -y
apt-get install git wget snapd curl jq libpq-dev libssl-dev build-essential pkg-config openssl ocl-icd-opencl-dev libopencl-clang-dev libgomp1 -y 2>/dev/null
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
![image](https://user-images.githubusercontent.com/101149671/180648803-75af41e6-e6ba-4484-a0bc-ffdd037bad9a.png)
curl -SL https://github.com/docker/compose/releases/download/v2.5.0/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
![image](https://user-images.githubusercontent.com/101149671/180648840-f5d1450d-9877-4e25-a631-a445e4236855.png)
git clone --recurse-submodules https://github.com/Bundlr-Network/validator-rust.git
Şimdi Arweave'ye gidip cüzdan işlemlerimizi yapalım:
- Link: https://arweave.app/welcome
- Sol altta + butonuna tıklayalım
- Create new file diyelim. (12 kelimeyi not edin)
- Görselde ki gibi dowloand diyerek .json dosyasını kaydedelim cihazımıza.
![image](https://user-images.githubusercontent.com/101149671/180648960-2ecfe8fb-ca20-4c0f-a568-a2f4f9825d6b.png)
- NOT: ilk defa node kuruyorsanız ve putty/termius gibi ssh arılığıyla kurulum yapıyorsanız winscp indirmelisiniz.
- Link: https://winscp.net/
- Veya mobaxterm ile işinizi görürsünüz, 23.07.22 günü yayınımda anlatmıştım sorulduğu için, bir flood gelecek zaten.
Az önce indirdiğimiz .json dosyasını sunucumuzun içine atıyoruz.
- Bende ki örnek: RuyuUwqrf65Lvc9PIvwg... diye devam eden dosya.
![image](https://user-images.githubusercontent.com/101149671/180649082-af1b880a-b4f9-46f7-8409-97e6e70dcd25.png)
Altta ki komutta ki komutun ismini yukarıda RuyuU...json diye başlayan dosya adı ile tırnak içersini dolduralım ve tırnakları kaldırıp komutu girelim.
cp "json dosyanız" wallet.json
Yukarıda bahsettiğim olayın örneği:
![image](https://user-images.githubusercontent.com/101149671/180649197-69ee7e94-85fd-401f-ab7f-e5b1f2be9fd1.png)
cd
cd validator-rust/
cp ~/wallet.json ~/validator-rust
Altta ki komutu girip wallet.json çıktısı alırsınız:
![image](https://user-images.githubusercontent.com/101149671/180649728-9279c42c-4405-4b85-be39-dc8b1932ba65.png)
.env dosyası oluşturuyoruz
sudo tee <<EOF >/dev/null $HOME/validator-rust/.env
PORT="1984"
VALIDATOR_KEY="~/validator-rust/wallet.json"
BUNDLER_URL="https://testnet1.bundlr.network"
GW_CONTRACT="RkinCLBlY4L5GZFv8gCFcrygTyd5Xm91CzKlR6qxhKA"
GW_WALLET="~/validator-rust/wallet.json"
GW_ARWEAVE="https://arweave.testnet1.bundlr.network"
EOF
Validator oluşturup çalıştırıyoruz
cd ~/validator-rust
docker-compose up -d
![image](https://user-images.githubusercontent.com/101149671/180649840-be5b64bb-1fd4-4473-ab28-793ddee8940c.png)
![image](https://user-images.githubusercontent.com/101149671/180649924-5ef7f039-8293-498d-9c4a-e58f8430c1d3.png)
![image](https://user-images.githubusercontent.com/101149671/180649940-27459414-8136-42d0-95e5-9830da3d7245.png)
Validatorü tekrar çalıştırıyoruz
source ~/.bashrc
sudo apt-get install snapd
sudo snap install node --channel=16/stable --classic
npm install -g npm@8.15.0
![image](https://user-images.githubusercontent.com/101149671/180650042-bcf50527-b414-4cff-8ce9-64a72d61a69f.png)
npm i -g @bundlr-network/testnet-cli
source $HOME/.profile
BURAYA KADAR OKUDUYSAN FLOODU, ÖDÜL HAKKINDA:
![image](https://user-images.githubusercontent.com/101149671/180650223-6d726ed2-6e39-47e1-bdc4-68ab9907bbeb.png)
- Adresiniz RuyuUwqrf65Lvc9PIvwgD... diye giden .json'da ki. (json hariç)
- İkinci adım twit atıyorsunuz twitinizi bundlr veya botu beğenirse token gelmiştir.
- Teyit etme komutu:
testnet-cli balance CÜZDAN ADRESİ
Testnete katılıyoruz, biraz uzun sürebilir
testnet-cli join RkinCLBlY4L5GZFv8gCFcrygTyd5Xm91CzKlR6qxhKA -w ~/validator-rust/wallet.json ~/ -u http://$(curl icanhazip.com):4444 -s 25000000000000
![image](https://user-images.githubusercontent.com/101149671/180650293-aba192a2-d665-4c00-a832-fc18b31e11ff.png)
docker-compose -f $HOME/validator-rust/docker-compose.yml logs -f --tail 10
![image](https://user-images.githubusercontent.com/101149671/180650331-b72a15f0-5640-4f46-86cb-87aa3347fa79.png)
Ek olarak bir işlem daha yapalım:
- https://bundlr.network/explorer/ üzerine gidiyoruz.
- Çıkan ekranda validators kısmına tıklayalım
- sağ alt taraftan become a validator diyelim.
- Validator URL dediği şu, sui'de yapmıştık.
- http://ip:1984
- Benim rehberimden kurmadıysanız port çalışmaz, 1984 ben ekledım.
- İP yazan kısma sunucu İP'inizi yazın. 194.060.xxx.. diye başlayan.
- Amount staked 2500 yapıp approve diyin, görselde ki gibi bir ekran çıkıcak
- Böyle dönüp duruyor saatlerce, dökümasyonda yok ben ekliyim dedim belki işe yarar :))
Twitter
Forum
Telegram Announcement
Telegram Chat
Discord