Giter Club home page Giter Club logo

bundlr-turkce-kurulum-rehberi's Introduction

Bundlr Network Türkçe Node Kurulum Rehberi

Sistem Gereksinimleri

  • 4vCPU
  • 8GB RAM
  • 250GB SSD

Sistemi Güncelleme

sudo apt update && sudo apt upgrade -y

Gerekli Kütüphanelerin Kurulması

apt-get install cargo git make wget curl clang snapd pkg-config libssl-dev build-essential libpq-dev git jq openssl ocl-icd-opencl-dev ncdu libgomp1 bsdmainutils htop -y < "/dev/null"

Docker Kurulumu

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

Docker Compose Kurulumu

VER=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep tag_name | cut -d '"' -f 4)
curl -L "https://github.com/docker/compose/releases/download/"$VER"/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose --version

Bundlr İndirilmesi

git clone --recurse-submodules https://github.com/Bundlr-Network/validator-rust.git

Cüzdan Oluşturma

Arweave wallet adresine giderek bir cüzdan oluşturun. Cüzdan oluşturduktan sonra size .json uzantılı bir dosya verecektir. Bu dosyanınadını wallet.json olarak değiştirdikten sonra bu dosyayı sunucunuzda validator-rust klasörünün içine kopyalayın.

Cüzdan oluşturma ile ilgili detayları öğrenmek için Arweave Dökümantasyon adresini ziyaret edebilirsiniz.

ENV Dosyası Oluşturma

tee $HOME/validator-rust/.env > /dev/null <<EOF
PORT="2023"
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

Docker'ı Başlatma

Kurulum yaklaşık 10 dakika kadar sürebilir. Bağlantı kesilmesi ihtimalini göz önüne alarak önce screen oluşturuyoruz.

screen -S Bundlr

Daha sonra docker'ı başlatıyoruz.

cd ~/validator-rust && docker-compose up -d

Depoyu Güncelleme

git pull origin master

Docker Çalıştırma

docker-compose build

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]

CLI Yükleme

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

Faucet

Bundlr Faucet adresine giderek token alıyoruz.

Aşağıdaki kod ile bakiyemizi sorguluyoruz.

testnet-cli balance CUZDAN_ADRESINIZ

Validator Oluşturma

testnet-cli join RkinCLBlY4L5GZFv8gCFcrygTyd5Xm91CzKlR6qxhKA -w ~/validator-rust/wallet.json ~/ -u  http://$(curl icanhazip.com):4444 -s 25000000000000

Validator Kaydınızı Kontrol Etme

npx @bundlr-network/testnet-cli@latest check RkinCLBlY4L5GZFv8gCFcrygTyd5Xm91CzKlR6qxhKA CUZDAN_ADRESINIZ

Explorer

Bu adresten kontrol edebilirsiniz.

Faydalı Komutlar

Logları Başlatma

cd ~/validator-rust && docker-compose logs --tail=100 -f

Node'u Başlatma

npm i -g @bundlr-network/testnet-cli

bundlr-turkce-kurulum-rehberi's People

Contributors

mikonieminen avatar bluekirby1111 avatar joshbenaron avatar jessetherobot avatar koltigin avatar

Stargazers

 avatar

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.