Code Monkey home page Code Monkey logo

initia-guide's Introduction

Initia

Önkoşullar

  • CPU: 4 çekirdek
  • Bellek: 16GB
  • Disk: 1000GB

Bu kurulum için contabo VPS 3 kullanıyorum.

Kurulum

  1. Ekran Oturumu Oluştur (Opsiyonel ama Tavsiye Edilir)

Komutun bir süre çalışacağı için bir screen oturumu oluşturmanızı şiddetle tavsiye ederim.

apt install screen
screen -S initia

Aynı oturuma bağlanmak için aşağıdaki komutu çalıştırmalısınız:

screen -r -d initia
  1. Scripti İndir ve Çalıştır

Scripti indirin, çalıştırılabilir hale getirin ve ardından monikerinizle çalıştırın.

curl -OJL https://raw.githubusercontent.com/bdehri/initia-guide/main/initia_installer.sh
chmod +x initia_installer.sh
./initia_installer.sh <moniker>
  1. Cüzdan Oluştur ve Token Al
source .bashrc
initiad keys add <anahtar-adı>

Bu noktada seedi yedeklemeyi unutmayın.

Tokenları faucet adresinden alabilirsiniz.

Örnek Komut:

initiad keys add robodehritest2
  1. Logları Kontrol Et
journalctl -fu initiad

Node durumu için:

source .bashrc
initiad status | jq .sync_info

Catching Up: false olana kadar bekleyin.

  1. Validator Oluştur
initiad tx mstaking create-validator \
    --amount="1000000uinit" \
    --pubkey=$(initiad tendermint show-validator) \
    --moniker="<moniker>" \
    --chain-id="initiation-1" \
    --from="<anahtar_adı>" \
    --commission-rate="0.10" \
    --commission-max-rate="0.20" \
    --commission-max-change-rate="0.01"

Validator'unuzu explorer adresinden kontrol edebilirsiniz.

Örnek Komut:

initiad tx mstaking create-validator \
    --amount="1000000uinit" \
    --pubkey=$(initiad tendermint show-validator) \
    --moniker="robodehritest13" \
    --chain-id="initiation-1" \
    --from="robodehritest2" \
    --commission-rate="0.10" \
    --commission-max-rate="0.20" \
    --commission-max-change-rate="0.01"

SSS

1. cosmovisor not found ya da initiad not found benzeri hatalar nasıl çözülür?

PATH değişkeniniz güncel değil demektir. Aşağıdaki 2 komuttan birini çalıştırarak sorunu giderebilirsiniz.

source .bashrc
export PATH=$PATH:/usr/local/go/bin:/root/go/bin

2. key not found veya account not found benzeri hatalar nasıl çözülür?

  • Videoda da bahsettiğim gibi eğer cüzdanınızda hiç hareket yoksa adresiniz cüzdan üzerinde yaratılmaz. Token aldıktan sonra bu hata geçecektir.
  • Eğer cüzdanınızda token var ise, muhtemelen nodeunuz daha sync olmadı. Node sync olana kadar bekleyin ve tekrar deneyin.

Prequisites

  • CPU: 4 cores
  • Memory: 16GB
  • Disk: 1000GB

I am using contabo VPS 3 instance for this setup.

Installation

  1. Create Sreen Session (Optional but Recommended)

I highly recommend to create a screen session to run the script as it takes a while.

apt install screen
screen -S initia

To connect to same session, you should run:

screen -r -d initia
  1. Download and Run the Script

Download the script and make it executable, then run it with your moniker.

curl -OJL https://raw.githubusercontent.com/bdehri/initia-guide/main/initia_installer.sh
chmod +x initia_installer.sh
./initia_installer.sh <moniker>
  1. Create Wallet and Get Some Tokens
source .bashrc
initiad keys add <key-name>

Do not forget to backup the seed at this point.

You can get tokens from faucet.

Example Command:

initiad keys add robodehritest2
  1. Check Logs
journalctl -fu initiad

For node status:

source .bashrc
initiad status | jq .sync_info

Wait until Catching Up: false

  1. Create Validator
initiad tx mstaking create-validator \\
    --amount="1000000uinit" \\
    --pubkey=$(initiad tendermint show-validator) \\
    --moniker="<moniker>" \\
    --chain-id="initiation-1" \\
    --from="<key_name>" \\
    --commission-rate="0.10" \\
    --commission-max-rate="0.20" \\
    --commission-max-change-rate="0.01"

You can check your validator from explorer.

Example Command:

initiad tx mstaking create-validator \\
    --amount="1000000uinit" \\
    --pubkey=$(initiad tendermint show-validator) \\
    --moniker="robodehritest13" \\
    --chain-id="initiation-1" \\
    --from="robodehritest2" \\
    --commission-rate="0.10" \\
    --commission-max-rate="0.20" \\
    --commission-max-change-rate="0.01"

initia-guide's People

Contributors

bdehri 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.