Coin Hunters Services
  • Introduction
  • Mainnet
    • Avail
      • Installation
      • Upgrade
    • Babylon
      • Installation
      • Service
      • Useful commands
      • Snapshot
    • CrossFi
      • Service
      • Installation
      • Useful commands
    • Dymension
      • Service
      • Installation
      • Snapshots
      • Useful commands
      • Upgrade
    • Lava Network
      • Service
      • Installion
      • Snapshots
      • Useful commands
    • Nibiru
      • Service
      • Installation
      • Useful commands
      • Snapshot
    • Zeta Chain
      • Service
      • Installation
      • Useful commands
      • Upgrade
    • Mantra Chain
      • Installation
      • Service
      • Useful commands
      • Snapshot
    • Rivalz
      • zNode
    • Kopi Money
      • Installation
      • Service
      • Useful commands
      • Snapshot
      • Upgrade
    • Story Protocol
      • Story Mainnet
        • Installation
        • Snapshots
        • Service
        • Upgrade
    • Side Protocol
      • Installation
      • Snapshots
      • Useful commands
    • Fuel Network
      • Installation
      • Snapshots
      • Useful commands
  • Testnet
    • 0G Labs
      • Service
      • Installation
      • Useful commands
      • 0G-Newton
        • Service
        • Installation
        • Useful commands
        • Snapshots
    • Airchains
      • Varanasi
        • Service
        • Installation
        • Snapshots
        • Useful commands
      • Junction
        • Service
        • Installation
        • Snapshots
        • Useful commands
      • Rollup Evm Airchains
      • Auto TX Script
    • AligendLayer
      • Installation
    • Allora Network
      • Service
      • Installation
      • Snapshots
      • Useful commands
      • Worker Node
    • Artela Network
      • Service
      • Installation
      • Snapshots
      • Useful commands
    • Avail
      • Installation
      • Update v2.2.1
    • Babylon
      • Installation
      • Useful commands
    • CrossFi
      • Service
      • Installation
      • Useful commands
      • Snapshots
    • Dill
      • Andes
      • Alps
    • Dymension
      • Service
      • Installation
      • Useful commands
    • Elys Network
      • Service
      • Installation
      • Snapshots
      • Useful commands
    • Empeiria
      • Service
      • Installation
      • Snapshots
      • Useful commands
    • Ethernity Chain
      • Deploy a Smart Contract and Verify
      • Create an ERC-20 token and Verify
      • Create an NFT Collection and Verify
    • Farcaster Node Hubble
      • Upgrade
    • Fiamma Chain
      • Service
      • Installation
      • Snapshots
      • Useful commands
    • Initia
      • Service
      • Installation
      • Snapshots
      • Useful commands
    • Lava Network
      • Service
      • Installation
      • Useful commands
    • Mantra Chain
      • Hongbai Testnet
        • Service
        • Installation
        • Snapshots
        • Useful commands
      • Dukong Testnet
        • Service
        • Installation
        • Snapshot
        • Useful commands
    • Nillion Network
      • Service
      • Installation
      • Snapshots
      • Useful commands
      • Verifier Program
    • Nubit
      • Light Node
      • Installation Validator
    • PINGPONG
      • Installation
      • 0G Storage Kurulumu
      • Grass Kurulumu
    • Rivalz
      • Linux Client
    • Side Protocol
      • S3 Tesnet
        • Service
        • Installation
        • Useful commands
      • S2 Incentivized Testnet
        • Installation
        • Useful commands
      • S4 Incentivized Tesnet
        • Service
        • Installation
        • Useful commands
        • Snapshots
    • Sunrise Layer
      • Service
      • Installation
      • Snapshots
      • Useful commands
      • Manual upgrade
    • Union
      • Service
      • Testnet-9
        • Installation
        • Snapshots
        • Useful commands
      • Testnet-8
        • Installation
        • Snapshots
        • Useful commands
    • Warden Protocol
      • Service
      • Installation
      • Snapshots
      • Useful commands
      • Chiado Testnet
        • Installation
        • Useful commands
    • Zero Network
      • Deploy a Smart Contract
    • Story Protocol
      • illiad Testnet
        • Installation
        • Snapshots
        • Upgrade
      • Odyssey testnet
        • Service
        • Installation
        • Snapshots
        • Useful Tool
      • Story Aeneid
        • Installation
        • Snapshots
        • Service
    • Hemi Network
    • Axone Chain
      • Service
      • Installation
      • Snapshots
      • Useful commands
    • Glacier Network
      • Installation
    • Pipe Network
      • Installation
    • Pell
      • Service
      • Installation
      • Snapshots
      • Useful commands
    • Native Network
      • Service
      • Installation
      • Snapshots
      • Useful commands
    • XRPL EVM
      • Installation
      • Useful commands
      • Snapshot
      • Service
    • Lumera Protocol
      • Installation
      • Useful commands
      • Snapshot
      • Service
