GithubHelp home page GithubHelp logo

celestia-mamaki's Introduction

Celestia-Mamaki

celestia

Cosmos Ekosisteminin Modüler Yapıdaki En Önemli Projesi olan Celestia Mamaki Testnet Katılım Kodları

Sistem Gereksinimleri

  • Ram: 8 GB RAM
  • CPU: Quad-Core
  • Disk: 250 GB SSD
  • Bandwidth: 1 Gbps for Download/100 Mbps for Upload

_Contabo minumum paket yeter _

**Sosyal Medya hesaplarımız **

LossNode Youtube LossNode Telegram Cryptoloss Twitter

Güncelleme ile başlayalım

sudo apt update && sudo apt upgrade -y

Gerekli temel paketleri kuralım

sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential \ git make ncdu -y

Install Golang

ver="1.18.2"
cd $HOME
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"

Sıradaki Kod

echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile source $HOME/.bash_profile

Version kontrolü

go version

go version komutunu girdikten sonra çıktı şu şekilde olmalı:go version go1.18.2 linux/amd64

P2P Kurulum

cd $HOME
rm -rf celestia-app
git clone https://github.com/celestiaorg/celestia-app.git
cd celestia-app/
APP_VERSION=$(curl -s \
  https://api.github.com/repos/celestiaorg/celestia-app/releases/latest \
  | jq -r ".tag_name")
git checkout tags/$APP_VERSION -b $APP_VERSION
make install

celestia-appd version

cd $HOME
celestia-appd init nodeismi --chain-id mamaki

pruning="custom"
pruning_keep_recent="100"
pruning_interval="10"

sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.celestia-app/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \
\"$pruning_keep_recent\"/" $HOME/.celestia-app/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \
\"$pruning_interval\"/" $HOME/.celestia-app/config/app.toml

Yeni cüzdan oluşturma komutu (cüzdan ismi yazan yeri değiştirmeyi unutma)

celestia-appd keys add cüzdanismi

Eski Cüzdanı kullanmak için recover edebilirsiniz(memoniclere ihtiyac var)

celestia-appd keys add cüzdanismi --recover

Şimdi Celestia Discorda Gidip Test Token Talep Edelim

$request walletadress

Test token aldıktan sonra kuruluma devam edelim

wget -O $HOME/.celestia-app/config/genesis.json "https://raw.githubusercontent.com/celestiaorg/networks/master/mamaki/genesis.json"

BOOTSTRAP_PEERS=$(curl -sL https://raw.githubusercontent.com/celestiaorg/networks/master/mamaki/bootstrap-peers.txt | tr -d '\n') && echo $BOOTSTRAP_PEERS
sed -i.bak -e "s/^bootstrap-peers *=.*/bootstrap-peers = \"$BOOTSTRAP_PEERS\"/" $HOME/.celestia-app/config/config.toml

PEERS="[email protected]:26656, [email protected]:20356, [email protected]:26656, [email protected]:26656, [email protected]:26656, [email protected]:26656"
  
sed -i.bak -e "s/^persistent-peers *=.*/persistent-peers = \"$PEERS\"/" $HOME/.celestia-app/config/config.toml
sed -i.bak -e "s/^timeout-commit *=.*/timeout-commit = \"25s\"/" $HOME/.celestia-app/config/config.toml
sed -i.bak -e "s/^skip-timeout-commit *=.*/skip-timeout-commit = false/" $HOME/.celestia-app/config/config.toml
sed -i.bak -e "s/^mode *=.*/mode = \"validator\"/" $HOME/.celestia-app/config/config.toml

Celestia-appd systemd dosyaları oluşturalım

sudo tee <<EOF >/dev/null /etc/systemd/system/celestia-appd.service
[Unit]
Description=celestia-appd Cosmos daemon
After=network-online.target

[Service]
User=$USER
ExecStart=$HOME/go/bin/celestia-appd start
Restart=on-failure
RestartSec=3
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target
EOF

cat /etc/systemd/system/celestia-appd.service

Node başlat

cd $HOME/.celestia-app
celestia-appd tendermint unsafe-reset-all --home "$HOME/.celestia-app"
sudo systemctl enable celestia-appd
sudo systemctl start celestia-appd

Herşey yolundaysa resimdeki gibi bir çıktı alacaksınız aşşağıdaki kodu girditen sonra(geri gelmek için ctrl+c tuşuna bas)

sudo journalctl -u celestia-appd.service -f

system status

Logları kontrol edelim

sudo journalctl -u celestia-appd.service -f

Burası çokamelli devam etmeden önce nodemuzun güncel block değerini yakalaması lazım yani aşşağıdaki kodu girdikten sonra 'FALSE' çıktısına ulaştıktan sonra ancak validatör kurabilirsiniz

False çıktısı kontrol komutu

curl -s localhost:26657/status | jq .result | jq .sync_info

Validatör kur (monikeradını değiştirmeyi unutma ben cryptoloss yaptım)

celestia-appd tx staking create-validator \
    --amount=1000000utia \
    --pubkey=$(celestia-appd tendermint show-validator) \
    --moniker=MonikerAdi \
    --chain-id=mamaki \
    --commission-rate=0.1 \
    --commission-max-rate=0.2 \
    --commission-max-change-rate=0.01 \
    --min-self-delegation=9000000 \
    --from=cüzdanismi

Kodu girdikten sonra sizden şifre isteyecek şifreyi gireceksiniz ve sonrasında resimdeki bir çıktı almalısınız

validatör

Delege komutu

celestia-appd tx staking delegate \
    valoperadresi 1000000utia \
    --from=hangicüzdandandelegeetmekistiyorsanızonunadresi --chain-id=mamaki

Desteğe ihtiyacınız olursa buradayız

LossNode Youtube LossNode Telegram Cryptoloss Twitter

Kodları NakoTurk Hocam Sayesinde Toparladım Kendisine Çok Teşekkür Ederim

celestia-mamaki's People

Contributors

cryptoloss avatar

Stargazers

 avatar  avatar

Watchers

 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.