Skip to content

Cigilipap/Initia-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

INITIA

Initia

öncelikle merhaba arkadaşlar ınitia validatör testnetini yayınladı ve katılmak isteyenler için repo oluşturmak istedim. bu repo CoreNode'dan alınmış olup, herhangi bir sorun yaşarsanız telegram gruplarından yardım alabilirsiniz. ayrıca telegram adreslerini bırakıyorum Core Node Telegram

son olarak Initia her hangi bir şekilde ödül açıklamadı, bir beklenti içerisine girmemenizi tavsiye ediyorum.

Faucet

(https://faucet.testnet.initia.xyz/)

Explorer

https://scan.testnet.initia.xyz/initiation-1

💻 Sistem Gereksinimleri

bileşenler maksimum gereksinimler
CPU 6
RAM 16+ GB
Storage 1 TB
System Ubuntu 22.04 Yada 20.04

🧑🏻‍💻 Gerekli Kurulumlar

sudo apt update && sudo apt upgrade -y
sudo apt install curl git wget htop tmux build-essential jq make lz4 gcc unzip -y

🧑🏻‍💻 Go Kurulumu

cd $HOME
VER="1.21.3"
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"
[ ! -f ~/.bash_profile ] && touch ~/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> ~/.bash_profile
source $HOME/.bash_profile
[ ! -d ~/go/bin ] && mkdir -p ~/go/bin

🧑🏻‍💻 Dosyaları Çekelim

git clone https://github.com/initia-labs/initia
cd initia
git checkout v0.2.15
make build
mkdir -p $HOME/.initia/cosmovisor/genesis/bin
mv /root/initia/build/initiad $HOME/.initia/cosmovisor/genesis/bin/

🧑🏻‍💻 System link

sudo ln -s $HOME/.initia/cosmovisor/genesis $HOME/.initia/cosmovisor/current -f
sudo ln -s $HOME/.initia/cosmovisor/current/bin/initiad /usr/local/bin/initiad -f

🧑🏻‍💻 Cosmovisor indirelim

go install cosmossdk.io/tools/cosmovisor/cmd/[email protected]

🧑🏻‍💻 Servis oluşturalım

sudo tee /etc/systemd/system/initiad.service > /dev/null << EOF
[Unit]
Description=initia node service
After=network-online.target

[Service]
User=$USER
ExecStart=$(which cosmovisor) run start
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
Environment="DAEMON_HOME=$HOME/.initia"
Environment="DAEMON_NAME=initiad"
Environment="UNSAFE_SKIP_BACKUP=true"
Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:$HOME/.initia/cosmovisor/current/bin"

[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable initiad.service

🧑🏻‍💻 İnit

NOT: node adınızı yazınız.

initiad config set client chain-id initiation-1
initiad config set client node tcp://localhost:15657
initiad config set client keyring-backend test
initiad init NODE-ADI-YAZ --chain-id initiation-1

🧑🏻‍💻 Genesis addrbook

rm ~/.initia/config/genesis.json
curl -Ls https://raw.githubusercontent.com/molla202/pokemon/main/genesis.json > $HOME/.initia/config/genesis.json
curl -Ls https://raw.githubusercontent.com/Core-Node-Team/Testnet-TR/main/Initia/addrbook.json > $HOME/.initia/config/addrbook.json

🧑🏻‍💻 Port Ayarları

echo "export N_PORT="15"" >> $HOME/.bash_profile
source $HOME/.bash_profile
sed -i.bak -e "s%:1317%:${N_PORT}317%g;
s%:8080%:${N_PORT}080%g;
s%:9090%:${N_PORT}090%g;
s%:9091%:${N_PORT}091%g;
s%:8545%:${N_PORT}545%g;
s%:8546%:${N_PORT}546%g;
s%:6065%:${N_PORT}065%g" $HOME/.initia/config/app.toml
sed -i.bak -e "s%:26658%:${N_PORT}658%g;
s%:26657%:${N_PORT}657%g;
s%:6060%:${N_PORT}060%g;
s%:26656%:${N_PORT}656%g;
s%^external_address = \"\"%external_address = \"$(wget -qO- eth0.me):${N_PORT}656\"%;
s%:26660%:${N_PORT}660%g" $HOME/.initia/config/config.toml

🧑🏻‍💻 Seed

PEERS="[email protected]:26656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:39656,[email protected]:14656,[email protected]:14656,[email protected]:15656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:39656,[email protected]:14656,[email protected]:39656,[email protected]:14656,[email protected]:14656,[email protected]:26656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:14656,[email protected]:26933,[email protected]:14656,[email protected]:14656,[email protected]:14656,aee7083ab11910ba3f1b8126d1b3728f13f54943@initia-testnet-peer.itrocket.net:11656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656" && \
sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.initia/config/config.toml

🧑🏻‍💻 Gas pruning ayarı

sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"0.15uinit,0.01uusdc\"|" $HOME/.initia/config/app.toml

🧑🏻‍💻 Pruning indexer

sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.initia/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.initia/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"50\"/" $HOME/.initia/config/app.toml
sed -i "s/^indexer *=.*/indexer = \"null\"/" $HOME/.initia/config/config.toml

🧑🏻‍💻 Snap (opsiyonel)

initiad tendermint unsafe-reset-all --home $HOME/.initia
curl -o - -L http://37.120.189.81/initia_testnet/initia_snap.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.initia

🧑🏻‍💻 Başlatalım

sudo systemctl daemon-reload
sudo systemctl restart initiad

🧑🏻‍💻 Log

sudo journalctl -u initiad.service -f --no-hostname -o cat

🧑🏻‍💻 Cüzdan oluşturma

NOT: cüzdan adınızı yazınız

initiad keys add cuzdan-adini-yaz
  • Eski cüzdan import ederkene bele
initiad keys add wallet --recover

🧑🏻‍💻 Validator oluşturma

NOT: cüzdan adını moniker adınızı yazınız

initiad tx mstaking create-validator \
  --amount=5000000uinit \
  --pubkey=$(initiad tendermint show-validator) \
  --moniker=MONIKER-YAZ \
  --chain-id=initiation-1 \
  --commission-rate=0.05 \
  --commission-max-rate=0.10 \
  --commission-max-change-rate=0.01 \
  --from=CUZDAN-ADI-YAZ \
  --identity="" \
  --website="" \
  --details="" \
  --node=http://localhost:15657 \
  --gas-adjustment 1.4 \
  --gas auto \
  --gas-prices 0.15uinit \
  -y

🧑🏻‍💻 Edit validator

initiad tx mstaking edit-validator \
--moniker "isim-yaz" \
--from cüzdan-adi-yaz \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.15uinit \
-y

🧑🏻‍💻 Kendine delege

NOT:

initiad tx mstaking delegate $(initiad keys show wallet --bech val -a)  miktar000000uinit --from wallet --gas-adjustment 1.4 --gas auto --gas-prices 0.15uinit --node=http://localhost:15657 -y

🧑🏻‍💻 Unjail

initiad tx slashing unjail --from wallet --chain-id initiation-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.15uinit --node=http://localhost:15657 -y

🧑🏻‍💻 Ödülleri çek

initiad tx distribution withdraw-rewards $(initiad keys show wallet --bech val -a) --commission --from wallet --chain-id initiation-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.15uinit --node=http://localhost:15657 -y

🧑🏻‍💻 Oy kullan

initiad tx gov vote 75 yes --from wallet --chain-id initiation-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.15uinit --node=http://localhost:15657 -y

Oracle Görev Linki

Görev reposu

Güncelleme Linki

Güncelleme Linki

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published