├── güncelleme.md └── README.md /güncelleme.md: -------------------------------------------------------------------------------- 1 | ### güncellemek için: 2 | ``` 3 | algocfg reset -p GossipFanout && sudo systemctl restart voi && echo OK 4 | ``` 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

Voi Network

2 | 3 | > Adım adım gittiğiniz taktirde `sorunsuz` bir kurulum olacaktır. 4 | 5 | > Ayrıca kod blokları arasında bıraktığım `notları` okumanız `SORUNSUZ` kurulum yapmanıza neden olacak. 6 | 7 | # 8 | 9 | > Testnette elde edilen `tüm tokenler` mainnette `ödül olarak` verilir, yani talep ettiğiniz test tokenler bile `önemli` 10 | 11 | > Şu an pek fazla test token elde edmiyoruz, `2 Ekimden` itibaren block proposals edilecek. İsteyen o zaman kurabilir. 12 | 13 | > Testnet `3 aşamadan` totalde `3 ay` (`minimum`, zamana göre değişebilir) süreceğini belirttiler. 14 | 15 | # 16 | 17 | > ÖNEMLİ LİNKLER: [Duyuru](https://t.me/RuesAnnouncement) - [Chat](https://t.me/RuesChat) - [Discord](https://discord.gg/t7qVBD6m) - [Whitepaper](https://afaf83a4-6c33-4e2a-a40c-9999410c0063.filesusr.com/ugd/7dc173_8e16834f2fbd4866a957d441f392d578.pdf) 18 | 19 |

Donanım ve Güncelleme

