Telegram kanalı: https://t.me/TeritoriTurkish
Not: Aslında 1 CPU bile yeterli olabilir ama benim tavsiyem bu CPU ve RAM değerleri:
2 CPU
2 RAM
80 GB SSD
apt update && apt upgrade -y
apt install build-essential git curl gcc make jq -y
wget -c https://go.dev/dl/go1.18.3.linux-amd64.tar.gz && rm -rf /usr/local/go && tar -C /usr/local -xzf go1.18.3.linux-amd64.tar.gz && rm -rf go1.18.3.linux-amd64.tar.gz
echo 'export GOROOT=/usr/local/go' >> $HOME/.bash_profile
echo 'export GOPATH=$HOME/go' >> $HOME/.bash_profile
echo 'export GO111MODULE=on' >> $HOME/.bash_profile
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> $HOME/.bash_profile && . $HOME/.bash_profile
go version
git clone https://github.com/TERITORI/teritori-chain && cd teritori-chain && git checkout teritori-testnet-v2 && make install
Kurulum gerçekleştiğni teyit etmek için (Should return teritori-testnet-v2-0f4e5cb1d529fa18971664891a9e8e4c114456c6) yazıyorsa sıkıntı yok:
teritorid version
teritorid init <VALİDATOR İSMİNİZ> --chain-id teritori-testnet-v2
sed -i.bak 's/persistent_peers =.*/persistent_peers = "[email protected]:26656,[email protected]:26656,[email protected]:26656"/' $HOME/.teritorid/config/config.toml
wget -O ~/.teritorid/config/genesis.json https://raw.githubusercontent.com/TERITORI/teritori-chain/main/testnet/teritori-testnet-v2/genesis.json
tee <<EOF >/dev/null /etc/systemd/system/teritorid.service
[Unit]
Description=Teritori Cosmos daemon
After=network-online.target
[Service]
User=root
ExecStart=/root/go/bin/teritorid start
Restart=on-failure
RestartSec=3
LimitNOFILE=4096
[Install]
WantedBy=multi-user.target
EOF
systemctl enable teritorid
systemctl daemon-reload
systemctl restart teritorid
sudo nano /etc/systemd/system/teritorid.service
tee <<EOF >/dev/null /etc/systemd/system/teritorid.service
Not: CTRL+X+Y+ENTER yapıp kaydediyoruz
sudo systemctl stop teritorid
rm $HOME/.teritorid/config/addrbook.json
wget -O $HOME/.teritorid/config/addrbook.json https://raw.githubusercontent.com/StakeTake/guidecosmos/main/teritori/teritori-testnet-v2/addrbook.json
sudo systemctl restart teritorid
journalctl -u teritorid.service -f -n 100
teritorid keys add <Rues>
Test tokeni için discorda gidelim: https://discord.gg/Z968SBZdXb
$request Cüzdan adresi
teritorid status 2>&1 | jq .SyncInfo
teritorid tx staking create-validator --chain-id teritori-testnet-v2 --commission-rate 0.1 --commission-max-rate 0.1 --commission-max-change-rate 0.1 --min-self-delegation "900000" --amount 900000utori --pubkey $(teritorid tendermint show-validator) --moniker "RuesValidator" --from rues --fees 555utori