Coder Social home page Coder Social logo

bundlr-network-testnet's Introduction

Bundlr Network

image

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

root yetkisi

sudo su

root dizini

cd /root

Sistem güncellemesi

sudo apt update && sudo apt upgrade -y

Kütüphane kurulumu:

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

Docker kurulumu:

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

image

Docker compose kurulumu:

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

İndiriyoruz:

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

Şimdi wincsp'ye geçelim.

  • 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

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

3 komutu giriyoruz:

cd
cd validator-rust/
cp ~/wallet.json ~/validator-rust

Altta ki komutu girip wallet.json çıktısı alırsınız:

ls

image

.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

Repository güncelliyoruz

git pull origin master

image

Validator oluşturuyoruz:

docker-compose build

image

Validatorü tekrar çalıştırıyoruz

docker-compose up -d

Node.js kurulumu

source ~/.bashrc
sudo apt-get install snapd
sudo snap install node --channel=16/stable --classic

npm güncelleme

npm install -g [email protected]

image

cli indiriyoruz:

npm i -g @bundlr-network/testnet-cli
source $HOME/.profile

BURAYA KADAR OKUDUYSAN FLOODU, ÖDÜL HAKKINDA:

image

  • 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

Logları kontrol etme:

docker-compose -f $HOME/validator-rust/docker-compose.yml logs -f --tail 10

image

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 :))

Hesaplar:

Twitter

Forum

Telegram Announcement

Telegram Chat

Discord

bundlr-network-testnet's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.