Powered by GitBook
On this page
  • Minimum Gereksinimler
  • EigenLayer CLI Kurulumu
  • Building AligenLayer Operator
  1. Testnet
  2. AligendLayer

Installation

Minimum Gereksinimler

Component
Specification

CPU

16 cores

Memory

32 GB RAM

Bandwidth

1 Gbps

Storage

256 GB disk space

Orjinal dokümanda bu değerler belirtilmiştir. Fakat, 4CPU, 8GB RAM 160 SSD disk içine de rahatlıkla kurabilirsiniz.

Aligend Layer kurabilmek için ilk olarak EigenLayer AVS kurmamı gerekiyor.

EigenLayer CLI Kurulumu

sudo apt-get update -y && sudo apt-get upgrade -y

Docker kuruyoruz..

for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done
sudo apt-get update
sudo apt-get install ca-certificates curl gnupg
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
  "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
  "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

Docker Güncelleme ve Çalıştırma

sudo apt update -y && sudo apt upgrade -y
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo docker run hello-world

Go Kurulumu

cd $HOME
ver="1.21.0"
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
rm "go$ver.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile
go version

Yukarıdaki gereksinimlerin kurulumunu hallettikten sonra EigenLayer adımlarına geçebiliriz.

git clone https://github.com/Layr-Labs/eigenlayer-cli.git
cd eigenlayer-cli
mkdir -p build
go build -o build/eigenlayer cmd/eigenlayer/main.go
cd
sudo cp eigenlayer-cli/build/eigenlayer /usr/local/bin/

Şimdi operatör keylerimizi oluşturuyoruz. Bunun için <key-adı> silip (<> dahil siliyoruz.) istediğiniz bir ismi girebilirsiniz.

eigenlayer operator keys create --key-type ecdsa <key-adı>

Bu adımı girdikten sonra size private key'inizi verecek. Bunu bir yere not etmeyi unutmayın. Daha sonra verdiği private key'i ETH stake etme ve ağı çalıştırma da kullanacağız.

Şimdi operatör bls keylerimizi oluşturuyoruz. Bunun için <key-adı> silip (<> dahil siliyoruz.) istediğiniz bir ismi girebilirsiniz. (Yukarıda verdiğiniz isimi ile aynı ismi verebilirsiniz.)

eigenlayer operator keys create --key-type bls <key-adı>

Her iki komuttan sonra da sizden şifre oluşturmanızı isteyecek, bu şifre Karmaşık bir şifre olmalıdır. içinde özel karakterler rakam ve harflerin olduğu bir kombinasyon tercih edebilirsiniz. Verdiğiniz şifreyi unutmayın.

ecdsa ve bls için hem private key hem de public key'ler alacaksınız, ayrıca ecdsa ve bls için size dosyanın uzantısı verilecek bunların hepsini not etmeyi unutmayın.

Daha önce oluşturulmuş EigenLayer Operatörü Çalıştırmak için

  • Aşağıdaki komutları girip önceki EVM adresimizi giriyoruz ve aşağıdaki adımları tekrar yapıyoruz.

eigenlayer operator keys import --key-type bls <key-adı> <ecdsa private key>
eigenlayer operator keys import--key-type bls <key-adı> <bls private key> 
eigenlayer operator keys list

Dosya yolları ve public key için yukarıdaki komutu yazıp tekrar çıktı alabilirsiniz.

Operatör Kaydı

Yukarıdaki adımları düzgün şekilde yaptıysak aşağıdaki adımları takip ediyoruz.

eigenlayer operator config create

Aşağıdaki adımları yapmadan önce size Private key verilmiş olan EVM adresine ETH Holesky ağında test ETH göndermeyi unutmayın. EigenLayer AVS çalıştırmak için ortalama 1-1,5 test ETH'ına ihtiyacınız olacak.

  • Burada ilk olarak sizden Operatör adresini isteyecek. ecdsa operator keys için oluşturduğumuz EVM adresini giriyoruz.

  • Earning için adres istediğinde aynı EVM adresini verebilirsiniz.

  • Sizden RPC url isteyecek. Bunu infura yada alchemy'den alabilirsiniz. ETH Holesky ağını seçtiğinizde size özel RPC adresi alabilirsiniz.

  • Şimdi de sizde ecdsa ve bls key'lerinizin yolunu isteyecek. Bunu da not etmiş olmalısınız oraya o yolu giriyoruz.

