Linkler

İngilizce flood için :
https://gitopia.com/CryptoSailors/gitopia-node-installation/tree/master/
Sistem gereksinimleri
4 CPU
8-16 GB RAM
200-1000 GB SSD
Sistem güncellemesi yapıyoruz.
sudo apt update && sudo apt upgrade -y
Gerekli kütüphaneleri kuruyoruz.
sudo apt install make clang pkg-config libssl-dev libclang-dev build-essential git curl ntp jq llvm tmux htop screen unzip cmake -y
Go kurulumu yapıyoruz
wget https://golang.org/dl/go1.19.3.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.19.3.linux-amd64.tar.gz
cat <<EOF >> ~/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source ~/.profile
go version
rm -rf go1.19.3.linux-amd64.tar.gz
Node kurulumu yapıyoruz.
curl https://get.gitopia.com | bash
Gitopia Github repository'den sunucumuza kopyalıyoruz.
git clone -b v1.2.0 gitopia://gitopia/gitopia
Gitopia klasörüne giriyoruz ve binary kurulumunu yapıyoruz.
cd gitopia && make install
Versiyon kontrolü yapıyoruz. (v1.2.0) çıktısı almanız lazım.
gitopiad version
Init (başlatma) işlemini gerçekleştiriyoruz.
Minimum gas price ayarlıyoruz.
sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.001utlore\"/" ~/.gitopia/config/app.toml
Indexer devre dışı bırakıyoruz.
sed -i.bak -e "s/^indexer *=.*/indexer = \"null\"/" ~/.gitopia/config/config.toml
Seed node giriyoruz.
sed -i 's#seeds = ""#seeds = "399d4e19186577b04c23296c4f7ecc53e61080cb@seed.gitopia.com:26656"#' $HOME/.gitopia/config/config.toml
Pruning açıyoruz. (Daha düşük disk kullanımı sağlar ancak cpu ve ram kullanımı artar)
pruning="custom"
pruning_keep_recent="100"
pruning_keep_every="0"
pruning_interval="50"
sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.gitopia/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.gitopia/config/app.toml
sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.gitopia/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.gitopia/config/app.toml
Genesis dosyasını indiriyoruz.
wget https://server.gitopia.com/raw/gitopia/testnets/master/gitopia-janus-testnet-2/genesis.json.gz
gunzip genesis.json.gz
mv genesis.json $HOME/.gitopia/config/genesis.json
Binary dosyasını /usr/bin
altına taşıyoruz.
mv $HOME/go/bin/gitopiad /usr/bin/
Servis dosyasını oluşturuyoruz.
tee /etc/systemd/system/gitopiad.service > /dev/null <<EOF
[Unit]
Description=Gitopia
After=network-online.target
[Service]
User=root
ExecStart=$(which gitopiad) start
Restart=always
RestartSec=3
LimitNOFILE=10000
[Install]
WantedBy=multi-user.target
EOF
Node'u başlatıyoruz.
sudo systemctl daemon-reload
sudo systemctl start gitopiad
sudo systemctl enable gitopiad
sudo journalctl -u gitopiad -f -o cat
Cüzdan oluşturuyoruz.
- wallet kısmına cüzdan ismimizi giriyoruz.
- Mnemonic'leri kaydetmeyi unutmayın bir daha ulaşamazsınız !!!!
gitopiad keys add wallet
Gitopia sitesine giderek keplr cüzdanımızı bağlıyoruz. Get TLORE diyerek faucetten 10 adet token alıyoruz.

Sync olup olmadığımızı kontrol ediyoruz.
Hızlı eşleşmek isteyenler için State Sync Servisleri (Mümkün olduğunca önermem)
! PPNV Service !#0083'e ait state sync Link
polkachu | polkachu.com#1249'a ait state sync Link
lesnik_utsa#4480'e ait state sync Link
Validator oluşturuyoruz.
Çok eski bir form olmasına rağmen validator kurduktan sonra formu dolduralım LINK
Yardımcı komutlar (Kj Nodes'ten alıntı)
Logları görüntüleme
journalctl -fu gitopiad -o cat
Servis başlatma
sudo systemctl start gitopiad
Servis durdurma
sudo systemctl stop gitopiad
Servis tekrar başlatma
sudo systemctl restart gitopiad
sync bilgisi görmek için
gitopiad status 2>&1 | jq .SyncInfo
Validator bilgisi görmek için
gitopiad status 2>&1 | jq .ValidatorInfo
Node bilgisi görmek için
gitopiad status 2>&1 | jq .NodeInfo
Node id görmek için
gitopiad tendermint show-node-id
Cüzdanları listelemek için
gitopiad keys list
Cüzdan recover etmek için
Cüzdan silmek için
Token bakiyesini görmek için
Token transfer etmek için
Aktif bir Proposalda oy vermek için
gitopiad tx gov vote 1 yes --from WalletName --chain-id=gitopia-janus-testnet-2
Herhangi bir Validatore token Delegate etmek için
Herhangi bir validatore token redelege etmek için
Stake ödüllerini withdraw etmek için
Ödülleri withdraw etmek için
Node silmek için
sudo systemctl stop gitopiad
sudo systemctl disable gitopiad
sudo rm /etc/systemd/system/gitopia* -rf
sudo rm $(which gitopiad) -rf
sudo rm $HOME/.gitopia* -rf
sudo rm $HOME/gitopia -rf
sed -i '/GITOPIA_/d' ~/.bash_profile