20 | 21 | ```console 22 | # Dökümasyonda fazlası yazsada bu yeterlidir. !!(Ubuntu 20.04e kurdum)!! 23 | 4 CPU 8 RAM 80 SSD - Ubuntu 22.04 24 | # Benim Tavsiyem Ar-io nodeunuzun yanına kurmanız, ben öyle yaptım ayrı sunucu satın almadım. 25 | # Ar-io yok diyorsanız başka node olur, ayrı sunucuya gerek yok şimdilik. 26 | ``` 27 | 28 | > Lokasyon olarak kabaca görselde gösterdiğim lokasyonda yer alırsanız üst sıralarda olup daha fazla ödül alabilirsiniz; 29 | 30 | ![image](https://github.com/ruesandora/Voi/assets/101149671/a4acf712-b470-4ce7-bfb2-7bff3d47580e) 31 | 32 | ```console 33 | # Güncellemeler: 34 | sudo apt update && sudo apt-get upgrade -y 35 | sudo systemctl start unattended-upgrades && sudo systemctl enable unattended-upgrades 36 | ``` 37 | 38 |

Node Kurulumu

39 | 40 | ```console 41 | # Hep Cosmosu yükleyecek değiliz, Algorandı yüklüyoruz: 42 | sudo apt install -y jq gnupg2 curl software-properties-common 43 | curl -o - https://releases.algorand.com/key.pub | sudo tee /etc/apt/trusted.gpg.d/algorand.asc 44 | 45 | # Çıktısına ENTER diyebilirsiniz. 46 | sudo add-apt-repository "deb [arch=amd64] https://releases.algorand.com/deb/ stable main" 47 | 48 | # Tekrar güncelleyelim ve nodeun otomatik başlamaması için durduralım: 49 | sudo apt update && sudo apt install -y algorand && echo OK 50 | sudo systemctl stop algorand && sudo systemctl disable algorand && echo OK 51 | 52 | # goal setupı yapalım 53 | echo -e "\nexport ALGORAND_DATA=/var/lib/algorand/" >> ~/.bashrc && source ~/.bashrc && echo OK 54 | sudo adduser $(whoami) algorand && echo OK 55 | 56 | # yapılandırma işlem: 57 | sudo algocfg set -p DNSBootstrapID -v ".voi.network" -d /var/lib/algorand/ &&\ 58 | sudo algocfg set -p EnableCatchupFromArchiveServers -v true -d /var/lib/algorand/ &&\ 59 | sudo chown algorand:algorand /var/lib/algorand/config.json &&\ 60 | sudo chmod g+w /var/lib/algorand/config.json &&\ 61 | echo OK 62 | 63 | # Genesis 64 | sudo curl -s -o /var/lib/algorand/genesis.json https://testnet-api.voi.nodly.io/genesis &&\ 65 | sudo chown algorand:algorand /var/lib/algorand/genesis.json &&\ 66 | echo OK 67 | ``` 68 | 69 |

Nodeu çalıştıralım

70 | 71 | ```console 72 | # Algorandı Voi olarak yapılandıralım: 73 | sudo cp /lib/systemd/system/algorand.service /etc/systemd/system/voi.service &&\ 74 | sudo sed -i 's/Algorand daemon/Voi daemon/g' /etc/systemd/system/voi.service &&\ 75 | echo OK 76 | 77 | # ve nodeu çalıştralım: 78 | sudo systemctl start voi && sudo systemctl enable voi && echo OK 79 | 80 | # nodeu kontrrol edelim status ile: 81 | goal node status 82 | 83 | # ==> Genesis ID: voitest-v1 84 | # ==> Genesis hash: IXnoWtviVVJW5LGivNFc0Dq14V3kqaXuK2u5OQrdVZo= 85 | # Çıktının sonu bu şekilde olmalı (hash değişebilir) 86 | 87 | # Hızlı sync olalım: 88 | goal node catchup $(curl -s https://testnet-api.voi.nodly.io/v2/status|jq -r '.["last-catchpoint"]') &&\ 89 | echo OK 90 | # Burada bir kaç dakika bekleyelim 91 | 92 | # Yine status yapalım ama bu sefer loglarda Catchpoint göreceğiz: 93 | goal node status 94 | 95 | # Bu komutla kontrol ettiğimizde Sync Timeın sıfırlanmasını ve loglarda Catchpointin gitmesini bekleyelim. 96 | goal node status -w 1000 97 | # Yukarda ki şartlar gerçekleince CTRL + C 98 | ``` 99 | 100 |

Ödül alabilmek için Telemtry yapalım

101 | 102 | ```console 103 | # RuesTest yazan kısmı düzenleyiniz ve tırnakları <> kaldırın 104 | sudo ALGORAND_DATA=/var/lib/algorand diagcfg telemetry name -n - RuesCommunity 105 | 106 | sudo ALGORAND_DATA=/var/lib/algorand diagcfg telemetry enable &&\ 107 | sudo systemctl restart voi 108 | ``` 109 | 110 |

Cüzdan oluşturma işlemleri

111 | 112 | ```console 113 | # Cüzdan oluşturalım: 114 | goal wallet new voi 115 | # Şifre belirledikten sonra Y diyip 24 kelimenizi alıp saklayın. 116 | 117 | # Şimdi cüzdanımızı nodeumuza import edelim: 118 | goal account import 119 | # Şifre ve 24 kelimeyi girince bize bir Imported adres verecek bunu saklayalım cüzdan adresimiz. 120 | 121 | # Şimdi bu kodları girelim ve bizden Imported adresimizi isteyecek. 122 | # 1 Kerede kopyala yapıştır yapabilirsiniz bu kodu 123 | echo -ne "\nEnter your voi address: " && read addr &&\ 124 | echo -ne "\nEnter duration in rounds [press ENTER to accept default (2M)]: " && read duration &&\ 125 | start=$(goal node status | grep "Last committed block:" | cut -d\ -f4) &&\ 126 | duration=${duration:-2000000} &&\ 127 | end=$((start + duration)) &&\ 128 | dilution=$(echo "sqrt($end - $start)" | bc) &&\ 129 | goal account addpartkey -a $addr --roundFirstValid $start --roundLastValid $end --keyDilution $dilution 130 | # Imported adresinden sonra ki soruda ENTER diyip varsayılanı tercih edebiliriz. 131 | # Import işleminin tamamlanmasını bekleyin ve Participation IDinizi saklayın. 132 | 133 | # Aktifliğimize bakalım, burada çıktı !!OFFLİNE OLMALI!! 134 | checkonline() { 135 | if [ "$addr" == "" ]; then echo -ne "\nEnter your voi address: " && read addr; else echo ""; fi 136 | goal account dump -a $addr | jq -r 'if (.onl == 1) then "You are online!" else "You are offline." end' 137 | } 138 | checkonline 139 | ``` 140 | 141 | > Bu aşamadan sonrasına devam etmek için discorddan token alın. `node-runners kanalı` => `/voi-testnet-faucet` şeklinde. 142 | 143 | > Imported adresiniz ile [Explorerdan](https://voi.observer/explorer/home) kontrol edin token gelince devam edin. 144 | 145 |

Token Aldıktan Sonra

146 | 147 | ```console 148 | # Tokenimizi aldıysak bu komutla !!Online olalım!! 149 | getaddress() { 150 | if [ "$addr" == "" ]; then echo -ne "\nEnter your voi address: " && read addr; else echo ""; fi 151 | } 152 | getaddress &&\ 153 | goal account changeonlinestatus -a $addr -o=1 &&\ 154 | sleep 1 &&\ 155 | goal account dump -a $addr | jq -r 'if (.onl == 1) then "You are online!" else "You are offline." end' 156 | ``` 157 | 158 | ![image](https://github.com/ruesandora/Voi/assets/101149671/6b030e34-9619-4191-a136-6312f94ba7cb) 159 | 160 | 161 |

Node kurduktan sonra yapılacaklar

162 | 163 | > Node kurduktan `1-2 gün` sonra `#VoiScout-testnet` kanalında cüzdanınızın ilk 6 hanesini search edin. 164 | 165 | > Zaten `online` iseniz doğru ama ek olarak burda gözüküyorsa prop execute etmişsiniz demektir. (iyi bir şey, node calısmıyor anlamına gelmez) 166 | 167 | > [Buradan](https://cswenor.github.io/voi-proposer-data/health.html) kendimizi kontrol edelim (`Hour`) 168 | --------------------------------------------------------------------------------