Bu adımları yaptıktan sonra size bir metadata.json ve operator.yaml dosyası oluşturacak, buradaki düzenlemeleri yapıyoruz.

nano metadata.json
  • Burayı açtığınızda size aşağıdaki gibi boş json dosyası çıkartacak. Bunu bir yere kopyalayıp kendi bilgilerinizi düzenleyin.

{
  "name": "",
  "website": "",
  "description": "",
  "logo": "",
  "twitter": ""
}
  • Düzenlemeyi bitirdikten sonra metadata.json dosyasının içindekileri CTRL K ile silip hazırladığınızı içine yazın ve CTRL X Y enter ile kayıt edin.

nano operator.yaml
  • Dosyasını açıyoruz ve aldığımız metada url adresini oraya yazıyoruz. Sonrasında kayıt edip çıkıyoruz.

eigenlayer operator register operator.yaml
  • Komutunu çalıştırıyoruz. Tüm adımları doğru şekilde yaptıysanız.

Building AligenLayer Operator

Bu adımdan sonra sıra geldi Aligend Layer Operatör kurulum adımlarına.

git clone https://github.com/yetanotherco/aligned_layer.git --branch v0.10.2
cd aligned_layer

Şimdi gereksinimleri kuralım.

sudo apt install ca-certificates zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev curl git wget make jq build-essential pkg-config lsb-release libssl-dev libreadline-dev libffi-dev gcc screen unzip lz4 -y
sudo apt install -y curl git jq lz4 build-essential cmake perl automake autoconf libtool wget libssl-dev

Rust kuruyoruz.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

size seçenek sorduğunda 1 yazıp enter basın, kurulum bittikten sonra ise aşağıdaki komut ile devam ediyoruz.

. "$HOME/.cargo/env"

Foundury kurulumunu yapalım.

sudo apt install make
make install_foundry
export PATH="$HOME/.foundry/bin:$PATH
foundryup
make build_operator

bu komuttan sonra birkaç dakika bekliyoruz.

./operator/build/aligned-operator --version

Aligned Operator v0.10.2 çıktısı almamız gerekiyor.

nano ./config-files/config-operator.yaml

dosyasını açıyoruz. Aşağıdaki sıralyacağım parametreleri değiştirip kayıt ediyoruz.

  • ECDSA Configurations bölümündeki private_key_store_path bölümüne ecdsa key'inizi dosya yolunu yazıyoruz. private_key_store_password kısmına da dosyaya verdiğiniz şifreyiz yazıyoruz.

  • BLS Configurations bölümüne private_key_store_path başlığıa BLS private key dosya yolunu yazıyoruz. private_key_store_password kısmına da şifremizi yazıyoruz.

  • Operator Configurations bölümünde address ve earnings_receiver_address bölümlerine EigenLayer Operatör adresimizi veriyoruz.

Bu işlemleri yaptıktan sonra dosyayı kayıt edip çıkıyoruz.

Operatörü Başlatalım.

./operator/build/aligned-operator start --config ./config-files/config-operator.yaml

Service kurulumu

sudo nano /etc/systemd/system/aligned-operator.service
[Unit]
Description=Aligned Layer Operator Service
After=network.target

[Service]
Type=simple
User=root
WorkingDirectory=/root/aligned_layer
ExecStart=/root/aligned_layer/operator/build/aligned-operator start --config /root/aligned_layer/config-files/config-operator.yaml
Restart=always
RestartSec=10
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable aligned-operator
sudo systemctl start aligned-operator
sudo systemctl status aligned-operator
sudo journalctl -u aligned-operator -f
PreviousAligendLayerNextAllora Network

Last updated 1 month ago

metadata.json dosyasını dışarıdan da ulaşılabilecek şekilde kayıt etmemiz gerekiyor. Bunun için github kullanabilirsiniz. nasıl yapılabileceğini bulabilirsiniz.

Bu şekilde çıktı alıyorsunuz. Sonrasında kendi operatörünüzü kontrol edebilirsiniz. AVS aktif edebilmek içinde orada WETH ve LIDO stake gibi alanlara ETH eklemeyi unutmayın.

İlk olarak bu adımları yapabilmek için Whitelist'e girmeniz gerekiyor. Onun için formu doldurup başvurunuzu tamamlayabilirsiniz.

BURADAN
BURADAN
BURADAN