Stride – Poll Party!

Sep 12, 2023 | Blockchain

Selamlar, bugün Stride node testnetine katılacağız. Sorularınız için: Stride Türkiye

Stride Image

Sistem Gereksinimleri

  • 4 CPU
  • 8 RAM
  • 160 GB SSD

Sıfırdan Kurulum Yapacaklar İçin

Kurulum:

wget -q -O stride.sh https://api.rues.info/stride.sh  
chmod +x stride.sh  
sudo bin/bash stride.sh

Cüzdan Oluşturma:

strided keys add walletName

Discord’dan Test Tokeni Alma:

Discord bağlantısı: Discord Linki

Token Image

Validator Oluşturma:

Moniker ve From kısımlarını düzenleyin.

strided tx staking create-validator --amount=9900000ustrd --pubkey=$(strided tendermint show-validator) 
--moniker=RuesValidator --chain-id=STRIDE-TESTNET-2 --commission-rate=0.10 --commission-max-rate=0.20 
--commission-max-change-rate=0.1 --min-self-delegation=1 --fees=250ustrd --gas=200000 --from=rues 
--website=http://forum.rues.info --details=https://linktr.ee/ruesandora0

Daha Önce Validator Oluşturanlar İçin

Tek Kalemde Hepsini Kopyalayıp Terminale Yapıştırın:

sudo systemctl stop strided  
cd $HOME  
rm -rf stride  
git clone https://github.com/Stride-Labs/stride.git  
cd stride  
git checkout 3cb77a79f74e0b797df5611674c3fbd000dfeaa1  
make build  
sudo cp $HOME/stride/build/strided /usr/local/bin  
wget -O $HOME/.stride/config/addrbook.json https://github.com/mmc6185/node-testnets/blob/main/stride/addrbook.json?raw=true  
wget -qO $HOME/.stride/config/genesis.json https://raw.githubusercontent.com/Stride-Labs/testnet/main/poolparty/genesis.json  
SEEDS=c0b278cbfb15674e1949e7e5ae51627cb2a2d0a9@seedv2.poolparty.stridenet.co:26656  
PEERS=d6583df382d418872ab5d71d45a1a8c3d28ff269@138.201.139.175:21016,05d7b774620b7afe28bba5fa9e002b436786d4c3@195.201.165.123:20086  
sed -i -e 's^seeds *=.*^seeds = $SEEDS; s^persistent_peers *=.*^persistent_peers = $PEERS' $HOME/.stride/config/config.toml  
sed -i.bak -E 's^(enable[[:space:]]+=[[:space:]]+).*$1false' $HOME/.stride/config/config.toml  
strided tendermint unsafe-reset-all --home $HOME/.stride  
sudo systemctl start strided  
journalctl -fu strided -o cat

Eşleştikten Sonra Validator Oluşturun:

Moniker ve From kısımlarını düzenleyin:

strided tx staking create-validator --amount=9900000ustrd --pubkey=$(strided tendermint show-validator) 
--moniker=RuesValidator --chain-id=STRIDE-TESTNET-2 --commission-rate=0.10 --commission-max-rate=0.20 
--commission-max-change-rate=0.1 --min-self-delegation=1 --fees=250ustrd --gas=200000 --from=rues 
--website=http://forum.rues.info --details=https://linktr.ee/ruesandora0

Peer Sorunu Yaşarsanız Tek Komutta

Yukarıda Sorun Almazsanız Yapmayın, Sıfırdan Başlarsınız.

sudo systemctl stop strided  
cd $HOME  
rm -rf stride  
git clone https://github.com/Stride-Labs/stride.git  
cd stride  
git checkout 3cb77a79f74e0b797df5611674c3fbd000dfeaa1  
make build  
sudo cp $HOME/stride/build/strided /usr/local/bin 
sed -i.bak -E 's^(enable[[:space:]]+=[[:space:]]+).*$1false' $HOME/.stride/config/config.toml  
strided tendermint unsafe-reset-all --home $HOME/.stride  
SEEDS=; PEERS=48b1310bc81deea3eb44173c5c26873c23565d33@34.135.129.186:26656,\
0f45eac9af97f4b60d12fcd9e14a114f0c085491@stride-library.poolparty.stridenet.co:26656  
sed -i.bak -e 's^seeds *=.*^seeds = $SEEDS; s^persistent_peers *=.*^persistent_peers = $PEERS' $HOME/.stride/config/config.toml  
wget -O $HOME/.stride/config/addrbook.json https://github.com/mmc6185/node-testnets/blob/main/stride/addrbook.json?raw=true  
SNAP_RPC=https://stride-library.poolparty.stridenet.co:443  
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height)  
BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000))  
TRUST_HASH=$(curl -s $SNAP_RPC/block?height=$BLOCK_HEIGHT | jq -r .result.block_id.hash)  
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH  
sed -i.bak -E 's^(enable[[:space:]]+=[[:space:]]+).*$1true; s^(rpc_servers[[:space:]]+=[[:space:]]+).*$1$SNAP_RPC,$SNAP_RPC; s^(trust_height[[:space:]]+=[[:space:]]+).*$1$BLOCK_HEIGHT; s^(trust_hash[[:space:]]+=[[:space:]]+).*$1$TRUST_HASH; s^(seeds[[:space:]]+=[[:space:]]+).*$1=$SEEDS' $HOME/.stride/config/config.toml  
sudo systemctl restart strided  
journalctl -u strided -f -o cat

Explorer Kontrol:

Explorer bağlantısı: Explorer Linki

Troubleshooting

Herhangi bir sorunla karşılaşırsanız, yukarıdaki adımları dikkatlice tekrar kontrol edin. Yapılan her adımda komutların doğru yazıldığından emin olun. Bu, genellikle hemen çözüm bulunmasına yardımcı olacaktır.

For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.

Unutmayın ki, sisteminizdeki bellek ve işlemci kaynakları her zaman yeterli olmalıdır.

At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

Stay Informed with the Newest F(x) Insights and Blogs

Tech News and Blog Highlights, Straight to Your Inbox