├── AssetMantle └── mantle-1 │ ├── AssetMantle │ ├── README.md │ ├── autodelegator │ ├── README.md │ ├── autodelegator │ └── start.sh │ └── telegram_bot │ ├── README.md │ ├── alerts.sh │ └── start.sh ├── ChronicToken └── morocco-1 │ ├── README.md │ ├── addrbook.json │ └── chtd ├── CoHo └── darkenergy-1 │ ├── CoHo │ ├── README.md │ └── addrbook.json ├── CrowdControl └── Cardchain │ ├── README.md │ ├── addrbook.json │ └── crowd ├── DWS ├── deweb-testnet-1 │ ├── DWS │ ├── README.md │ └── addrbook.json ├── deweb-testnet-2 │ ├── DWS │ └── README.md └── deweb-testnet-sirius │ ├── DWS │ ├── README.md │ └── addrbook.json ├── Humans ├── telegram_bot │ ├── README.md │ ├── alerts.sh │ └── start └── testnet-1 │ ├── README.md │ └── addrbook.json ├── IBC_RELAYER └── hermesv0.15 │ └── README.md ├── IDEP └── Antora │ ├── README.md │ └── idep ├── KYVE ├── korellia │ ├── README.md │ ├── addrbook.json │ └── kyve └── kyve-beta │ ├── README.md │ ├── addrbook.json │ └── kyve ├── Nibiru ├── nibiru-itn-1 │ ├── README.md │ └── addrbook.json └── nibiru-testnet-2 │ ├── README.md │ └── addrbook.json ├── Pylons-tech └── pylons-testnet-3 │ ├── README.md │ ├── addrbook.json │ └── pylons ├── README.md ├── anone └── anone-testnet-1 │ ├── README.md │ └── anone ├── arable └── bamboo_9000-1 │ ├── README.md │ ├── addrbook.json │ └── arable ├── archway ├── augusta-1 │ ├── README.md │ ├── addrbook.json │ ├── archway │ └── genesis.json └── torii-1 │ ├── README.md │ ├── archway │ ├── autodelegator │ ├── README.md │ ├── autodelegator │ └── start.sh │ └── telegram_bot │ ├── README.md │ ├── alerts.sh │ └── start.sh ├── aura ├── euphoria-1 │ ├── README.md │ ├── addrbook.json │ ├── aura │ └── telegram_bot │ │ ├── README.md │ │ ├── alerts.sh │ │ └── start └── halo-testnet-001 │ ├── README.md │ └── aura ├── canto └── canto_7700-1 │ ├── README.md │ ├── addrbook.json │ ├── canto │ └── genesis.json ├── celestia ├── mamaki │ ├── README.md │ └── celestia └── telegram_bot │ ├── README.md │ ├── alerts.sh │ └── start ├── crossfi └── crossfi-evm-testnet-1 │ ├── README.md │ ├── addrbook.json │ ├── crossfi │ └── telegram_bot │ ├── README.md │ ├── alerts.sh │ └── start ├── defund-labs └── defund-private-1 │ ├── README.md │ ├── addrbook.json │ └── defund ├── evmos ├── evmos_9000-3 │ ├── README.md │ ├── addrbook.json │ └── evmos ├── evmos_9000-4 │ ├── README.md │ ├── addrbook.json │ └── evmos └── evmos_9001_2 │ ├── README.md │ └── evmos ├── galaxies-labs └── galaxy-1 │ ├── README.md │ └── galaxy ├── gnoland └── gno ├── haqq ├── haqq_53211-1 │ ├── README.md │ ├── addrbook.json │ └── haqq └── haqq_54211-2 │ ├── README.md │ ├── addrbook.json │ ├── haqq │ └── telegram_bot │ ├── README.md │ ├── alerts.sh │ └── start ├── kujira ├── harpoon-3 │ ├── README.md │ └── kujira └── harpoon-4 │ ├── README.md │ └── kujira ├── meme └── meme-1 │ ├── README.md │ ├── addrbook.json │ └── meme ├── ollo └── ollo-testnet-0 │ ├── README.md │ ├── addrbook.json │ └── ollo ├── paloma ├── paloma-testnet-5 │ ├── README.md │ ├── addrbook.json │ └── paloma └── paloma │ ├── README.md │ └── paloma ├── quicksilver ├── killerqueen │ ├── README.md │ ├── addrbook.json │ └── quicksilver ├── quicktest-1 │ ├── README.md │ └── quicksilver ├── quicktest-3 │ ├── README.md │ ├── addrbook.json │ └── quicksilver └── rhapsody-5 │ ├── README.md │ └── quicksilver ├── rebus ├── reb_1111-1 │ ├── README.md │ ├── addrbook.json │ └── rebus └── reb_3333-1 │ ├── README.md │ ├── addrbook.json │ └── rebus ├── sei ├── atlantic-1 │ ├── README.md │ ├── addrbook.json │ └── sei ├── atlantic-sub-1 │ ├── README.md │ ├── addrbook.json │ ├── sei │ └── stepbystep │ │ └── README.md ├── atlantic-sub-2 │ ├── README.md │ ├── sei │ └── stepbystep │ │ └── README.md ├── sei-devnet-1 │ ├── README.md │ └── sei ├── sei-testnet-1 │ ├── README.md │ ├── addrbook.json │ └── sei └── sei-testnet-2 │ ├── README.md │ └── sei ├── source └── sourcechain-testnet │ ├── README.md │ ├── addrbook.json │ ├── source │ └── sourcecosmo ├── stafihub ├── stafihub-public-testnet-2 │ ├── README.md │ ├── addrbook.json │ ├── autodelegator │ │ ├── README.md │ │ ├── autodelegator │ │ └── start.sh │ ├── stafihub │ └── telegram_bot │ │ ├── README.md │ │ ├── alerts.sh │ │ └── start.sh ├── stafihub-public-testnet-3 │ ├── README.md │ ├── addrbook.json │ └── stafihub └── stafihub-testnet-1 │ ├── README.md │ ├── addrbook.json │ └── stafihub ├── stride ├── GAIA │ ├── README.md │ ├── addrbook.json │ └── gaia ├── STRIDE-1 │ ├── README.md │ ├── addrbook.json │ └── stride ├── STRIDE-TESTNET-2 │ ├── README.md │ ├── addrbook.json │ └── stride ├── STRIDE-TESTNET-3 │ ├── README.md │ ├── addrbook.json │ ├── genesis.json │ └── stride ├── STRIDE-TESTNET-4 │ ├── README.md │ ├── addrbook.json │ └── stride └── STRIDE │ ├── README.md │ └── stride ├── teritori ├── teritori-testnet-v1 │ ├── README.md │ └── teritori └── teritori-testnet-v2 │ ├── README.md │ ├── addrbook.json │ └── teritori ├── tgrade └── tgrade-dryrunnet │ ├── README.md │ ├── addrbook.json │ └── tgrade ├── umee ├── canon-1 │ ├── README.md │ ├── addrbook.json │ └── umee ├── canon-2 │ ├── README.md │ ├── addrbook.json │ └── umee ├── canon-3 │ ├── README.md │ ├── addrbook.json │ └── umee ├── telegram_bot │ ├── README.md │ ├── alerts.sh │ └── start └── umee-1 │ ├── README.md │ ├── addrbook.json │ └── umee └── uptick └── uptick_7776-1 ├── README.md └── uptick /AssetMantle/mantle-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/AssetMantle/mantle-1/AssetMantle > AssetMantle.sh && chmod +x AssetMantle.sh && ./AssetMantle.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.mantleNode/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | -------------------------------------------------------------------------------- /AssetMantle/mantle-1/autodelegator/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ___In this guide, we have written how to set up an autodelegator for your validator node of AssetMantle___ 4 | 5 | ```html 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/AssetMantle/mantle-1/autodelegator/autodelegator > autodelegator.sh && chmod +x autodelegator.sh && ./autodelegator.sh 7 | ``` 8 | 9 | We need to do is set the variables correctly 10 | 11 | 1. The name of the wallet that you wrote when installing the node 12 | 2. The password is set according to your password from the created wallet 13 | 3. The validator address and the delegator address will be set automatically, the only thing you need to do is enter the wallet password when setting the variable 14 | 15 | **After you have set the variables, go to the launch of the redelegator** 16 | 17 | The script will automatically open the screen window, where all you have to do is run the redelegator with the command 18 | ```html 19 | cd $HOME/autodelegate && ./start.sh 20 | ``` 21 | and exit the window by pressing 22 | 23 | __ctrl + a + d__ 24 | 25 | in order to go back to the window 26 | 27 | __screen-r__ 28 | -------------------------------------------------------------------------------- /AssetMantle/mantle-1/autodelegator/autodelegator: -------------------------------------------------------------------------------- 1 | !/bin/bash 2 | 3 | while true 4 | do 5 | 6 | # Logo 7 | 8 | echo "============================================================" 9 | curl -s https://raw.githubusercontent.com/StakeTake/script/main/logo.sh | bash 10 | echo "============================================================" 11 | 12 | 13 | PS3='Select an action: ' 14 | options=( 15 | "Setup parametrs for autodelegator" 16 | "Start autodelegator" 17 | "Exit") 18 | select opt in "${options[@]}" 19 | do 20 | case $opt in 21 | 22 | "Setup parametrs for autodelegator") 23 | echo "============================================================" 24 | echo export PROJECT=mantleNode >> $HOME/.bash_profile 25 | echo "============================================================" 26 | echo "Setup your wallet name" 27 | echo "============================================================" 28 | read WALLETNAME 29 | echo export WALLETNAME=${WALLETNAME} >> $HOME/.bash_profile 30 | echo "============================================================" 31 | echo "Setup your password of wallet" 32 | echo "============================================================" 33 | read PWDDD 34 | echo export PWDDD=${PWDDD} >> $HOME/.bash_profile 35 | source $HOME/.bash_profile 36 | echo "============================================================" 37 | echo "Enter the password of wallet for set the validator address" 38 | echo "============================================================" 39 | VAL_ADDR=$($PROJECT keys show $WALLETNAME --bech val -a) 40 | echo export VAL_ADDR=${VAL_ADDR} >> $HOME/.bash_profile 41 | echo "============================================================" 42 | echo "Enter the password of wallet for set the delegator address" 43 | echo "============================================================" 44 | DEL_ADDR=$($PROJECT keys show $WALLETNAME --bech acc -a) 45 | echo export DEL_ADDR=${DEL_ADDR} >> $HOME/.bash_profile 46 | echo export DENOM=umntl >> $HOME/.bash_profile 47 | echo export FEES=0 >> $HOME/.bash_profile 48 | echo export CHAIN_ID=mantle-1 >> $HOME/.bash_profile 49 | source $HOME/.bash_profile 50 | 51 | 52 | mkdir $HOME/autodelegate 53 | wget -O $HOME/autodelegate/start.sh https://raw.githubusercontent.com/StakeTake/guidecosmos/main/AssetMantle/mantle-1/autodelegator/start.sh 54 | chmod +x $HOME/autodelegate/start.sh 55 | break 56 | ;; 57 | 58 | "Start autodelegator") 59 | echo "============================================================" 60 | echo "Bot strating" 61 | echo "============================================================" 62 | apt install screen 63 | screen -S AutoDelegate 64 | 65 | break 66 | ;; 67 | 68 | "Exit") 69 | exit 70 | ;; 71 | 72 | *) echo "invalid option $REPLY";; 73 | esac 74 | done 75 | done 76 | -------------------------------------------------------------------------------- /AssetMantle/mantle-1/autodelegator/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | source $HOME/.bash_profile 4 | GREEN_COLOR='\033[0;32m' 5 | RED_COLOR='\033[0;31m' 6 | WITHOU_COLOR='\033[0m' 7 | DELAY=70 #in secs - how often restart the script 8 | 9 | 10 | for (( ;; )); do 11 | echo -e "Get reward from Delegation" 12 | echo -e "${PWDDD}\ny\n" | $PROJECT tx distribution withdraw-rewards ${VAL_ADDR} --chain-id ${CHAIN_ID} --from ${WALLETNAME} --commission --fees ${FEES}${DENOM} -y 13 | for (( timer=15; timer>0; timer-- )) 14 | do 15 | printf "* sleep for ${RED_COLOR}%02d${WITHOUT_COLOR} sec\r" $timer 16 | sleep 1 17 | done 18 | BAL=$($PROJECT q bank balances ${DEL_ADDR} -o json | jq -r '.balances | .[].amount') 19 | echo -e "BALANCE: ${GREEN_COLOR}${BAL}${WITHOU_COLOR} $DENOM\n" 20 | echo -e "Claim rewards\n" 21 | echo -e "${PWDDD}\n${PWDDD}\n" | $PROJECT tx distribution withdraw-all-rewards --from ${DEL_ADDR} --chain-id ${CHAIN_ID} --fees ${FEES}${DENOM} -y 22 | for (( timer=15; timer>0; timer-- )) 23 | do 24 | printf "* sleep for ${RED_COLOR}%02d${WITHOU_COLOR} sec\r" $timer 25 | sleep 1 26 | done 27 | BAL=$($PROJECT q bank balances ${DEL_ADDR} -o json | jq -r '.balances | .[].amount') 28 | BAL=$(($BAL- 500)) 29 | echo -e "BALANCE: ${GREEN_COLOR}${BAL}${WITHOU_COLOR} ${DENOM}\n" 30 | echo -e "Stake ALL\n" 31 | if (( BAL > 500 )); then 32 | echo -e "${PWDDD}\n${PWDDD}\n" | $PROJECT tx staking delegate ${VAL_ADDR} ${BAL}${DENOM} --from ${DEL_ADDR} --chain-id ${CHAIN_ID} --fees ${FEES}${DENOM} -y 33 | else 34 | echo -e "BALANCE: ${GREEN_COLOR}${BAL}${WITHOU_COLOR} $DENOM BAL < 0 ((((\n" 35 | fi 36 | for (( timer=${DELAY}; timer>0; timer-- )) 37 | do 38 | printf "* sleep for ${RED_COLOR}%02d${WITHOU_COLOR} sec\r" $timer 39 | sleep 1 40 | done 41 | done 42 | -------------------------------------------------------------------------------- /AssetMantle/mantle-1/telegram_bot/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ___In this guide, we wrote how to set up a bot to track the state of the AssetMantle node___ 4 | 5 | To install, follow a few simple steps: 6 | 7 | 1. Create a bot, get an api token (To get a token, you can use FatherBot in telegram) and a telegram chat id, you can read how to do it at the link - [(ENG)](https://sean-bradley.medium.com/get-telegram-chat-id-80b575520659 "") [(RU)](https://nastroyvse.ru/programs/review/telegram-id-kak-uznat-zachem-nuzhno.html "") 8 | 2. Run the script, select the installation stage, which will ask you to enter API_token and telegram chat id. 9 | ```html 10 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/AssetMantle/mantle-1/telegram_bot/start.sh > start.sh && chmod +x start.sh && ./start.sh 11 | ``` 12 | 3. Select the "Start bot" item and enter the following data in the line that appears, you also need to leave the next line empty 13 | ```html 14 | */1 * * * * /bin/bash $HOME/alerts/alerts.sh 15 | ``` 16 | ![](https://ltdfoto.ru/images/2022/04/07/image_2022-04-07_13-35-26.png) 17 | -------------------------------------------------------------------------------- /AssetMantle/mantle-1/telegram_bot/alerts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # File name for saving parameters, e.g. "cosmos.log" 4 | LOG_FILE="/root/alerts/nodealerts.log" 5 | # Your node RPC address, e.g. "http://127.0.0.1:26657" 6 | NODE_RPC="http://127.0.0.1:26657" 7 | # Trusted node RPC address, e.g. "https://rpc.cosmos.network:26657" 8 | SIDE_RPC="http://localhost:26657" 9 | ip=$(wget -qO- eth0.me) 10 | 11 | touch $LOG_FILE 12 | REAL_BLOCK=$(curl -s "$SIDE_RPC/status" | jq '.result.sync_info.latest_block_height' | xargs ) 13 | STATUS=$(curl -s "$NODE_RPC/status") 14 | CATCHING_UP=$(echo $STATUS | jq '.result.sync_info.catching_up') 15 | LATEST_BLOCK=$(echo $STATUS | jq '.result.sync_info.latest_block_height' | xargs ) 16 | VOTING_POWER=$(echo $STATUS | jq '.result.validator_info.voting_power' | xargs ) 17 | ADDRESS=$(echo $STATUS | jq '.result.validator_info.address' | xargs ) 18 | 19 | source $LOG_FILE 20 | #REAL_BLOCK=350000 21 | #VOTING_POWER=150 22 | 23 | echo 'LAST_BLOCK="'"$LATEST_BLOCK"'"' > $LOG_FILE 24 | echo 'LAST_POWER="'"$VOTING_POWER"'"' >> $LOG_FILE 25 | 26 | source $HOME/.bash_profile 27 | curl -s "$NODE_RPC/status"> /dev/null 28 | if [[ $? -ne 0 ]]; then 29 | MSG="$ip node is stopped!!! ( узел остановлен )" 30 | MSG="AssetMantle $MSG" 31 | SEND=$(curl -s -X POST -H "Content-Type:multipart/form-data" "https://api.telegram.org/bot$TG_API/sendMessage?chat_id=$TG_ID&text=$MSG"); exit 1 32 | fi 33 | 34 | if [[ $LAST_POWER -ne $VOTING_POWER ]]; then 35 | DIFF=$(($VOTING_POWER - $LAST_POWER)) 36 | if [[ $DIFF -gt 0 ]]; then 37 | DIFF="%2B$DIFF" 38 | fi 39 | MSG="$ip voting power changed ( размер стейка валидатора изменился ) $DIFF%0A($LAST_POWER -> $VOTING_POWER)" 40 | fi 41 | 42 | if [[ $LAST_BLOCK -ge $LATEST_BLOCK ]]; then 43 | 44 | MSG="$ip node is probably stuck at block (узел застрял в блоке номер>> ) $LATEST_BLOCK" 45 | fi 46 | 47 | if [[ $VOTING_POWER -lt 1 ]]; then 48 | MSG="$ip validator inactive\jailed ( валидатор не активен\в тюрьме ). Voting power $VOTING_POWER" 49 | fi 50 | 51 | if [[ $CATCHING_UP = "true" ]]; then 52 | MSG="$ip node is unsync, catching up ( узел находится в процессе синхронизации ). $LATEST_BLOCK -> $REAL_BLOCK" 53 | fi 54 | 55 | if [[ $REAL_BLOCK -eq 0 ]]; then 56 | MSG="$ip can't connect to ( пропало соединения с рпц нодой ) $SIDE_RPC" 57 | fi 58 | 59 | if [[ $MSG != "" ]]; then 60 | MSG="AssetMantle $MSG" 61 | SEND=$(curl -s -X POST -H "Content-Type:multipart/form-data" "https://api.telegram.org/bot$TG_API/sendMessage?chat_id=$TG_ID&text=$MSG") 62 | fi 63 | -------------------------------------------------------------------------------- /AssetMantle/mantle-1/telegram_bot/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while true 4 | do 5 | 6 | # Logo 7 | 8 | echo "============================================================" 9 | curl -s https://raw.githubusercontent.com/StakeTake/script/main/logo.sh | bash 10 | echo "============================================================" 11 | 12 | 13 | PS3='Select an action: ' 14 | options=( 15 | "Setup parametrs for bot" 16 | "Start bot" 17 | "Exit") 18 | select opt in "${options[@]}" 19 | do 20 | case $opt in 21 | 22 | "Setup parametrs for bot") 23 | echo "============================================================" 24 | echo "Setup your Telegramm API" 25 | echo "============================================================" 26 | read TG_API 27 | echo export TG_API=${TG_API} >> $HOME/.bash_profile 28 | echo "============================================================" 29 | echo "Setup your Chat ID" 30 | echo "============================================================" 31 | read TG_ID 32 | echo export TG_ID=${TG_ID} >> $HOME/.bash_profile \ 33 | source $HOME/.bash_profile 34 | 35 | mkdir $HOME/alerts 36 | wget -O $HOME/alerts/alerts.sh https://raw.githubusercontent.com/StakeTake/guidecosmos/main/AssetMantle/mantle-1/telegram_bot/alerts.sh 37 | chmod +x $HOME/alerts/alerts.sh 38 | break 39 | ;; 40 | 41 | "Start bot") 42 | echo "============================================================" 43 | echo "Bot strating" 44 | echo "============================================================" 45 | 46 | crontab -e 47 | 48 | break 49 | ;; 50 | 51 | "Exit") 52 | exit 53 | ;; 54 | 55 | *) echo "invalid option $REPLY";; 56 | esac 57 | done 58 | done 59 | -------------------------------------------------------------------------------- /ChronicToken/morocco-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers 5 | PingPub - https://explorer.stake-take.com/chronic-token/staking 6 | ## One-line script for full install 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/ChronicToken/morocco-1/chtd > chtd.sh && chmod +x chtd.sh && ./chtd.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.cht/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | 15 | ## Delete node 16 | ``` 17 | sudo systemctl stop chtd && sudo systemctl disable chtd 18 | rm -rf $HOME/cht $HOME/.cht /etc/systemd/system/chtd.service $HOME/go/bin/chtd 19 | ``` 20 | -------------------------------------------------------------------------------- /CoHo/darkenergy-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/CoHo/darkenergy-1/CoHo > CoHo.sh && chmod +x CoHo.sh && ./CoHo.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.coho/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | -------------------------------------------------------------------------------- /CrowdControl/Cardchain/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers 5 | PingPub - https://explorer.stake-take.com/cardchain/staking 6 | ## One line script for full install 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/CrowdControl/Cardchain/crowd > crowd.sh && chmod +x crowd.sh && ./crowd.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.Cardchain/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | 15 | ## Snapshot height 294097 0.4gb 16 | ``` 17 | sudo systemctl stop Cardchain 18 | Cardchain unsafe-reset-all --home $HOME/.Cardchain 19 | pruning="custom" 20 | pruning_keep_recent="100" 21 | pruning_keep_every="0" 22 | pruning_interval="10" 23 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.Cardchain/config/app.toml 24 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.Cardchain/config/app.toml 25 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.Cardchain/config/app.toml 26 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.Cardchain/config/app.toml 27 | wget -O $HOME/.Cardchain/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/CrowdControl/Cardchain/addrbook.json" 28 | cd 29 | rm -rf ~/.Cardchain/data; \ 30 | wget -O - http://snap.stake-take.com:8000/crowdcontrol.tar.gz | tar xf - 31 | mv $HOME/root/.Cardchain/data $HOME/.Cardchain 32 | rm -rf $HOME/root 33 | sudo systemctl restart Cardchain && journalctl -u Cardchain -f -o cat 34 | ``` 35 | ## Start with state sync 36 | ``` 37 | sudo systemctl stop Cardchain 38 | Cardchain unsafe-reset-all 39 | wget -O $HOME/.Cardchain/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/CrowdControl/Cardchain/addrbook.json" 40 | SEEDS="" 41 | PEERS="a89083b131893ca8a379c9b18028e26fa250473c@159.69.11.174:36656"; \ 42 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.Cardchain/config/config.toml 43 | SNAP_RPC="http://cc.stake-take.com:36657" 44 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 45 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 46 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 47 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 48 | 49 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 50 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 51 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 52 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 53 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.Cardchain/config/config.toml 54 | sudo systemctl restart Cardchain && journalctl -u Cardchain -f -o cat 55 | ``` 56 | ## Add addrbook 57 | ``` 58 | sudo systemctl stop Cardchain 59 | rm $HOME/.Cardchain/config/addrbook.json 60 | wget -O $HOME/.Cardchain/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/CrowdControl/Cardchain/addrbook.json" 61 | sudo systemctl restart Cardchain && journalctl -u Cardchain -f -o cat 62 | ``` 63 | ## RPC 64 | ``` 65 | http://cc.stake-take.com:36657 66 | ``` 67 | ## Delete node 68 | ``` 69 | sudo systemctl stop Cardchain && sudo systemctl disable Cardchain 70 | rm -rf $HOME/Cardchain $HOME/.Cardchain /etc/systemd/system/Cardchain.service /usr/local/bin/Cardchain 71 | ``` 72 | -------------------------------------------------------------------------------- /DWS/deweb-testnet-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers 5 | PingPub - https://explorer.stake-take.com/dws/staking 6 | ## One line script for full install 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/DWS/deweb-testnet-1/DWS > DWS.sh && chmod +x DWS.sh && ./DWS.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.deweb/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | 15 | ## Snapshot 1424063 height 0.4gb 16 | ``` 17 | sudo systemctl stop dewebd 18 | dewebd unsafe-reset-all 19 | pruning="custom" 20 | pruning_keep_recent="100" 21 | pruning_keep_every="0" 22 | pruning_interval="10" 23 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.deweb/config/app.toml 24 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.deweb/config/app.toml 25 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.deweb/config/app.toml 26 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.deweb/config/app.toml 27 | wget -O $HOME/.deweb/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/DWS/deweb-testnet-1/addrbook.json" 28 | cd 29 | rm -rf ~/.deweb/data; \ 30 | wget -O - http://snap.stake-take.com:8000/deweb.tar.gz | tar xf - 31 | mv $HOME/root/.deweb/data $HOME/.deweb 32 | rm -rf $HOME/root 33 | sudo systemctl restart dewebd && journalctl -u dewebd -f -o cat 34 | ``` 35 | ## Start with state sync 36 | ``` 37 | sudo systemctl stop dewebd 38 | dewebd unsafe-reset-all 39 | SEEDS=""; \ 40 | PEERS=""; \ 41 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.deweb/config/config.toml 42 | wget -O $HOME/.deweb/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/DWS/deweb-testnet-1/addrbook.json" 43 | SNAP_RPC=http://deweb.stake-take.com:16657 44 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 45 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \ 46 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 47 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 48 | 49 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 50 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 51 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 52 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 53 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.deweb/config/config.toml 54 | sudo systemctl restart dewebd && journalctl -u dewebd -f -o cat 55 | ``` 56 | ## Add addrbook 57 | ``` 58 | sudo systemctl stop dewebd 59 | rm $HOME/.deweb/config/addrbook.json 60 | wget -O $HOME/.deweb/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/DWS/deweb-testnet-1/addrbook.json" 61 | sudo systemctl restart dewebd && journalctl -u dewebd -f -o cat 62 | ``` 63 | ## RPC 64 | ``` 65 | http://deweb.stake-take.com:16657, https://rpc-deweb.deweb.services:443 66 | ``` 67 | ## Delete node 68 | ``` 69 | sudo systemctl stop dewebd && sudo systemctl disable dewebd 70 | rm -rf $HOME/deweb $HOME/.deweb /etc/systemd/system/dewebd.service $HOME/go/bin/dewebd 71 | ``` 72 | -------------------------------------------------------------------------------- /DWS/deweb-testnet-2/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers 5 | PingPub - https://explorer.stake-take.com/dws/staking 6 | ## One line script for full install 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/DWS/deweb-testnet-2/DWS > DWS.sh && chmod +x DWS.sh && ./DWS.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.deweb/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | 15 | ## Snapshot 1424063 height 0.4gb 16 | ``` 17 | sudo systemctl stop dewebd 18 | dewebd unsafe-reset-all 19 | pruning="custom" 20 | pruning_keep_recent="100" 21 | pruning_keep_every="0" 22 | pruning_interval="10" 23 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.deweb/config/app.toml 24 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.deweb/config/app.toml 25 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.deweb/config/app.toml 26 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.deweb/config/app.toml 27 | wget -O $HOME/.deweb/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/DWS/deweb-testnet-2/addrbook.json" 28 | cd 29 | rm -rf ~/.deweb/data; \ 30 | wget -O - http://snap.stake-take.com:8000/deweb.tar.gz | tar xf - 31 | mv $HOME/root/.deweb/data $HOME/.deweb 32 | rm -rf $HOME/root 33 | sudo systemctl restart dewebd && journalctl -u dewebd -f -o cat 34 | ``` 35 | ## Start with state sync 36 | ``` 37 | sudo systemctl stop dewebd 38 | dewebd unsafe-reset-all 39 | SEEDS=""; \ 40 | PEERS=""; \ 41 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.deweb/config/config.toml 42 | wget -O $HOME/.deweb/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/DWS/deweb-testnet-2/addrbook.json" 43 | SNAP_RPC=http://deweb.stake-take.com:16657 44 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 45 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \ 46 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 47 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 48 | 49 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 50 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 51 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 52 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 53 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.deweb/config/config.toml 54 | sudo systemctl restart dewebd && journalctl -u dewebd -f -o cat 55 | ``` 56 | ## Add addrbook 57 | ``` 58 | sudo systemctl stop dewebd 59 | rm $HOME/.deweb/config/addrbook.json 60 | wget -O $HOME/.deweb/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/DWS/deweb-testnet-1/addrbook.json" 61 | sudo systemctl restart dewebd && journalctl -u dewebd -f -o cat 62 | ``` 63 | ## RPC 64 | ``` 65 | http://deweb.stake-take.com:16657, https://rpc-deweb.deweb.services:443 66 | ``` 67 | ## Delete node 68 | ``` 69 | sudo systemctl stop dewebd && sudo systemctl disable dewebd 70 | rm -rf $HOME/deweb $HOME/.deweb /etc/systemd/system/dewebd.service $HOME/go/bin/dewebd 71 | ``` 72 | -------------------------------------------------------------------------------- /DWS/deweb-testnet-sirius/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers 5 | PingPub - https://explorer.stake-take.com/dws/staking 6 | ## One line script for full install 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/DWS/deweb-testnet-serius/DWS > DWS.sh && chmod +x DWS.sh && ./DWS.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.deweb/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | 15 | ## Start with state sync 16 | ``` 17 | sudo systemctl stop dewebd 18 | dewebd unsafe-reset-all 19 | SEEDS=""; \ 20 | PEERS=""; \ 21 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.deweb/config/config.toml 22 | wget -O $HOME/.deweb/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/DWS/deweb-testnet-sirius/addrbook.json" 23 | SNAP_RPC=http://deweb.stake-take.com:16657 24 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 25 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \ 26 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 27 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 28 | 29 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 30 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 31 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 32 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 33 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.deweb/config/config.toml 34 | sudo systemctl restart dewebd && journalctl -u dewebd -f -o cat 35 | ``` 36 | ## Add addrbook 37 | ``` 38 | sudo systemctl stop dewebd 39 | rm $HOME/.deweb/config/addrbook.json 40 | wget -O $HOME/.deweb/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/DWS/deweb-testnet-sirius/addrbook.json" 41 | sudo systemctl restart dewebd && journalctl -u dewebd -f -o cat 42 | ``` 43 | ## RPC 44 | ``` 45 | http://deweb.stake-take.com:16657 46 | ``` 47 | ## Delete node 48 | ``` 49 | sudo systemctl stop dewebd && sudo systemctl disable dewebd 50 | rm -rf $HOME/deweb $HOME/.deweb /etc/systemd/system/dewebd.service $(which dewebd) 51 | ``` 52 | -------------------------------------------------------------------------------- /Humans/telegram_bot/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ___In this guide, we wrote how to set up a bot to track the state of the Humans validator nodes___ 4 | 5 | To install, follow a few simple steps: 6 | 7 | 1. Create a bot, get an api token (To get a token, you can use FatherBot in telegram) and a telegram chat id, you can read how to do it at the link - [(ENG)](https://sean-bradley.medium.com/get-telegram-chat-id-80b575520659 "") [(RU)](https://nastroyvse.ru/programs/review/telegram-id-kak-uznat-zachem-nuzhno.html "") 8 | 2. Run the script, select the installation stage, which will ask you to enter the NodeName, API_token and telegram chat id. 9 | ```html 10 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/Humans/telegram_bot/start > start.sh && chmod +x start.sh && ./start.sh 11 | ``` 12 | 3. Select the "Start bot" item and enter the following data in the line that appears, you also need to leave the next line empty 13 | ```html 14 | */1 * * * * /bin/bash $HOME/alerts/alerts.sh 15 | ``` 16 | ![](https://ltdfoto.ru/images/2022/04/07/image_2022-04-07_13-35-26.png) 17 | -------------------------------------------------------------------------------- /Humans/telegram_bot/alerts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # File name for saving parameters, e.g. "cosmos.log" 4 | LOG_FILE="$HOME/alerts/nodealerts.log" 5 | # Your node RPC address, e.g. "http://127.0.0.1:26657" 6 | NODE_RPC="http://127.0.0.1:26657" 7 | source 8 | # Trusted node RPC address, e.g. "https://rpc.cosmos.network:26657" 9 | SIDE_RPC="https://rpc.humans.stake-take.com:443" 10 | ip=$(wget -qO- eth0.me) 11 | 12 | touch $LOG_FILE 13 | REAL_BLOCK=$(curl -s "$SIDE_RPC/status" | jq '.result.sync_info.latest_block_height' | xargs ) 14 | STATUS=$(curl -s "$NODE_RPC/status") 15 | CATCHING_UP=$(echo $STATUS | jq '.result.sync_info.catching_up') 16 | LATEST_BLOCK=$(echo $STATUS | jq '.result.sync_info.latest_block_height' | xargs ) 17 | VOTING_POWER=$(echo $STATUS | jq '.result.validator_info.voting_power' | xargs ) 18 | ADDRESS=$(echo $STATUS | jq '.result.validator_info.address' | xargs ) 19 | source $LOG_FILE 20 | #REAL_BLOCK=350000 21 | #VOTING_POWER=150 22 | 23 | echo 'LAST_BLOCK="'"$LATEST_BLOCK"'"' > $LOG_FILE 24 | echo 'LAST_POWER="'"$VOTING_POWER"'"' >> $LOG_FILE 25 | 26 | source $HOME/.bash_profile 27 | curl -s "$NODE_RPC/status"> /dev/null 28 | if [[ $? -ne 0 ]]; then 29 | MSG="$ip node is stopped!!! ( узел остановлен )" 30 | MSG="$NODENAME $MSG" 31 | SEND=$(curl -s -X POST -H "Content-Type:multipart/form-data" "https://api.telegram.org/bot$TG_API/sendMessage?chat_id=$TG_ID&text=$MSG"); exit 1 32 | fi 33 | 34 | if [[ $LAST_POWER -ne $VOTING_POWER ]]; then 35 | DIFF=$(($VOTING_POWER - $LAST_POWER)) 36 | if [[ $DIFF -gt 0 ]]; then 37 | DIFF="%2B$DIFF" 38 | fi 39 | MSG="$ip voting power changed ( размер стейка валидатора изменился ) $DIFF%0A($LAST_POWER -> $VOTING_POWER)" 40 | fi 41 | 42 | if [[ $LAST_BLOCK -ge $LATEST_BLOCK ]]; then 43 | 44 | MSG="$ip node is probably stuck at block (узел застрял в блоке номер>> ) $LATEST_BLOCK" 45 | fi 46 | 47 | if [[ $VOTING_POWER -lt 1 ]]; then 48 | MSG="$ip validator inactive\jailed ( валидатор не активен\в тюрьме ). Voting power $VOTING_POWER" 49 | fi 50 | 51 | if [[ $CATCHING_UP = "true" ]]; then 52 | MSG="$ip node is unsync, catching up ( узел находится в процессе синхронизации ). $LATEST_BLOCK -> $REAL_BLOCK" 53 | fi 54 | 55 | if [[ $REAL_BLOCK -eq 0 ]]; then 56 | MSG="$ip can't connect to ( пропало соединения с рпц нодой ) $SIDE_RPC" 57 | fi 58 | 59 | if [[ $MSG != "" ]]; then 60 | MSG="$NODENAME $MSG" 61 | SEND=$(curl -s -X POST -H "Content-Type:multipart/form-data" "https://api.telegram.org/bot$TG_API/sendMessage?chat_id=$TG_ID&text=$MSG") 62 | fi 63 | -------------------------------------------------------------------------------- /Humans/telegram_bot/start: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while true 4 | do 5 | 6 | # Logo 7 | 8 | echo "============================================================" 9 | curl -s https://raw.githubusercontent.com/StakeTake/script/main/logo.sh | bash 10 | echo "============================================================" 11 | 12 | 13 | PS3='Select an action: ' 14 | options=( 15 | "Setup parametrs for bot" 16 | "Start bot" 17 | "Exit") 18 | select opt in "${options[@]}" 19 | do 20 | case $opt in 21 | 22 | "Setup parametrs for bot") 23 | echo "============================================================" 24 | echo "Setup your node name" 25 | echo "============================================================" 26 | read NODENAME 27 | echo export NODENAME=${NODENAME} >> $HOME/.bash_profile 28 | echo "============================================================" 29 | echo "Setup your Telegramm API" 30 | echo "============================================================" 31 | read TG_API 32 | echo export TG_API=${TG_API} >> $HOME/.bash_profile 33 | echo "============================================================" 34 | echo "Setup your Chat ID" 35 | echo "============================================================" 36 | read TG_ID 37 | echo export TG_ID=${TG_ID} >> $HOME/.bash_profile 38 | source $HOME/.bash_profile 39 | 40 | mkdir $HOME/alerts 41 | wget -O $HOME/alerts/alerts.sh https://raw.githubusercontent.com/StakeTake/guidecosmos/main/Humans/telegram_bot/alerts.sh 42 | chmod +x $HOME/alerts/alerts.sh 43 | break 44 | ;; 45 | 46 | "Start bot") 47 | echo "============================================================" 48 | echo "Bot strating" 49 | echo "============================================================" 50 | 51 | crontab -e 52 | 53 | break 54 | ;; 55 | 56 | "Exit") 57 | exit 58 | ;; 59 | 60 | *) echo "invalid option $REPLY";; 61 | esac 62 | done 63 | done 64 | -------------------------------------------------------------------------------- /IDEP/Antora/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers 5 | PingPub - https://explorer.stake-take.com/idep/staking 6 | ## One line script for full install 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/IDEP/Antora/idep > idep.sh && chmod +x idep.sh && ./idep.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | 12 | ### Please save your mnemonic and backup $HOME/.ion/config/priv_validator_key.json 13 | #### For example mnemonic phrase: 14 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 15 | 16 | ## Start with state sync 17 | ``` 18 | sudo systemctl stop iond 19 | iond tendermint unsafe-reset-all --home ~/.ion 20 | SEEDS="6e52997400aaa1b3d2155e45cf2559bf7a4c5e76@164.92.161.91:26656" 21 | PEERS="f14e7dd78fd2462541f59eac08a8107fca89c2b3@75.119.159.159:26641,8ffc74dbcd5ab32bc89e058ec53060d5762f88b5@178.63.100.102:26656,2a5c7fb6475f4edf5ea36dd1d40aecc70f55fa45@65.108.106.19:11343"; \ 22 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.ion/config/config.toml 23 | SNAP_RPC="https://rpc.idep.nodestake.top:443" 24 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 25 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \ 26 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 27 | 28 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 29 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 30 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 31 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 32 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.ion/config/config.toml 33 | sudo systemctl restart iond && journalctl -u iond -f -o cat 34 | ``` 35 | ## Delete node 36 | ``` 37 | sudo systemctl stop iond && sudo systemctl disable iond 38 | rm -rf $HOME/Antora $HOME/.ion /etc/systemd/system/iond.service /usr/local/bin/iond 39 | ``` 40 | -------------------------------------------------------------------------------- /KYVE/korellia/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers: 5 | PingPub - https://explorer.stake-take.com/kyve/staking 6 | 7 | NodesGuru - https://kyve.explorers.guru 8 | ## One line script for full install 9 | ``` 10 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/KYVE/korellia/kyve > kyve.sh && chmod +x kyve.sh && ./kyve.sh 11 | ``` 12 | To install, you just need to take the script and go through the installation order 13 | ### Please save your mnemonic and backup $HOME/.kyve/config/priv_validator_key.json 14 | #### For example mnemonic phrase: 15 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 16 | 17 | ## Snapshot 2113204 height 1gb 18 | ``` 19 | sudo systemctl stop kyved 20 | chaind tendermint unsafe-reset-all --home $HOME/.kyve --keep-addr-book 21 | pruning="custom" 22 | pruning_keep_recent="100" 23 | pruning_keep_every="0" 24 | pruning_interval="10" 25 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.kyve/config/app.toml 26 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.kyve/config/app.toml 27 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.kyve/config/app.toml 28 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.kyve/config/app.toml 29 | cd 30 | rm -rf ~/.kyve/data; \ 31 | wget -O - http://snap.stake-take.com:8000/kyve.tar.gz | tar xf - 32 | mv $HOME/root/.kyve/data $HOME/.kyve 33 | rm -rf $HOME/root 34 | sudo systemctl restart kyved && journalctl -u kyved -f -o cat 35 | ``` 36 | ## Start with state sync 37 | ``` 38 | sudo systemctl stop kyved 39 | chaind tendermint unsafe-reset-all --home $HOME/.kyve 40 | SEEDS=""; \ 41 | PEERS="2823ef5801b138802d076bf3e0478ec9be4e7bde@95.216.157.18:26656"; \ 42 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.kyve/config/config.toml 43 | wget -O $HOME/.kyve/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/KYVE/korellia/addrbook.json" 44 | SNAP_RPC="kyve.stake-take.com:16657" 45 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 46 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 47 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 48 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 49 | 50 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 51 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 52 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 53 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 54 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.kyve/config/config.toml 55 | sudo systemctl restart kyved && journalctl -u kyved -f -o cat 56 | ``` 57 | ## Add addrbook 58 | ``` 59 | sudo systemctl stop kyved 60 | rm $HOME/.kyve/config/addrbook.json 61 | wget -O $HOME/.kyve/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/KYVE/korellia/addrbook.json" 62 | sudo systemctl restart kyved && journalctl -u kyved -f -o cat 63 | ``` 64 | ## RPC 65 | ``` 66 | http://kyve.stake-take.com:16657 67 | ``` 68 | ## Delete node 69 | ``` 70 | sudo systemctl stop kyved && sudo systemctl disable kyved 71 | rm -rf /etc/systemd/system/kyved.service $HOME/.kyve /usr/bin/chaind $HOME/go/bin/chaind 72 | ``` 73 | 74 | -------------------------------------------------------------------------------- /KYVE/kyve-beta/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers: 5 | PingPub - https://explorer.stake-take.com/kyve-beta 6 | ## One line script for full install 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/KYVE/kyve-beta/kyve > kyve.sh && chmod +x kyve.sh && ./kyve.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.kyve/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | ## Start with state sync 15 | ``` 16 | sudo systemctl stop kyved 17 | chaind tendermint unsafe-reset-all --home $HOME/.kyve 18 | SEEDS=""; \ 19 | PEERS=""; \ 20 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.kyve/config/config.toml 21 | wget -O $HOME/.kyve/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/KYVE/kyve-beta/addrbook.json" 22 | SNAP_RPC="http://kyve-beta.stake-take.com:36657" 23 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 24 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 25 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 26 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 27 | 28 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 29 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 30 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 31 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 32 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.kyve/config/config.toml 33 | sudo systemctl restart kyved && journalctl -u kyved -f -o cat 34 | ``` 35 | ## Add addrbook 36 | ``` 37 | sudo systemctl stop kyved 38 | rm $HOME/.kyve/config/addrbook.json 39 | wget -O $HOME/.kyve/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/KYVE/kyve-beta/addrbook.json" 40 | sudo systemctl restart kyved && journalctl -u kyved -f -o cat 41 | ``` 42 | ## RPC 43 | ``` 44 | http://kyve-beta.stake-take.com:26657 45 | ``` 46 | ## Delete node 47 | ``` 48 | sudo systemctl stop kyved && sudo systemctl disable kyved 49 | rm -rf /etc/systemd/system/kyved.service $HOME/.kyve /usr/bin/chaind $HOME/go/bin/chaind 50 | ``` 51 | -------------------------------------------------------------------------------- /Pylons-tech/pylons-testnet-3/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers 5 | NodesGuru - https://pylons.explorers.guru 6 | ## One line script for full install 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/Pylons-tech/pylons-testnet-3/pylons > pylons.sh && chmod +x pylons.sh && ./pylons.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.pylons/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | ## Snapshot height 1928309 0.2gb 15 | ``` 16 | sudo systemctl stop pylonsd 17 | pylonsd tendermint unsafe-reset-all --home $HOME/.pylons --keep-addr-book 18 | pruning="custom" 19 | pruning_keep_recent="100" 20 | pruning_keep_every="0" 21 | pruning_interval="10" 22 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.pylons/config/app.toml 23 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.pylons/config/app.toml 24 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.pylons/config/app.toml 25 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.pylons/config/app.toml 26 | cd 27 | rm -rf ~/.pylons/data; \ 28 | wget -O - http://snap.stake-take.com:8000/pylons.tar.gz | tar xf - 29 | mv $HOME/root/.pylons/data $HOME/.pylons 30 | rm -rf $HOME/root 31 | sudo systemctl restart pylonsd && journalctl -u pylonsd -f -o cat 32 | ``` 33 | ## Start with state sync 34 | ``` 35 | sudo systemctl stop pylonsd 36 | pylonsd tendermint unsafe-reset-all --home $HOME/.pylons 37 | cd $HOME 38 | rm -rf pylons 39 | git clone https://github.com/Pylons-tech/pylons 40 | cd pylons 41 | git pull 42 | git checkout 8650c11 43 | make install 44 | SEEDS="" 45 | PEERS="53dbaa70a1f7769f74e46ada1597f854fd616c2d@stake-take.com:26656,2c50b8171af784f1dca3d37d5dda5e90f1e1add8@95.214.55.4:26656,4f90babf520599ffe606157b0151c4c9bc0ec23f@194.163.172.115:26666,ebecc93e7865036fbdf8d3d54a624941d6e41ba1@104.200.136.57:26656,25e7ef64b41a636e3fb4e9bb1191b785e7d1d5cc@46.166.140.172:26656,2c50b8171af784f1dca3d37d5dda5e90f1e1add8@95.214.55.4:26656,4f90babf520599ffe606157b0151c4c9bc0ec23f@194.163.172.115:26666,ebecc93e7865036fbdf8d3d54a624941d6e41ba1@104.200.136.57:26656,022ee5a5231a5dec014841394f8ce766d657cff5@95.214.53.132:26156,a6972be573807d34f28a337c0f7d599e0014be80@161.97.99.247:26656,515ffd755a92a47b56233143f7c25481dbe99f94@161.97.99.251:26606,9c3261f7859a4f43a72cb9eef8d1fcfc70dc7e7c@95.216.204.255:26656,f6a9cc00142a4ce2fc1cbe536ba7ac9701f0786f@62.113.119.213:11221,665a747edcb6c68d3fe317053bd2cbcae1ef0843@138.201.246.185:26656"; \ 46 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.pylons/config/config.toml 47 | wget -O $HOME/.pylons/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/Pylons-tech/pylons-testnet-3/addrbook.json" 48 | SNAP_RPC=http://pylons.stake-take.com:26657 49 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 50 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 51 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 52 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 53 | 54 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 55 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 56 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 57 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 58 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.pylons/config/config.toml 59 | sudo systemctl restart pylonsd && journalctl -u pylonsd -f -o cat 60 | ``` 61 | ## Add addrbook 62 | ``` 63 | sudo systemctl stop pylonsd 64 | rm $HOME/.pylons/config/addrbook.json 65 | wget -O $HOME/.pylons/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/Pylons-tech/pylons-testnet-3/addrbook.json" 66 | sudo systemctl restart pylonsd && journalctl -u pylonsd -f -o cat 67 | ``` 68 | ## RPC 69 | ``` 70 | http://pylons.stake-take.com:26657 71 | ``` 72 | ## Delete node 73 | ``` 74 | sudo systemctl stop pylonsd && sudo systemctl disable pylonsd 75 | rm -rf $HOME/pylons $HOME/.pylons /etc/systemd/system/pylonsd.service $(which pylonsd) 76 | ``` 77 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## In this repository, we post one-line scripts of full install, snapshots and state sync guides for various projects Cosmos network. 2 | -------------------------------------------------------------------------------- /anone/anone-testnet-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/anone/anone-testnet-1/anone > anone.sh && chmod +x anone.sh && ./anone.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.anone/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | -------------------------------------------------------------------------------- /anone/anone-testnet-1/anone: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while true 4 | do 5 | 6 | # Logo 7 | 8 | echo "========================================================================================================================" 9 | curl -s https://raw.githubusercontent.com/StakeTake/script/main/logo.sh | bash 10 | echo "========================================================================================================================" 11 | 12 | # Menu 13 | 14 | PS3='Select an action: ' 15 | options=( 16 | "Install Node" 17 | "Check Log" 18 | "Check balance" 19 | "Request tokens in discord" 20 | "Create Validator" 21 | "Exit") 22 | select opt in "${options[@]}" 23 | do 24 | case $opt in 25 | 26 | "Install Node") 27 | echo "============================================================" 28 | echo "Install start" 29 | echo "============================================================" 30 | echo "Setup NodeName:" 31 | echo "============================================================" 32 | read NODENAME 33 | echo "============================================================" 34 | echo "Setup WalletName:" 35 | echo "============================================================" 36 | read WALLETNAME 37 | echo export NODENAME=${NODENAME} >> $HOME/.bash_profile 38 | echo export WALLETNAME=${WALLETNAME} >> $HOME/.bash_profile 39 | echo export CHAIN_ID=anone-testnet-1 >> $HOME/.bash_profile 40 | source ~/.bash_profile 41 | 42 | #UPDATE APT 43 | sudo apt update && sudo apt upgrade -y 44 | sudo apt install gcc curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y 45 | 46 | 47 | #INSTALL GO 48 | wget https://golang.org/dl/go1.18.1.linux-amd64.tar.gz; \ 49 | rm -rv /usr/local/go; \ 50 | tar -C /usr/local -xzf go1.18.1.linux-amd64.tar.gz && \ 51 | rm -v go1.18.1.linux-amd64.tar.gz && \ 52 | echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile && \ 53 | source ~/.bash_profile && \ 54 | go version 55 | 56 | #INSTALL 57 | git clone https://github.com/notional-labs/anone 58 | cd ~/anone 59 | git checkout testnet-1.0.3 60 | make install 61 | anoned version 62 | 63 | anoned init $NODENAME --chain-id $CHAIN_ID 64 | 65 | echo "============================================================" 66 | echo "Be sure to write down the mnemonic!" 67 | echo "============================================================" 68 | #WALLET 69 | anoned keys add $WALLETNAME 70 | 71 | wget -O ~/.anone/config/genesis.json https://raw.githubusercontent.com/notional-labs/anone/master/networks/testnet-1/genesis.json 72 | 73 | sed -E -i 's/minimum-gas-prices = \".*\"/minimum-gas-prices = \"0.0001uan1\"/' $HOME/.anone/config/app.toml 74 | sed -E -i 's/pruning = \".*\"/pruning = \"custom\"/' $HOME/.anone/config/app.toml 75 | sed -E -i 's/pruning-keep-recent = \".*\"/pruning-keep-recent = \"100\"/' $HOME/.anone/config/app.toml 76 | sed -E -i 's/pruning-interval = \".*\"/pruning-interval = \"10\"/' $HOME/.anone/config/app.toml 77 | sed -E -i 's/seeds = \".*\"/seeds = \"49a49db05e945fc38b7a1bc00352cafdaef2176c@95.217.121.243:2280,80f0ef5d7c432d2bae99dc8437a9c3db464890cd@65.108.128.139:2280,3afac655e3be5c5fc4a64ec5197346ffb5a855c1@49.12.213.105:2280\"/' $HOME/.anone/config/config.toml 78 | 79 | 80 | sudo tee </dev/null /etc/systemd/system/anoned.service 81 | [Unit] 82 | Description=Anone Node 83 | After=network-online.target 84 | [Service] 85 | User=$USER 86 | ExecStart=$HOME/go/bin/anoned start 87 | Restart=on-failure 88 | RestartSec=10 89 | LimitNOFILE=10000 90 | [Install] 91 | WantedBy=multi-user.target 92 | EOF 93 | 94 | # start service 95 | sudo systemctl daemon-reload 96 | sudo systemctl enable anoned 97 | sudo systemctl restart anoned 98 | 99 | break 100 | ;; 101 | 102 | "Check Log") 103 | 104 | sudo journalctl -u anoned -f 105 | 106 | break 107 | ;; 108 | 109 | 110 | "Check balance") 111 | anoned q bank balances $(anoned keys show $WALLETNAME -a --bech acc) 112 | break 113 | ;; 114 | 115 | "Create Validator") 116 | anoned tx staking create-validator \ 117 | --amount=1990000000uan1 \ 118 | --pubkey=$(anoned tendermint show-validator) \ 119 | --moniker= \ 120 | --chain-id=anone-testnet-1 \ 121 | --commission-rate="0.1" \ 122 | --commission-max-rate="0.2" \ 123 | --commission-max-change-rate="0.01" \ 124 | --min-self-delegation=1 \ 125 | --gas 200000 \ 126 | --fees 250000uan1 \ 127 | --from=wallet \ 128 | -y 129 | break 130 | ;; 131 | 132 | "Request tokens in discord") 133 | echo "========================================================================================================================" 134 | echo "In order to receive tokens, you need to go to the Discord server 135 | and request tokens in fauccet bot" 136 | echo "========================================================================================================================" 137 | 138 | break 139 | ;; 140 | 141 | "Exit") 142 | exit 143 | ;; 144 | *) echo "invalid option $REPLY";; 145 | esac 146 | done 147 | done 148 | -------------------------------------------------------------------------------- /arable/bamboo_9000-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers: 5 | Ping Pub - https://explorer.stake-take.com/acre-testnet/staking 6 | ## One line script for full install 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/arable/bamboo_9000-1/arable > arable.sh && chmod +x arable.sh && ./arable.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.acred/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | ## Snapshot 28750 height 0.1gb 15 | ``` 16 | sudo systemctl stop acred 17 | acred tendermint unsafe-reset-all --home $HOME/.acred --keep-addr-book 18 | pruning="custom" 19 | pruning_keep_recent="100" 20 | pruning_keep_every="0" 21 | pruning_interval="10" 22 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.acred/config/app.toml 23 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.acred/config/app.toml 24 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.acred/config/app.toml 25 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.acred/config/app.toml 26 | cd 27 | rm -rf ~/.acred/data; \ 28 | wget -O - http://snap.stake-take.com:8000/arable.tar.gz | tar xf - 29 | mv $HOME/root/.acred/data $HOME/.acred 30 | rm -rf $HOME/root 31 | sudo systemctl restart acred && journalctl -u acred -f -o cat 32 | ``` 33 | ## Start with state sync 34 | ``` 35 | sudo systemctl stop acred 36 | acred tendermint unsafe-reset-all --home $HOME/.acred 37 | SEEDS="" 38 | PEERS="44dd124ca34742245ad906f9f6ea377fae3af0cf@168.100.9.100:26656,6477921cdd4ba4503a1a2ff1f340c9d6a0e7b4a0@168.100.10.133:26656,9b53496211e75dbf33680b75e617830e874c8d93@168.100.8.9:26656,c55d79d6f76045ff7b68dc2bf6655348ebbfd795@168.100.8.60:26656"; \ 39 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.acred/config/config.toml 40 | SNAP_RPC="http://arable.stake-take.com:46657" 41 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 42 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 500)); \ 43 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 44 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 45 | 46 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 47 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 48 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 49 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 50 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.acred/config/config.toml 51 | sudo systemctl restart acred && journalctl -u acred -f -o cat 52 | ``` 53 | ## Add addrbook 54 | ``` 55 | sudo systemctl stop acred 56 | rm $HOME/.acred/config/addrbook.json 57 | wget -O $HOME/.acred/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/arable/bamboo_9000-1/addrbook.json" 58 | sudo systemctl restart acred && journalctl -u acred -f -o cat 59 | ``` 60 | ## RPC 61 | ``` 62 | http://arable.stake-take.com:46657, https://rpc-t.acre.nodestake.top:443 63 | ``` 64 | ## Delete node 65 | ``` 66 | sudo systemctl stop acred && sudo systemctl disable acred 67 | rm -rf $HOME/acrechain $HOME/.acred /etc/systemd/system/acred.service $(which acred) 68 | ``` 69 | -------------------------------------------------------------------------------- /arable/bamboo_9000-1/addrbook.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "586e6b5e8faed045bde75677", 3 | "addrs": [ 4 | { 5 | "addr": { 6 | "id": "9b53496211e75dbf33680b75e617830e874c8d93", 7 | "ip": "168.100.8.9", 8 | "port": 26656 9 | }, 10 | "src": { 11 | "id": "464de18a87cdfd0735ba8bf9195db51ce78f5ef3", 12 | "ip": "0.0.0.0", 13 | "port": 46656 14 | }, 15 | "buckets": [ 16 | 107 17 | ], 18 | "attempts": 0, 19 | "bucket_type": 1, 20 | "last_attempt": "2022-08-20T01:17:28.713988147+03:00", 21 | "last_success": "0001-01-01T00:00:00Z", 22 | "last_ban_time": "0001-01-01T00:00:00Z" 23 | }, 24 | { 25 | "addr": { 26 | "id": "c55d79d6f76045ff7b68dc2bf6655348ebbfd795", 27 | "ip": "168.100.8.60", 28 | "port": 26656 29 | }, 30 | "src": { 31 | "id": "464de18a87cdfd0735ba8bf9195db51ce78f5ef3", 32 | "ip": "0.0.0.0", 33 | "port": 46656 34 | }, 35 | "buckets": [ 36 | 107, 37 | 106 38 | ], 39 | "attempts": 0, 40 | "bucket_type": 1, 41 | "last_attempt": "2022-08-20T01:17:28.713997845+03:00", 42 | "last_success": "0001-01-01T00:00:00Z", 43 | "last_ban_time": "0001-01-01T00:00:00Z" 44 | }, 45 | { 46 | "addr": { 47 | "id": "6d41af54405fa98073b178262ec9d083b3f12e67", 48 | "ip": "46.4.81.204", 49 | "port": 36656 50 | }, 51 | "src": { 52 | "id": "c55d79d6f76045ff7b68dc2bf6655348ebbfd795", 53 | "ip": "0.0.0.0", 54 | "port": 26656 55 | }, 56 | "buckets": [ 57 | 70 58 | ], 59 | "attempts": 0, 60 | "bucket_type": 1, 61 | "last_attempt": "2022-08-20T01:17:28.93856676+03:00", 62 | "last_success": "0001-01-01T00:00:00Z", 63 | "last_ban_time": "0001-01-01T00:00:00Z" 64 | }, 65 | { 66 | "addr": { 67 | "id": "cc751411f9e40f8ded410872ea2c73f8261ac0c7", 68 | "ip": "65.108.76.44", 69 | "port": 11594 70 | }, 71 | "src": { 72 | "id": "c55d79d6f76045ff7b68dc2bf6655348ebbfd795", 73 | "ip": "0.0.0.0", 74 | "port": 26656 75 | }, 76 | "buckets": [ 77 | 144 78 | ], 79 | "attempts": 0, 80 | "bucket_type": 1, 81 | "last_attempt": "2022-08-20T01:17:28.938597818+03:00", 82 | "last_success": "0001-01-01T00:00:00Z", 83 | "last_ban_time": "0001-01-01T00:00:00Z" 84 | }, 85 | { 86 | "addr": { 87 | "id": "44dd124ca34742245ad906f9f6ea377fae3af0cf", 88 | "ip": "168.100.9.100", 89 | "port": 26656 90 | }, 91 | "src": { 92 | "id": "464de18a87cdfd0735ba8bf9195db51ce78f5ef3", 93 | "ip": "0.0.0.0", 94 | "port": 46656 95 | }, 96 | "buckets": [ 97 | 107 98 | ], 99 | "attempts": 0, 100 | "bucket_type": 1, 101 | "last_attempt": "2022-08-20T01:17:28.713961528+03:00", 102 | "last_success": "0001-01-01T00:00:00Z", 103 | "last_ban_time": "0001-01-01T00:00:00Z" 104 | }, 105 | { 106 | "addr": { 107 | "id": "6477921cdd4ba4503a1a2ff1f340c9d6a0e7b4a0", 108 | "ip": "168.100.10.133", 109 | "port": 26656 110 | }, 111 | "src": { 112 | "id": "464de18a87cdfd0735ba8bf9195db51ce78f5ef3", 113 | "ip": "0.0.0.0", 114 | "port": 46656 115 | }, 116 | "buckets": [ 117 | 107, 118 | 106 119 | ], 120 | "attempts": 0, 121 | "bucket_type": 1, 122 | "last_attempt": "2022-08-20T01:17:28.713978268+03:00", 123 | "last_success": "0001-01-01T00:00:00Z", 124 | "last_ban_time": "0001-01-01T00:00:00Z" 125 | } 126 | ] 127 | } -------------------------------------------------------------------------------- /archway/augusta-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/archway/augusta-1/archway > archway.sh && chmod +x archway.sh && ./archway.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.archway/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | -------------------------------------------------------------------------------- /archway/torii-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/archway/torii-1/archway > archway.sh && chmod +x archway.sh && ./archway.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.archway/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | -------------------------------------------------------------------------------- /archway/torii-1/autodelegator/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ___In this guide, we have written how to set up an autodelegator for your validator node of Archway___ 4 | 5 | ```html 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/archway/torii-1/autodelegator/autodelegator > autodelegator.sh && chmod +x autodelegator.sh && ./autodelegator.sh 7 | ``` 8 | 9 | We need to do is set the variables correctly 10 | 11 | 1. The name of the wallet that you wrote when installing the node 12 | 2. The password is set according to your password from the created wallet 13 | 3. The validator address and the delegator address will be set automatically, the only thing you need to do is enter the wallet password when setting the variable 14 | 15 | **After you have set the variables, go to the launch of the redelegator** 16 | 17 | The script will automatically open the screen window, where all you have to do is run the redelegator with the command 18 | ```html 19 | cd $HOME/autodelegate && ./start.sh 20 | ``` 21 | and exit the window by pressing 22 | 23 | __ctrl + a + d__ 24 | 25 | in order to go back to the window 26 | 27 | __screen-r__ 28 | -------------------------------------------------------------------------------- /archway/torii-1/autodelegator/autodelegator: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while true 4 | do 5 | 6 | # Logo 7 | 8 | echo "============================================================" 9 | curl -s https://raw.githubusercontent.com/StakeTake/script/main/logo.sh | bash 10 | echo "============================================================" 11 | 12 | 13 | PS3='Select an action: ' 14 | options=( 15 | "Setup parametrs for autodelegator" 16 | "Start autodelegator" 17 | "Exit") 18 | select opt in "${options[@]}" 19 | do 20 | case $opt in 21 | 22 | "Setup parametrs for autodelegator") 23 | echo "============================================================" 24 | echo export PROJECT=archwayd >> $HOME/.bash_profile 25 | echo "============================================================" 26 | echo "Setup your wallet name" 27 | echo "============================================================" 28 | read WALLETNAME 29 | echo export WALLETNAME=${WALLETNAME} >> $HOME/.bash_profile 30 | echo "============================================================" 31 | echo "Setup your password of wallet" 32 | echo "============================================================" 33 | read PWDDD 34 | echo export PWDDD=${PWDDD} >> $HOME/.bash_profile 35 | source $HOME/.bash_profile 36 | echo "============================================================" 37 | echo "Enter the password of wallet for set the validator address" 38 | echo "============================================================" 39 | VAL_ADDR=$($PROJECT keys show $WALLETNAME --bech val -a) 40 | echo export VAL_ADDR=${VAL_ADDR} >> $HOME/.bash_profile 41 | echo "============================================================" 42 | echo "Enter the password of wallet for set the delegator address" 43 | echo "============================================================" 44 | DEL_ADDR=$($PROJECT keys show $WALLETNAME --bech acc -a) 45 | echo export DEL_ADDR=${DEL_ADDR} >> $HOME/.bash_profile 46 | echo export DENOM=utorii >> $HOME/.bash_profile 47 | echo export FEES=0 >> $HOME/.bash_profile 48 | echo export CHAIN_ID=torii-1 >> $HOME/.bash_profile 49 | source $HOME/.bash_profile 50 | 51 | 52 | mkdir $HOME/autodelegate 53 | wget -O $HOME/autodelegate/start.sh https://raw.githubusercontent.com/StakeTake/guidecosmos/main/archway/torii-1/autodelegator/start.sh 54 | chmod +x $HOME/autodelegate/start.sh 55 | break 56 | ;; 57 | 58 | "Start autodelegator") 59 | echo "============================================================" 60 | echo "Bot strating" 61 | echo "============================================================" 62 | apt install screen 63 | screen -S AutoDelegate 64 | 65 | break 66 | ;; 67 | 68 | "Exit") 69 | exit 70 | ;; 71 | 72 | *) echo "invalid option $REPLY";; 73 | esac 74 | done 75 | done 76 | -------------------------------------------------------------------------------- /archway/torii-1/autodelegator/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | source $HOME/.bash_profile 4 | GREEN_COLOR='\033[0;32m' 5 | RED_COLOR='\033[0;31m' 6 | WITHOU_COLOR='\033[0m' 7 | DELAY=180 #in secs - how often restart the script 8 | 9 | 10 | for (( ;; )); do 11 | echo -e "Get reward from Delegation" 12 | echo -e "${PWDDD}\ny\n" | $PROJECT tx distribution withdraw-rewards ${VAL_ADDR} --chain-id ${CHAIN_ID} --from ${WALLETNAME} --commission --fees ${FEES}${DENOM} -y 13 | for (( timer=30; timer>0; timer-- )) 14 | do 15 | printf "* sleep for ${RED_COLOR}%02d${WITHOUT_COLOR} sec\r" $timer 16 | sleep 1 17 | done 18 | BAL=$($PROJECT q bank balances ${DEL_ADDR} -o json | jq -r '.balances | .[].amount') 19 | echo -e "BALANCE: ${GREEN_COLOR}${BAL}${WITHOU_COLOR} $DENOM\n" 20 | echo -e "Claim rewards\n" 21 | echo -e "${PWDDD}\n${PWDDD}\n" | $PROJECT tx distribution withdraw-all-rewards --from ${DEL_ADDR} --chain-id ${CHAIN_ID} --fees ${FEES}${DENOM} -y 22 | for (( timer=30; timer>0; timer-- )) 23 | do 24 | printf "* sleep for ${RED_COLOR}%02d${WITHOU_COLOR} sec\r" $timer 25 | sleep 1 26 | done 27 | BAL=$($PROJECT q bank balances ${DEL_ADDR} -o json | jq -r '.balances | .[].amount') 28 | BAL=$(($BAL- 500)) 29 | echo -e "BALANCE: ${GREEN_COLOR}${BAL}${WITHOU_COLOR} ${DENOM}\n" 30 | echo -e "Stake ALL\n" 31 | if (( BAL > 500 )); then 32 | echo -e "${PWDDD}\n${PWDDD}\n" | $PROJECT tx staking delegate ${VAL_ADDR} ${BAL}${DENOM} --from ${DEL_ADDR} --chain-id ${CHAIN_ID} --fees ${FEES}${DENOM} -y 33 | else 34 | echo -e "BALANCE: ${GREEN_COLOR}${BAL}${WITHOU_COLOR} $DENOM BAL < 0 ((((\n" 35 | fi 36 | for (( timer=${DELAY}; timer>0; timer-- )) 37 | do 38 | printf "* sleep for ${RED_COLOR}%02d${WITHOU_COLOR} sec\r" $timer 39 | sleep 1 40 | done 41 | done 42 | -------------------------------------------------------------------------------- /archway/torii-1/telegram_bot/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ___In this guide, we wrote how to set up a bot to track the state of the archway node___ 4 | 5 | To install, follow a few simple steps: 6 | 7 | 1. Create a bot, get an api token (To get a token, you can use FatherBot in telegram) and a telegram chat id, you can read how to do it at the link - [(ENG)](https://sean-bradley.medium.com/get-telegram-chat-id-80b575520659 "") [(RU)](https://nastroyvse.ru/programs/review/telegram-id-kak-uznat-zachem-nuzhno.html "") 8 | 2. Run the script, select the installation stage, which will ask you to enter API_token and telegram chat id. 9 | ```html 10 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/archway/torii-1/telegram_bot/start.sh > start.sh && chmod +x start.sh && ./start.sh 11 | ``` 12 | 3. Select the "Start bot" item and enter the following data in the line that appears, you also need to leave the next line empty 13 | ```html 14 | */1 * * * * /bin/bash $HOME/alerts/alerts.sh 15 | ``` 16 | ![](https://ltdfoto.ru/images/2022/04/07/image_2022-04-07_13-35-26.png) 17 | -------------------------------------------------------------------------------- /archway/torii-1/telegram_bot/alerts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # File name for saving parameters, e.g. "cosmos.log" 4 | LOG_FILE="/root/alerts/nodealerts.log" 5 | # Your node RPC address, e.g. "http://127.0.0.1:26657" 6 | NODE_RPC="http://127.0.0.1:26657" 7 | # Trusted node RPC address, e.g. "https://rpc.cosmos.network:26657" 8 | SIDE_RPC="http://localhost:26657" 9 | ip=$(wget -qO- eth0.me) 10 | 11 | touch $LOG_FILE 12 | REAL_BLOCK=$(curl -s "$SIDE_RPC/status" | jq '.result.sync_info.latest_block_height' | xargs ) 13 | STATUS=$(curl -s "$NODE_RPC/status") 14 | CATCHING_UP=$(echo $STATUS | jq '.result.sync_info.catching_up') 15 | LATEST_BLOCK=$(echo $STATUS | jq '.result.sync_info.latest_block_height' | xargs ) 16 | VOTING_POWER=$(echo $STATUS | jq '.result.validator_info.voting_power' | xargs ) 17 | ADDRESS=$(echo $STATUS | jq '.result.validator_info.address' | xargs ) 18 | source $LOG_FILE 19 | #REAL_BLOCK=350000 20 | #VOTING_POWER=150 21 | 22 | echo 'LAST_BLOCK="'"$LATEST_BLOCK"'"' > $LOG_FILE 23 | echo 'LAST_POWER="'"$VOTING_POWER"'"' >> $LOG_FILE 24 | 25 | source $HOME/.bash_profile 26 | curl -s "$NODE_RPC/status"> /dev/null 27 | if [[ $? -ne 0 ]]; then 28 | MSG="$ip node is stopped!!! ( узел остановлен )" 29 | MSG="Archway $MSG" 30 | SEND=$(curl -s -X POST -H "Content-Type:multipart/form-data" "https://api.telegram.org/bot$TG_API/sendMessage?chat_id=$TG_ID&text=$MSG"); exit 1 31 | fi 32 | 33 | 34 | if [[ $LAST_POWER -ne $VOTING_POWER ]]; then 35 | DIFF=$(($VOTING_POWER - $LAST_POWER)) 36 | if [[ $DIFF -gt 0 ]]; then 37 | DIFF="%2B$DIFF" 38 | fi 39 | MSG="$ip voting power changed ( размер стейка валидатора изменился ) $DIFF%0A($LAST_POWER -> $VOTING_POWER)" 40 | fi 41 | 42 | if [[ $LAST_BLOCK -ge $LATEST_BLOCK ]]; then 43 | 44 | MSG="$ip node is probably stuck at block (узел застрял в блоке номер>> ) $LATEST_BLOCK" 45 | fi 46 | 47 | if [[ $VOTING_POWER -lt 1 ]]; then 48 | MSG="$ip validator inactive\jailed ( валидатор не активен\в тюрьме ). Voting power $VOTING_POWER" 49 | fi 50 | 51 | if [[ $CATCHING_UP = "true" ]]; then 52 | MSG="$ip node is unsync, catching up ( узел находится в процессе синхронизации ). $LATEST_BLOCK -> $REAL_BLOCK" 53 | fi 54 | 55 | if [[ $REAL_BLOCK -eq 0 ]]; then 56 | MSG="$ip can't connect to ( пропало соединения с рпц нодой ) $SIDE_RPC" 57 | fi 58 | 59 | if [[ $MSG != "" ]]; then 60 | MSG="Archway $MSG" 61 | SEND=$(curl -s -X POST -H "Content-Type:multipart/form-data" "https://api.telegram.org/bot$TG_API/sendMessage?chat_id=$TG_ID&text=$MSG") 62 | fi 63 | -------------------------------------------------------------------------------- /archway/torii-1/telegram_bot/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while true 4 | do 5 | 6 | # Logo 7 | 8 | echo "============================================================" 9 | curl -s https://raw.githubusercontent.com/StakeTake/script/main/logo.sh | bash 10 | echo "============================================================" 11 | 12 | 13 | PS3='Select an action: ' 14 | options=( 15 | "Setup parametrs for bot" 16 | "Start bot" 17 | "Exit") 18 | select opt in "${options[@]}" 19 | do 20 | case $opt in 21 | 22 | "Setup parametrs for bot") 23 | echo "============================================================" 24 | echo "Setup your Telegramm API" 25 | echo "============================================================" 26 | read TG_API 27 | echo export TG_API=${TG_API} >> $HOME/.bash_profile 28 | echo "============================================================" 29 | echo "Setup your Chat ID" 30 | echo "============================================================" 31 | read TG_ID 32 | echo export TG_ID=${TG_ID} >> $HOME/.bash_profile 33 | source $HOME/.bash_profile 34 | 35 | mkdir $HOME/alerts 36 | wget -O $HOME/alerts/alerts.sh https://raw.githubusercontent.com/StakeTake/guidecosmos/main/archway/torii-1/telegram_bot/alerts.sh 37 | chmod +x $HOME/alerts/alerts.sh 38 | break 39 | ;; 40 | 41 | "Start bot") 42 | echo "============================================================" 43 | echo "Bot strating" 44 | echo "============================================================" 45 | 46 | crontab -e 47 | 48 | break 49 | ;; 50 | 51 | "Exit") 52 | exit 53 | ;; 54 | 55 | *) echo "invalid option $REPLY";; 56 | esac 57 | done 58 | done 59 | -------------------------------------------------------------------------------- /aura/euphoria-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers 5 | PingPub - https://explorer.erialos.me/aura/staking 6 | ## One line script for full install 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/aura/euphoria-1/aura > aura.sh && chmod +x aura.sh && ./aura.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.aura/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | ## Snapshot 435038 height 0.2gb 15 | ``` 16 | sudo systemctl stop aurad 17 | aurad unsafe-reset-all --home $HOME/.aura 18 | pruning="custom" 19 | pruning_keep_recent="100" 20 | pruning_keep_every="0" 21 | pruning_interval="10" 22 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.aura/config/app.toml 23 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.aura/config/app.toml 24 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.aura/config/app.toml 25 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.aura/config/app.toml 26 | wget -O $HOEM/.aura/config/addrbook.jsnon "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/aura/euphoria-1/addrbook.json" 27 | cd 28 | rm -rf ~/.aura/data; \ 29 | wget -O - http://snap.stake-take.com:8000/aura.tar.gz | tar xf - 30 | mv $HOME/root/.aura/data $HOME/.aura 31 | rm -rf $HOME/root 32 | sudo systemctl restart aurad && journalctl -u aurad -f -o cat 33 | ``` 34 | ## Start with state sync 35 | ``` 36 | sudo systemctl stop aurad 37 | aurad unsafe-reset-all 38 | SEEDS="705e3c2b2b554586976ed88bb27f68e4c4176a33@13.250.223.114:26656,b9243524f659f2ff56691a4b2919c3060b2bb824@13.214.5.1:26656" 39 | sed -i -e "/seeds =/ s/= .*/= \"$SEEDS\"/" $HOME/.aura/config/config.toml 40 | SNAP_RPC="https://snapshot-2.euphoria.aura.network:443" 41 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 42 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \ 43 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 44 | 45 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 46 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 47 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 48 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 49 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.aura/config/config.toml 50 | wget -O $HOEM/.aura/config/addrbook.jsnon "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/aura/euphoria-1/addrbook.json" 51 | sudo systemctl restart aurad && journalctl -u aurad -f -o cat 52 | ``` 53 | ## Add addrbook 54 | ``` 55 | sudo systemctl stop aurad 56 | rm $HOEM/.aura/config/addrbook.jsnon 57 | wget -O $HOEM/.aura/config/addrbook.jsnon "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/aura/euphoria-1/addrbook.json" 58 | sudo systemctl restart aurad && journalctl -u aurad -f -o cat 59 | ``` 60 | ## RPC 61 | ``` 62 | https://snapshot-1.euphoria.aura.network:443, https://snapshot-2.euphoria.aura.network:443 63 | ``` 64 | ## Delete node 65 | ``` 66 | sudo systemctl stop aurad && sudo systemctl disable aurad 67 | rm -rf $HOME/aura $HOME/.aura /etc/systemd/system/aurad.service $HOME/go/bin/aurad 68 | ``` 69 | -------------------------------------------------------------------------------- /aura/euphoria-1/telegram_bot/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ## In this guide, we wrote how to set up a bot to track the state of the Aura node 4 | 5 | To install, follow a few simple steps: 6 | 7 | 1. Create a bot, get an api token (To get a token, you can use FatherBot in telegram) and a telegram chat id, you can read how to do it at the link - [(ENG)](https://sean-bradley.medium.com/get-telegram-chat-id-80b575520659 "") [(RU)](https://nastroyvse.ru/programs/review/telegram-id-kak-uznat-zachem-nuzhno.html "") 8 | 2. Run the script, select the installation stage, which will ask you to enter API_token and telegram chat id. 9 | ``` 10 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/aura/euphoria-1/telegram_bot/start > start.sh && chmod +x start.sh && ./start.sh 11 | ``` 12 | 3. Select the "Start bot" item and enter the following data in the line that appears, you also need to leave the next line empty 13 | ``` 14 | */1 * * * * /bin/bash $HOME/alerts/alerts.sh 15 | ``` 16 | ![](https://ltdfoto.ru/images/2022/04/07/image_2022-04-07_13-35-26.png) 17 | -------------------------------------------------------------------------------- /aura/euphoria-1/telegram_bot/alerts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # File name for saving parameters, e.g. "cosmos.log" 4 | LOG_FILE="$HOME/alerts/nodealerts.log" 5 | # Your node RPC address, e.g. "http://127.0.0.1:26657" 6 | NODE_RPC="http://127.0.0.1:26657" 7 | source 8 | # Trusted node RPC address, e.g. "https://rpc.cosmos.network:26657" 9 | SIDE_RPC="https://snapshot-1.euphoria.aura.network:443" 10 | ip=$(wget -qO- eth0.me) 11 | 12 | touch $LOG_FILE 13 | REAL_BLOCK=$(curl -s "$SIDE_RPC/status" | jq '.result.sync_info.latest_block_height' | xargs ) 14 | STATUS=$(curl -s "$NODE_RPC/status") 15 | CATCHING_UP=$(echo $STATUS | jq '.result.sync_info.catching_up') 16 | LATEST_BLOCK=$(echo $STATUS | jq '.result.sync_info.latest_block_height' | xargs ) 17 | VOTING_POWER=$(echo $STATUS | jq '.result.validator_info.voting_power' | xargs ) 18 | ADDRESS=$(echo $STATUS | jq '.result.validator_info.address' | xargs ) 19 | source $LOG_FILE 20 | #REAL_BLOCK=350000 21 | #VOTING_POWER=150 22 | 23 | echo 'LAST_BLOCK="'"$LATEST_BLOCK"'"' > $LOG_FILE 24 | echo 'LAST_POWER="'"$VOTING_POWER"'"' >> $LOG_FILE 25 | 26 | source $HOME/.bash_profile 27 | curl -s "$NODE_RPC/status"> /dev/null 28 | if [[ $? -ne 0 ]]; then 29 | MSG="$ip node is stopped!!! ( узел остановлен )" 30 | MSG="AURA $MSG" 31 | SEND=$(curl -s -X POST -H "Content-Type:multipart/form-data" "https://api.telegram.org/bot$TG_API/sendMessage?chat_id=$TG_ID&text=$MSG"); exit 1 32 | fi 33 | 34 | if [[ $LAST_POWER -ne $VOTING_POWER ]]; then 35 | DIFF=$(($VOTING_POWER - $LAST_POWER)) 36 | if [[ $DIFF -gt 0 ]]; then 37 | DIFF="%2B$DIFF" 38 | fi 39 | MSG="$ip voting power changed ( размер стейка валидатора изменился ) $DIFF%0A($LAST_POWER -> $VOTING_POWER)" 40 | fi 41 | 42 | if [[ $LAST_BLOCK -ge $LATEST_BLOCK ]]; then 43 | 44 | MSG="$ip node is probably stuck at block (узел застрял в блоке номер>> ) $LATEST_BLOCK" 45 | fi 46 | 47 | if [[ $VOTING_POWER -lt 1 ]]; then 48 | MSG="$ip validator inactive\jailed ( валидатор не активен\в тюрьме ). Voting power $VOTING_POWER" 49 | fi 50 | 51 | if [[ $CATCHING_UP = "true" ]]; then 52 | MSG="$ip node is unsync, catching up ( узел находится в процессе синхронизации ). $LATEST_BLOCK -> $REAL_BLOCK" 53 | fi 54 | 55 | if [[ $REAL_BLOCK -eq 0 ]]; then 56 | MSG="$ip can't connect to ( пропало соединения с рпц нодой ) $SIDE_RPC" 57 | fi 58 | 59 | if [[ $MSG != "" ]]; then 60 | MSG="AURA $MSG" 61 | SEND=$(curl -s -X POST -H "Content-Type:multipart/form-data" "https://api.telegram.org/bot$TG_API/sendMessage?chat_id=$TG_ID&text=$MSG") 62 | fi 63 | -------------------------------------------------------------------------------- /aura/euphoria-1/telegram_bot/start: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while true 4 | do 5 | 6 | # Logo 7 | 8 | echo "============================================================" 9 | curl -s https://raw.githubusercontent.com/StakeTake/script/main/logo.sh | bash 10 | echo "============================================================" 11 | 12 | 13 | PS3='Select an action: ' 14 | options=( 15 | "Setup parametrs for bot" 16 | "Start bot" 17 | "Exit") 18 | select opt in "${options[@]}" 19 | do 20 | case $opt in 21 | 22 | "Setup parametrs for bot") 23 | echo "============================================================" 24 | echo "Setup your Telegramm API" 25 | echo "============================================================" 26 | read TG_API 27 | echo export TG_API=${TG_API} >> $HOME/.bash_profile 28 | echo "============================================================" 29 | echo "Setup your Chat ID" 30 | echo "============================================================" 31 | read TG_ID 32 | echo export TG_ID=${TG_ID} >> $HOME/.bash_profile 33 | source $HOME/.bash_profile 34 | 35 | mkdir $HOME/alerts 36 | wget -O $HOME/alerts/alerts.sh https://raw.githubusercontent.com/StakeTake/guidecosmos/main/aura/euphoria-1/telegram_bot/alerts.sh 37 | chmod +x $HOME/alerts/alerts.sh 38 | break 39 | ;; 40 | 41 | "Start bot") 42 | echo "============================================================" 43 | echo "Bot strating" 44 | echo "============================================================" 45 | 46 | crontab -e 47 | 48 | break 49 | ;; 50 | 51 | "Exit") 52 | exit 53 | ;; 54 | 55 | *) echo "invalid option $REPLY";; 56 | esac 57 | done 58 | done 59 | -------------------------------------------------------------------------------- /aura/halo-testnet-001/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/aura/halo-testnet-001/aura > aura.sh && chmod +x aura.sh && ./aura.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.aura/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | -------------------------------------------------------------------------------- /canto/canto_7700-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ## Explorers: 4 | PingPub - https://explorer.stake-take.com/canto/staking 5 | ## One line script for full install 6 | ``` 7 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/canto/canto_7700-1/canto > canto.sh && chmod +x canto.sh && ./canto.sh 8 | ``` 9 | To install, you just need to take the script and go through the installation order 10 | ### Please save your mnemonic and backup $HOME/.cantod/config/priv_validator_key.json 11 | #### For example mnemonic phrase: 12 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 13 | ## Snapshot 486801 height 0.1gb 14 | ``` 15 | sudo systemctl stop cantod 16 | cantod tendermint unsafe-reset-all --home $HOME/.cantod --keep-addr-book 17 | pruning="custom" 18 | pruning_keep_recent="100" 19 | pruning_keep_every="0" 20 | pruning_interval="10" 21 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.cantod/config/app.toml 22 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.cantod/config/app.toml 23 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.cantod/config/app.toml 24 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.cantod/config/app.toml 25 | cd 26 | rm -rf ~/.cantod/data; \ 27 | wget -O - http://snap.stake-take.com:8000/canto.tar.gz | tar xf - 28 | mv $HOME/root/.cantod/data $HOME/.cantod 29 | rm -rf $HOME/root 30 | sudo systemctl restart cantod && journalctl -u cantod -f -o cat 31 | ``` 32 | ## Start with state sync 33 | ``` 34 | sudo systemctl stop cantod 35 | cantod tendermint unsafe-reset-all --home $HOME/.cantod 36 | SEEDS=""; \ 37 | PEERS=""; \ 38 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.cantod/config/config.toml 39 | wget -O $HOME/.cantod/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/canto/canto_7700-1/addrbook.json" 40 | SNAP_RPC="https://rpc.canto.nodestake.top:443" 41 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 42 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 43 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 44 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 45 | 46 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 47 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 48 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 49 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 50 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.cantod/config/config.toml 51 | sudo systemctl restart cantod && journalctl -u cantod -f -o cat 52 | ``` 53 | ## Add addrbook 54 | ``` 55 | sudo systemctl stop cantod 56 | rm $HOME/.cantod/config/addrbook.json 57 | wget -O $HOME/.cantod/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/canto/canto_7700-1/addrbook.json" 58 | sudo systemctl restart cantod && journalctl -u cantod -f -o cat 59 | ``` 60 | ## RPC 61 | ``` 62 | https://rpc.canto.nodestake.top:443 63 | ``` 64 | ## Delete node 65 | ``` 66 | sudo systemctl stop cantod && sudo systemctl disable cantod 67 | rm -rf $HOME/Canto $HOME/.cantod /etc/systemd/system/cantod.service $HOME/go/bin/cantod 68 | ``` 69 | -------------------------------------------------------------------------------- /celestia/mamaki/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/celestia/mamaki/celestia > celestia.sh && chmod +x celestia.sh && ./celestia.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.celestia-app/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | -------------------------------------------------------------------------------- /celestia/telegram_bot/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ___In this guide, we wrote how to set up a bot to track the state of the Celestia validator nodes___ 4 | 5 | To install, follow a few simple steps: 6 | 7 | 1. Create a bot, get an api token (To get a token, you can use FatherBot in telegram) and a telegram chat id, you can read how to do it at the link - [(ENG)](https://sean-bradley.medium.com/get-telegram-chat-id-80b575520659 "") [(RU)](https://nastroyvse.ru/programs/review/telegram-id-kak-uznat-zachem-nuzhno.html "") 8 | 2. Run the script, select the installation stage, which will ask you to enter the NodeName, API_token and telegram chat id. 9 | ```html 10 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/celestia/telegram_bot/start > start.sh && chmod +x start.sh && ./start.sh 11 | ``` 12 | 3. Select the "Start bot" item and enter the following data in the line that appears, you also need to leave the next line empty 13 | ```html 14 | */1 * * * * /bin/bash $HOME/alerts/alerts.sh 15 | ``` 16 | ![](https://ltdfoto.ru/images/2022/04/07/image_2022-04-07_13-35-26.png) 17 | -------------------------------------------------------------------------------- /celestia/telegram_bot/alerts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # File name for saving parameters, e.g. "cosmos.log" 4 | LOG_FILE="$HOME/alerts/nodealerts.log" 5 | # Your node RPC address, e.g. "http://127.0.0.1:26657" 6 | NODE_RPC="http://127.0.0.1:26657" 7 | source 8 | # Trusted node RPC address, e.g. "https://rpc.cosmos.network:26657" 9 | SIDE_RPC="https://rpc.celestia.stake-take.com:443" 10 | ip=$(wget -qO- eth0.me) 11 | 12 | touch $LOG_FILE 13 | REAL_BLOCK=$(curl -s "$SIDE_RPC/status" | jq '.result.sync_info.latest_block_height' | xargs ) 14 | STATUS=$(curl -s "$NODE_RPC/status") 15 | CATCHING_UP=$(echo $STATUS | jq '.result.sync_info.catching_up') 16 | LATEST_BLOCK=$(echo $STATUS | jq '.result.sync_info.latest_block_height' | xargs ) 17 | VOTING_POWER=$(echo $STATUS | jq '.result.validator_info.voting_power' | xargs ) 18 | ADDRESS=$(echo $STATUS | jq '.result.validator_info.address' | xargs ) 19 | source $LOG_FILE 20 | #REAL_BLOCK=350000 21 | #VOTING_POWER=150 22 | 23 | echo 'LAST_BLOCK="'"$LATEST_BLOCK"'"' > $LOG_FILE 24 | echo 'LAST_POWER="'"$VOTING_POWER"'"' >> $LOG_FILE 25 | 26 | source $HOME/.bash_profile 27 | curl -s "$NODE_RPC/status"> /dev/null 28 | if [[ $? -ne 0 ]]; then 29 | MSG="$ip node is stopped!!! ( узел остановлен )" 30 | MSG="$NODENAME $MSG" 31 | SEND=$(curl -s -X POST -H "Content-Type:multipart/form-data" "https://api.telegram.org/bot$TG_API/sendMessage?chat_id=$TG_ID&text=$MSG"); exit 1 32 | fi 33 | 34 | if [[ $LAST_POWER -ne $VOTING_POWER ]]; then 35 | DIFF=$(($VOTING_POWER - $LAST_POWER)) 36 | if [[ $DIFF -gt 0 ]]; then 37 | DIFF="%2B$DIFF" 38 | fi 39 | MSG="$ip voting power changed ( размер стейка валидатора изменился ) $DIFF%0A($LAST_POWER -> $VOTING_POWER)" 40 | fi 41 | 42 | if [[ $LAST_BLOCK -ge $LATEST_BLOCK ]]; then 43 | 44 | MSG="$ip node is probably stuck at block (узел застрял в блоке номер>> ) $LATEST_BLOCK" 45 | fi 46 | 47 | if [[ $VOTING_POWER -lt 1 ]]; then 48 | MSG="$ip validator inactive\jailed ( валидатор не активен\в тюрьме ). Voting power $VOTING_POWER" 49 | fi 50 | 51 | if [[ $CATCHING_UP = "true" ]]; then 52 | MSG="$ip node is unsync, catching up ( узел находится в процессе синхронизации ). $LATEST_BLOCK -> $REAL_BLOCK" 53 | fi 54 | 55 | if [[ $REAL_BLOCK -eq 0 ]]; then 56 | MSG="$ip can't connect to ( пропало соединения с рпц нодой ) $SIDE_RPC" 57 | fi 58 | 59 | if [[ $MSG != "" ]]; then 60 | MSG="$NODENAME $MSG" 61 | SEND=$(curl -s -X POST -H "Content-Type:multipart/form-data" "https://api.telegram.org/bot$TG_API/sendMessage?chat_id=$TG_ID&text=$MSG") 62 | fi 63 | -------------------------------------------------------------------------------- /celestia/telegram_bot/start: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while true 4 | do 5 | 6 | # Logo 7 | 8 | echo "============================================================" 9 | curl -s https://raw.githubusercontent.com/StakeTake/script/main/logo.sh | bash 10 | echo "============================================================" 11 | 12 | 13 | PS3='Select an action: ' 14 | options=( 15 | "Setup parametrs for bot" 16 | "Start bot" 17 | "Exit") 18 | select opt in "${options[@]}" 19 | do 20 | case $opt in 21 | 22 | "Setup parametrs for bot") 23 | echo "============================================================" 24 | echo "Setup your node name" 25 | echo "============================================================" 26 | read NODENAME 27 | echo export NODENAME=${NODENAME} >> $HOME/.bash_profile 28 | echo "============================================================" 29 | echo "Setup your Telegramm API" 30 | echo "============================================================" 31 | read TG_API 32 | echo export TG_API=${TG_API} >> $HOME/.bash_profile 33 | echo "============================================================" 34 | echo "Setup your Chat ID" 35 | echo "============================================================" 36 | read TG_ID 37 | echo export TG_ID=${TG_ID} >> $HOME/.bash_profile 38 | source $HOME/.bash_profile 39 | 40 | mkdir $HOME/alerts 41 | wget -O $HOME/alerts/alerts.sh https://raw.githubusercontent.com/StakeTake/guidecosmos/main/celestia/telegram_bot/alerts.sh 42 | chmod +x $HOME/alerts/alerts.sh 43 | break 44 | ;; 45 | 46 | "Start bot") 47 | echo "============================================================" 48 | echo "Bot strating" 49 | echo "============================================================" 50 | 51 | crontab -e 52 | 53 | break 54 | ;; 55 | 56 | "Exit") 57 | exit 58 | ;; 59 | 60 | *) echo "invalid option $REPLY";; 61 | esac 62 | done 63 | done 64 | -------------------------------------------------------------------------------- /crossfi/crossfi-evm-testnet-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ## Explorers: 4 | Ping Pub - https://testnet.ping.pub/crossfi 5 | ## One line script for full install 6 | ``` 7 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/crossfi/crossfi-evm-testnet-1/crossfi > crossfi.sh && chmod +x crossfi.sh && ./crossfi.sh 8 | ``` 9 | To install, you just need to take the script and go through the installation order 10 | ### Please save your mnemonic and backup $HOME/.mineplex-chain/config/priv_validator_key.json 11 | #### For example mnemonic phrase: 12 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 13 | ## Snapshot (updating every 4h) 14 | ``` 15 | sudo systemctl stop crossfid 16 | crossfid tendermint unsafe-reset-all --home ~/.mineplex-chain 17 | wget -O $HOME/.mineplex-chain/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/crossfi/crossfi-evm-testnet-1/addrbook.json" 18 | rm -rf ~/.mineplex-chain/data/* 19 | wget -P ~/.mineplex-chain/data http://snapshot.crossfi.stake-take.com:8000/crossfi.tar.gz 20 | tar -zxvf ~/.mineplex-chain/data/crossfi.tar.gz -C ~/.mineplex-chain/data 21 | sudo systemctl restart crossfid && journalctl -u crossfid -f -o cat 22 | ``` 23 | ## Start with state sync 24 | ``` 25 | sudo systemctl stop crossfid 26 | crossfid tendermint unsafe-reset-all --home ~/.mineplex-chain 27 | wget -O $HOME/.mineplex-chain/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/crossfi/crossfi-evm-testnet-1/addrbook.json" 28 | SNAP_RPC="https://rpc.crossfi.stake-take.com:443" 29 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 30 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 31 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 32 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 33 | 34 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 35 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 36 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 37 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 38 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.mineplex-chain/config/config.toml 39 | sudo systemctl restart crossfid && journalctl -u crossfid -f -o cat 40 | ``` 41 | ## Delete node 42 | ``` 43 | systemctl stop crossfid 44 | rm -rf $HOME/.mineplex-chain $(which crossfid) /etc/systemd/system/crossfid.service 45 | ``` 46 | ## Add addrbook 47 | ``` 48 | sudo systemctl stop crossfid 49 | rm $HOME/.mineplex-chain/config/addrbook.json 50 | wget -O $HOME/.mineplex-chain/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/crossfi/crossfi-evm-testnet-1/addrbook.json" 51 | sudo systemctl restart crossfid && journalctl -u crossfid -f -o cat 52 | ``` 53 | ## RPC 54 | ``` 55 | https://rpc.crossfi.stake-take.com:443 56 | ``` 57 | ## API 58 | ``` 59 | https://api.crossfi.stake-take.com:443 60 | ``` 61 | -------------------------------------------------------------------------------- /crossfi/crossfi-evm-testnet-1/telegram_bot/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ## In this guide, we wrote how to set up a bot to track the state of the Crossfi node 4 | 5 | To install, follow a few simple steps: 6 | 7 | 1. Create a bot, get an api token (To get a token, you can use FatherBot in telegram) and a telegram chat id, you can read how to do it at the link - [(ENG)](https://sean-bradley.medium.com/get-telegram-chat-id-80b575520659 "") [(RU)](https://nastroyvse.ru/programs/review/telegram-id-kak-uznat-zachem-nuzhno.html "") 8 | 2. Run the script, select the installation stage, which will ask you to enter API_token and telegram chat id. 9 | ``` 10 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/crossfi/crossfi-evm-testnet-1/telegram_bot/start > start.sh && chmod +x start.sh && ./start.sh 11 | ``` 12 | 3. Select the "Start bot" item and enter the following data in the line that appears, you also need to leave the next line empty 13 | ``` 14 | */1 * * * * /bin/bash $HOME/alerts/alerts.sh 15 | ``` 16 | ![](https://ltdfoto.ru/images/2022/04/07/image_2022-04-07_13-35-26.png) 17 | -------------------------------------------------------------------------------- /crossfi/crossfi-evm-testnet-1/telegram_bot/alerts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # File name for saving parameters, e.g. "cosmos.log" 4 | LOG_FILE="$HOME/alerts/nodealerts.log" 5 | # Your node RPC address, e.g. "http://127.0.0.1:26657" 6 | NODE_RPC="http://127.0.0.1:26657" 7 | source 8 | # Trusted node RPC address, e.g. "https://rpc.cosmos.network:26657" 9 | SIDE_RPC="https://rpc.crossfi.stake-take.com:443" 10 | ip=$(wget -qO- eth0.me) 11 | 12 | touch $LOG_FILE 13 | REAL_BLOCK=$(curl -s "$SIDE_RPC/status" | jq '.result.sync_info.latest_block_height' | xargs ) 14 | STATUS=$(curl -s "$NODE_RPC/status") 15 | CATCHING_UP=$(echo $STATUS | jq '.result.sync_info.catching_up') 16 | LATEST_BLOCK=$(echo $STATUS | jq '.result.sync_info.latest_block_height' | xargs ) 17 | VOTING_POWER=$(echo $STATUS | jq '.result.validator_info.voting_power' | xargs ) 18 | ADDRESS=$(echo $STATUS | jq '.result.validator_info.address' | xargs ) 19 | source $LOG_FILE 20 | #REAL_BLOCK=350000 21 | #VOTING_POWER=150 22 | 23 | echo 'LAST_BLOCK="'"$LATEST_BLOCK"'"' > $LOG_FILE 24 | echo 'LAST_POWER="'"$VOTING_POWER"'"' >> $LOG_FILE 25 | 26 | source $HOME/.bash_profile 27 | curl -s "$NODE_RPC/status"> /dev/null 28 | if [[ $? -ne 0 ]]; then 29 | MSG="$ip node is stopped!!! ( узел остановлен )" 30 | MSG="CROSSFI $MSG" 31 | SEND=$(curl -s -X POST -H "Content-Type:multipart/form-data" "https://api.telegram.org/bot$TG_API/sendMessage?chat_id=$TG_ID&text=$MSG"); exit 1 32 | fi 33 | 34 | if [[ $LAST_POWER -ne $VOTING_POWER ]]; then 35 | DIFF=$(($VOTING_POWER - $LAST_POWER)) 36 | if [[ $DIFF -gt 0 ]]; then 37 | DIFF="%2B$DIFF" 38 | fi 39 | MSG="$ip voting power changed ( размер стейка валидатора изменился ) $DIFF%0A($LAST_POWER -> $VOTING_POWER)" 40 | fi 41 | 42 | if [[ $LAST_BLOCK -ge $LATEST_BLOCK ]]; then 43 | 44 | MSG="$ip node is probably stuck at block (узел застрял в блоке номер>> ) $LATEST_BLOCK" 45 | fi 46 | 47 | if [[ $VOTING_POWER -lt 1 ]]; then 48 | MSG="$ip validator inactive\jailed ( валидатор не активен\в тюрьме ). Voting power $VOTING_POWER" 49 | fi 50 | 51 | if [[ $CATCHING_UP = "true" ]]; then 52 | MSG="$ip node is unsync, catching up ( узел находится в процессе синхронизации ). $LATEST_BLOCK -> $REAL_BLOCK" 53 | fi 54 | 55 | if [[ $REAL_BLOCK -eq 0 ]]; then 56 | MSG="$ip can't connect to ( пропало соединения с рпц нодой ) $SIDE_RPC" 57 | fi 58 | 59 | if [[ $MSG != "" ]]; then 60 | MSG="AURA $MSG" 61 | SEND=$(curl -s -X POST -H "Content-Type:multipart/form-data" "https://api.telegram.org/bot$TG_API/sendMessage?chat_id=$TG_ID&text=$MSG") 62 | fi 63 | -------------------------------------------------------------------------------- /crossfi/crossfi-evm-testnet-1/telegram_bot/start: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while true 4 | do 5 | 6 | # Logo 7 | 8 | echo "============================================================" 9 | curl -s https://raw.githubusercontent.com/StakeTake/script/main/logo.sh | bash 10 | echo "============================================================" 11 | 12 | 13 | PS3='Select an action: ' 14 | options=( 15 | "Setup parametrs for bot" 16 | "Start bot" 17 | "Exit") 18 | select opt in "${options[@]}" 19 | do 20 | case $opt in 21 | 22 | "Setup parametrs for bot") 23 | echo "============================================================" 24 | echo "Setup your Telegramm API" 25 | echo "============================================================" 26 | read TG_API 27 | echo export TG_API=${TG_API} >> $HOME/.bash_profile 28 | echo "============================================================" 29 | echo "Setup your Chat ID" 30 | echo "============================================================" 31 | read TG_ID 32 | echo export TG_ID=${TG_ID} >> $HOME/.bash_profile 33 | source $HOME/.bash_profile 34 | 35 | mkdir $HOME/alerts 36 | wget -O $HOME/alerts/alerts.sh https://raw.githubusercontent.com/StakeTake/guidecosmos/main/crossfi/crossfi-evm-testnet-1/telegram_bot/alerts.sh 37 | chmod +x $HOME/alerts/alerts.sh 38 | break 39 | ;; 40 | 41 | "Start bot") 42 | echo "============================================================" 43 | echo "Bot strating" 44 | echo "============================================================" 45 | 46 | crontab -e 47 | 48 | break 49 | ;; 50 | 51 | "Exit") 52 | exit 53 | ;; 54 | 55 | *) echo "invalid option $REPLY";; 56 | esac 57 | done 58 | done 59 | -------------------------------------------------------------------------------- /defund-labs/defund-private-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/defund-labs/defund-private-1/defund > defund.sh && chmod +x defund.sh && ./defund.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.defund/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | -------------------------------------------------------------------------------- /evmos/evmos_9000-3/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ___In this guide, we have made setting up a beta node as easy as possible___ 4 | 5 | 6 | ```html 7 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/evmos/evmos_9000-3/evmos > evmos.sh && chmod +x evmos.sh && ./evmos.sh 8 | ``` 9 | To install, you just need to take the script and go through the installation order 10 | ### Please save your mnemonic and backup $HOME/.evmosd/config/priv_validator_key.json 11 | #### For example mnemonic phrase: 12 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 13 | 14 | -------------------------------------------------------------------------------- /evmos/evmos_9000-3/evmos: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while true 4 | do 5 | 6 | # Logo 7 | 8 | echo "========================================================================================================================" 9 | curl -s https://raw.githubusercontent.com/StakeTake/script/main/logo.sh | bash 10 | echo "========================================================================================================================" 11 | 12 | # Menu 13 | 14 | PS3='Select an action: ' 15 | options=( 16 | "Install Node" 17 | "Check Log" 18 | "Check balance" 19 | "Request tokens in website" 20 | "Create Validator" 21 | "Exit") 22 | select opt in "${options[@]}" 23 | do 24 | case $opt in 25 | 26 | "Install Node") 27 | echo "============================================================" 28 | echo "Install start" 29 | echo "============================================================" 30 | echo "Setup NodeName:" 31 | echo "============================================================" 32 | read NODENAME 33 | echo "============================================================" 34 | echo "Setup WalletName:" 35 | echo "============================================================" 36 | read WALLETNAME 37 | echo export NODENAME=${NODENAME} >> $HOME/.bash_profile 38 | echo export WALLETNAME=${WALLETNAME} >> $HOME/.bash_profile 39 | echo export CHAIN_ID=evmos_9000-3 >> $HOME/.bash_profile 40 | source ~/.bash_profile 41 | 42 | #UPDATE APT 43 | sudo apt update && sudo apt upgrade -y 44 | sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu unzip snapd -y 45 | 46 | #INSTALL GO 47 | wget https://golang.org/dl/go1.17.5.linux-amd64.tar.gz; \ 48 | rm -rv /usr/local/go; \ 49 | tar -C /usr/local -xzf go1.17.5.linux-amd64.tar.gz && \ 50 | rm -v go1.17.5.linux-amd64.tar.gz && \ 51 | echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile && \ 52 | source ~/.bash_profile && \ 53 | go version 54 | 55 | #INSTALL 56 | git clone https://github.com/tharsis/evmos.git 57 | cd evmos 58 | git checkout tags/v1.0.0-beta1 59 | make install 60 | evmosd version 61 | 62 | evmosd config chain-id evmos_9000-3 63 | evmosd init $NODENAME --chain-id $CHAIN_ID 64 | 65 | evmosd unsafe-reset-all 66 | rm ~/.evmosd/config/genesis.json 67 | wget -P ~/.evmosd/config https://github.com/tharsis/testnets/raw/main/evmos_9000-3/genesis.zip 68 | wget -O $HOME/.evmosd/config/addrbook.json https://raw.githubusercontent.com/StakeTake/guidecosmos/main/evmos/evmos_9000-3/addrbook.json 69 | cd ~/.evmosd/config 70 | unzip genesis.zip 71 | rm genesis.zip 72 | 73 | echo "============================================================" 74 | echo "Be sure to write down the mnemonic!" 75 | echo "============================================================" 76 | #WALLET 77 | evmosd keys add $WALLETNAME 78 | 79 | external_address=$(wget -qO- eth0.me) 80 | sed -i.bak -e "s/^external_address *=.*/external_address = \"$external_address:26656\"/" $HOME/.evmosd/config/config.toml 81 | 82 | sudo tee /etc/systemd/system/evmosd.service > /dev/null < evmos.sh && chmod +x evmos.sh && ./evmos.sh 8 | ``` 9 | To install, you just need to take the script and go through the installation order 10 | ### Please save your mnemonic and backup $HOME/.evmosd/config/priv_validator_key.json 11 | #### For example mnemonic phrase: 12 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 13 | 14 | -------------------------------------------------------------------------------- /evmos/evmos_9001_2/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorer 5 | PingPub - https://explorer.stake-take.com/evmos 6 | ## In this guide, we have made setting up a beta node as easy as possible 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/evmos/evmos_9001_2/evmos > evmos.sh && chmod +x evmos.sh && ./evmos.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.evmosd/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | 15 | -------------------------------------------------------------------------------- /galaxies-labs/galaxy-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorer 5 | PingPub - https://explorer.stake-take.com/galaxy/staking 6 | ## In this guide, we have made setting up a node as easy as possible 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/galaxies-labs/galaxy-1/galaxy > galaxy.sh && chmod +x galaxy.sh && ./galaxy.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.galaxy/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | 15 | -------------------------------------------------------------------------------- /gnoland/gno: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while true 4 | do 5 | 6 | # Logo 7 | 8 | echo "========================================================================================================================" 9 | curl -s https://raw.githubusercontent.com/StakeTake/script/main/logo.sh | bash 10 | echo "========================================================================================================================" 11 | 12 | # Menu 13 | 14 | PS3='Select an action: ' 15 | options=( 16 | "Install Node" 17 | "Check your account" 18 | "Request tokens" 19 | "Check balance" 20 | "Create a board" 21 | "Exit") 22 | select opt in "${options[@]}" 23 | do 24 | case $opt in 25 | 26 | "Install Node") 27 | echo "============================================================" 28 | echo "Install start" 29 | echo "============================================================" 30 | 31 | #INSTALL APT 32 | sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y 33 | 34 | #INSTALL GO 35 | wget https://golang.org/dl/go1.18.1.linux-amd64.tar.gz; \ 36 | rm -rv /usr/local/go; \ 37 | tar -C /usr/local -xzf go1.18.1.linux-amd64.tar.gz && \ 38 | rm -v go1.18.1.linux-amd64.tar.gz && \ 39 | echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile && \ 40 | source ~/.bash_profile && \ 41 | go version 42 | 43 | #INSTALL 44 | cd $HOME 45 | git clone https://github.com/gnolang/gno/ 46 | cd ./gno 47 | make 48 | 49 | #CREATE MNEMONIC 50 | ./build/gnokey generate 51 | echo "============================================================" 52 | echo "Save your mnemonic, you will need it later!" 53 | echo "============================================================" 54 | echo "Write the name of your wallet:" 55 | echo "============================================================" 56 | read WALLET 57 | echo export WALLET=${WALLET} >> $HOME/.bash_profile 58 | source ~/.bash_profile 59 | ./build/gnokey add $WALLET --recover 60 | echo "============================================================" 61 | echo "Paste the received wallet address:" 62 | echo "============================================================" 63 | read WALLETADRESS 64 | echo export WALLETADRESS=${WALLETADRESS} >> $HOME/.bash_profile 65 | source ~/.bash_profile 66 | break 67 | ;; 68 | 69 | "Check your account") 70 | 71 | ./build/gnokey list 72 | 73 | break 74 | ;; 75 | 76 | 77 | "Check balance") 78 | ./build/gnokey query auth/accounts/$WALLETADRESS --remote gno.land:36657 79 | break 80 | ;; 81 | 82 | "Request tokens") 83 | echo "========================================================================================================================" 84 | echo "Requesting tokens on the site - https://gno.land/faucet" 85 | echo "========================================================================================================================" 86 | break 87 | ;; 88 | 89 | "Create a board") 90 | ./build/gnokey query auth/accounts/$WALLETADRESS --remote gno.land:36657 91 | echo "============================================================" 92 | echo "Setup your account number:" 93 | echo "============================================================" 94 | read ACCNUMBER 95 | echo export ACCNUMBER=${ACCNUMBER} >> $HOME/.bash_profile 96 | echo "============================================================" 97 | echo "Setup your sequence number:" 98 | echo "============================================================" 99 | read SEQ 100 | echo export SEQ=${SEQ} >> $HOME/.bash_profile 101 | echo "============================================================" 102 | echo "Setup your board name:" 103 | echo "============================================================" 104 | read BOARDNAME 105 | echo export BOARDNAME=${BOARDNAME} >> $HOME/.bash_profile 106 | source ~/.bash_profile 107 | ./build/gnokey maketx call $WALLET --pkgpath "gno.land/r/boards" --func CreateBoard --args "$BOARDNAME" --gas-fee 1gnot --gas-wanted 2000000 > createboard.unsigned.txt 108 | ./build/gnokey sign $WALLET --txpath createboard.unsigned.txt --chainid "testchain" --number $ACCNUMBER --sequence $SEQ > createboard.signed.txt 109 | ./build/gnokey broadcast createboard.signed.txt --remote gno.land:36657 110 | break 111 | ;; 112 | 113 | "Exit") 114 | exit 115 | ;; 116 | *) echo "invalid option $REPLY";; 117 | esac 118 | done 119 | done 120 | -------------------------------------------------------------------------------- /haqq/haqq_53211-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ## Explorers: 4 | Ping Pub - https://explorer.stake-take.com/haqq/staking 5 | ## One line script for full install 6 | ``` 7 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/haqq/haqq_53211-1/haqq > haqq.sh && chmod +x haqq.sh && ./haqq.sh 8 | ``` 9 | To install, you just need to take the script and go through the installation order 10 | ### Please save your mnemonic and backup $HOME/.haqqd/config/priv_validator_key.json 11 | #### For example mnemonic phrase: 12 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 13 | ## Snapshot 722610 height 0.2gb 14 | ``` 15 | sudo systemctl stop haqqd 16 | haqqd tendermint unsafe-reset-all --home $HOME/.haqqd --keep-addr-book 17 | pruning="custom" 18 | pruning_keep_recent="100" 19 | pruning_keep_every="0" 20 | pruning_interval="10" 21 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.haqqd/config/app.toml 22 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.haqqd/config/app.toml 23 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.haqqd/config/app.toml 24 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.haqqd/config/app.toml 25 | cd 26 | rm -rf ~/.haqqd/data; \ 27 | wget -O - http://snap.stake-take.com:8000/haqq.tar.gz | tar xf - 28 | mv $HOME/root/.haqqd/data $HOME/.haqqd 29 | rm -rf $HOME/root 30 | wget -O $HOME/.haqqd/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/haqq/haqq_53211-1/addrbook.json" 31 | sudo systemctl restart haqqd && journalctl -u haqqd -f -o cat 32 | ``` 33 | ## Start with state sync 34 | ``` 35 | sudo systemctl stop haqqd 36 | haqqd tendermint unsafe-reset-all --home $HOME/.haqqd 37 | SEEDS="8f7b0add0523ec3648cb48bc12ac35357b1a73ae@195.201.123.87:26656,899eb370da6930cf0bfe01478c82548bb7c71460@34.90.233.163:26656,f2a78c20d5bb567dd05d525b76324a45b5b7aa28@34.90.227.10:26656,4705cf12fb56d7f9eb7144937c9f1b1d8c7b6a4a@34.91.195.139:26656" 38 | PEERS=""; \ 39 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.haqqd/config/config.toml 40 | wget -O $HOME/.haqqd/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/haqq/haqq_53211-1/addrbook.json" 41 | SNAP_RPC="http://haqq.stake-take.com:36657" 42 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 43 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 44 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 45 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 46 | 47 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 48 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 49 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 50 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 51 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.haqqd/config/config.toml 52 | sudo systemctl restart haqqd && journalctl -u haqqd -f -o cat 53 | ``` 54 | ## Add addrbook 55 | ``` 56 | sudo systemctl stop haqqd 57 | rm $HOME/.haqqd/config/addrbook.json 58 | wget -O $HOME/.haqqd/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/haqq/haqq_53211-1/addrbook.json" 59 | sudo systemctl restart haqqd && journalctl -u haqqd -f -o cat 60 | ``` 61 | ## RPC 62 | ``` 63 | http://haqq.stake-take.com:36657, https://rpc.tm.testedge.haqq.network:443, https://rpc-t.haqq.nodestake.top:443 64 | ``` 65 | ## Delete node 66 | ``` 67 | sudo systemctl stop haqqd && sudo systemctl disable haqqd 68 | rm -rf $HOME/haqq $HOME/.haqqd /etc/systemd/system/haqqd.service $HOME/go/bin/haqqd 69 | ``` 70 | -------------------------------------------------------------------------------- /haqq/haqq_54211-2/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ## Explorers: 4 | Ping Pub - https://explorer.stake-take.com/haqq/staking 5 | ## One line script for full install 6 | ``` 7 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/haqq/haqq_54211-1/haqq > haqq.sh && chmod +x haqq.sh && ./haqq.sh 8 | ``` 9 | To install, you just need to take the script and go through the installation order 10 | ### Please save your mnemonic and backup $HOME/.haqqd/config/priv_validator_key.json 11 | #### For example mnemonic phrase: 12 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 13 | ## Start with state sync 14 | ``` 15 | sudo systemctl stop haqqd 16 | haqqd tendermint unsafe-reset-all --home $HOME/.haqqd 17 | SEEDS="" 18 | PEERS=""; \ 19 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.haqqd/config/config.toml 20 | wget -O $HOME/.haqqd/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/haqq/haqq_54211-2/addrbook.json" 21 | SNAP_RPC="http://haqq.stake-take.com:20657" 22 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 23 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 24 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 25 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 26 | 27 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 28 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 29 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 30 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 31 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.haqqd/config/config.toml 32 | sudo systemctl restart haqqd && journalctl -u haqqd -f -o cat 33 | ``` 34 | ## Add addrbook 35 | ``` 36 | sudo systemctl stop haqqd 37 | rm $HOME/.haqqd/config/addrbook.json 38 | wget -O $HOME/.haqqd/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/haqq/haqq_54211-2/addrbook.json" 39 | sudo systemctl restart haqqd && journalctl -u haqqd -f -o cat 40 | ``` 41 | ## RPC 42 | ``` 43 | http://haqq.stake-take.com:20657 44 | ``` 45 | ## Delete node 46 | ``` 47 | sudo systemctl stop haqqd && sudo systemctl disable haqqd 48 | rm -rf $HOME/haqq $HOME/.haqqd /etc/systemd/system/haqqd.service $(which haqqd) 49 | ``` 50 | -------------------------------------------------------------------------------- /haqq/haqq_54211-2/telegram_bot/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ## In this guide, we wrote how to set up a bot to track the state of the HAQQ node 4 | 5 | To install, follow a few simple steps: 6 | 7 | 1. Create a bot, get an api token (To get a token, you can use FatherBot in telegram) and a telegram chat id, you can read how to do it at the link - [(ENG)](https://sean-bradley.medium.com/get-telegram-chat-id-80b575520659 "") [(RU)](https://nastroyvse.ru/programs/review/telegram-id-kak-uznat-zachem-nuzhno.html "") 8 | 2. Run the script, select the installation stage, which will ask you to enter API_token and telegram chat id. 9 | ``` 10 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/haqq/haqq_54211-2/telegram_bot/start > start.sh && chmod +x start.sh && ./start.sh 11 | ``` 12 | 3. Select the "Start bot" item and enter the following data in the line that appears, you also need to leave the next line empty 13 | ``` 14 | */1 * * * * /bin/bash $HOME/alerts/alerts.sh 15 | ``` 16 | ![](https://ltdfoto.ru/images/2022/04/07/image_2022-04-07_13-35-26.png) 17 | -------------------------------------------------------------------------------- /haqq/haqq_54211-2/telegram_bot/alerts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # File name for saving parameters, e.g. "cosmos.log" 4 | LOG_FILE="$HOME/alerts/nodealerts.log" 5 | # Your node RPC address, e.g. "http://127.0.0.1:26657" 6 | NODE_RPC="http://127.0.0.1:26657" 7 | source 8 | # Trusted node RPC address, e.g. "https://rpc.cosmos.network:26657" 9 | SIDE_RPC="https://haqq-t.rpc.manticore.team:443" 10 | ip=$(wget -qO- eth0.me) 11 | 12 | touch $LOG_FILE 13 | REAL_BLOCK=$(curl -s "$SIDE_RPC/status" | jq '.result.sync_info.latest_block_height' | xargs ) 14 | STATUS=$(curl -s "$NODE_RPC/status") 15 | CATCHING_UP=$(echo $STATUS | jq '.result.sync_info.catching_up') 16 | LATEST_BLOCK=$(echo $STATUS | jq '.result.sync_info.latest_block_height' | xargs ) 17 | VOTING_POWER=$(echo $STATUS | jq '.result.validator_info.voting_power' | xargs ) 18 | ADDRESS=$(echo $STATUS | jq '.result.validator_info.address' | xargs ) 19 | source $LOG_FILE 20 | #REAL_BLOCK=350000 21 | #VOTING_POWER=150 22 | 23 | echo 'LAST_BLOCK="'"$LATEST_BLOCK"'"' > $LOG_FILE 24 | echo 'LAST_POWER="'"$VOTING_POWER"'"' >> $LOG_FILE 25 | 26 | source $HOME/.bash_profile 27 | curl -s "$NODE_RPC/status"> /dev/null 28 | if [[ $? -ne 0 ]]; then 29 | MSG="$ip node is stopped!!! ( узел остановлен )" 30 | MSG="HAQQ $MSG" 31 | SEND=$(curl -s -X POST -H "Content-Type:multipart/form-data" "https://api.telegram.org/bot$TG_API/sendMessage?chat_id=$TG_ID&text=$MSG"); exit 1 32 | fi 33 | 34 | if [[ $LAST_POWER -ne $VOTING_POWER ]]; then 35 | DIFF=$(($VOTING_POWER - $LAST_POWER)) 36 | if [[ $DIFF -gt 0 ]]; then 37 | DIFF="%2B$DIFF" 38 | fi 39 | MSG="$ip voting power changed ( размер стейка валидатора изменился ) $DIFF%0A($LAST_POWER -> $VOTING_POWER)" 40 | fi 41 | 42 | if [[ $LAST_BLOCK -ge $LATEST_BLOCK ]]; then 43 | 44 | MSG="$ip node is probably stuck at block (узел застрял в блоке номер>> ) $LATEST_BLOCK" 45 | fi 46 | 47 | if [[ $VOTING_POWER -lt 1 ]]; then 48 | MSG="$ip validator inactive\jailed ( валидатор не активен\в тюрьме ). Voting power $VOTING_POWER" 49 | fi 50 | 51 | if [[ $CATCHING_UP = "true" ]]; then 52 | MSG="$ip node is unsync, catching up ( узел находится в процессе синхронизации ). $LATEST_BLOCK -> $REAL_BLOCK" 53 | fi 54 | 55 | if [[ $REAL_BLOCK -eq 0 ]]; then 56 | MSG="$ip can't connect to ( пропало соединения с рпц нодой ) $SIDE_RPC" 57 | fi 58 | 59 | if [[ $MSG != "" ]]; then 60 | MSG="HAQQ $MSG" 61 | SEND=$(curl -s -X POST -H "Content-Type:multipart/form-data" "https://api.telegram.org/bot$TG_API/sendMessage?chat_id=$TG_ID&text=$MSG") 62 | fi 63 | -------------------------------------------------------------------------------- /haqq/haqq_54211-2/telegram_bot/start: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while true 4 | do 5 | 6 | # Logo 7 | 8 | echo "============================================================" 9 | curl -s https://raw.githubusercontent.com/StakeTake/script/main/logo.sh | bash 10 | echo "============================================================" 11 | 12 | 13 | PS3='Select an action: ' 14 | options=( 15 | "Setup parametrs for bot" 16 | "Start bot" 17 | "Exit") 18 | select opt in "${options[@]}" 19 | do 20 | case $opt in 21 | 22 | "Setup parametrs for bot") 23 | echo "============================================================" 24 | echo "Setup your Telegramm API" 25 | echo "============================================================" 26 | read TG_API 27 | echo export TG_API=${TG_API} >> $HOME/.bash_profile 28 | echo "============================================================" 29 | echo "Setup your Chat ID" 30 | echo "============================================================" 31 | read TG_ID 32 | echo export TG_ID=${TG_ID} >> $HOME/.bash_profile 33 | source $HOME/.bash_profile 34 | 35 | mkdir $HOME/alerts 36 | wget -O $HOME/alerts/alerts.sh https://raw.githubusercontent.com/StakeTake/guidecosmos/main/haqq/haqq_54211-2/telegram_bot/alerts.sh 37 | chmod +x $HOME/alerts/alerts.sh 38 | break 39 | ;; 40 | 41 | "Start bot") 42 | echo "============================================================" 43 | echo "Bot strating" 44 | echo "============================================================" 45 | 46 | crontab -e 47 | 48 | break 49 | ;; 50 | 51 | "Exit") 52 | exit 53 | ;; 54 | 55 | *) echo "invalid option $REPLY";; 56 | esac 57 | done 58 | done 59 | -------------------------------------------------------------------------------- /kujira/harpoon-3/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/kujira/harpoon-3/kujira > kujira.sh && chmod +x kujira.sh && ./kujira.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.kujira/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | -------------------------------------------------------------------------------- /kujira/harpoon-4/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/kujira/harpoon-4/kujira > kujira.sh && chmod +x kujira.sh && ./kujira.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.kujira/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | -------------------------------------------------------------------------------- /meme/meme-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers 5 | PingPub - https://explorer.stake-take.com/meme/staking 6 | ## In this guide, we have made setting up a node as easy as possible 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/meme/meme-1/meme > meme.sh && chmod +x meme.sh && ./meme.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.memed/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | ## Start with state sync 15 | ``` 16 | sudo systemctl stop memed 17 | memed unsafe-reset-all --home $HOME/.memed 18 | SEEDS=""; \ 19 | PEERS=""; \ 20 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.memed/config/config.toml 21 | wget -O $HOME/.kyve/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/meme/meme-1/addrbook.json" 22 | SNAP_RPC="https://meme-rpc.polkachu.com:443" 23 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 24 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 25 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 26 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 27 | 28 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 29 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 30 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 31 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 32 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.memed/config/config.toml 33 | sudo systemctl restart memed && journalctl -u memed -f -o cat 34 | ``` 35 | -------------------------------------------------------------------------------- /ollo/ollo-testnet-0/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers: 5 | PingPub - https://explorer.stake-take.com/ollo-testnet/staking 6 | ## One line script for full install 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/ollo/ollo-testnet-0/ollo > ollo.sh && chmod +x ollo.sh && ./ollo.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.ollo/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | 15 | ## Snapshot 2113204 height 1gb 16 | ``` 17 | sudo systemctl stop ollod 18 | ollod tendermint unsafe-reset-all --home $HOME/.ollo --keep-addr-book 19 | pruning="custom" 20 | pruning_keep_recent="100" 21 | pruning_keep_every="0" 22 | pruning_interval="10" 23 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.ollo/config/app.toml 24 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.ollo/config/app.toml 25 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.ollo/config/app.toml 26 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.ollo/config/app.toml 27 | cd 28 | rm -rf ~/.ollo/data; \ 29 | wget -O - http://snap.stake-take.com:8000/ollo.tar.gz | tar xf - 30 | mv $HOME/root/.ollo/data $HOME/.ollo 31 | rm -rf $HOME/root 32 | sudo systemctl restart ollod && journalctl -u ollod -f -o cat 33 | ``` 34 | ## Start with state sync 35 | ``` 36 | sudo systemctl stop ollod 37 | ollod tendermint unsafe-reset-all --home $HOME/.ollo 38 | SEEDS=""; \ 39 | PEERS=""; \ 40 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.ollo/config/config.toml 41 | wget -O $HOME/.ollo/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/ollo/ollo-testnet-0/addrbook.json" 42 | SNAP_RPC="http://ollo.stake-take.com:16657" 43 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 44 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 500)); \ 45 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 46 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 47 | 48 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 49 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 50 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 51 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 52 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.ollo/config/config.toml 53 | sudo systemctl restart ollod && journalctl -u ollod -f -o cat 54 | ``` 55 | ## Add addrbook 56 | ``` 57 | sudo systemctl stop ollod 58 | rm $HOME/.ollo/config/addrbook.json 59 | wget -O $HOME/.ollo/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/ollo/ollo-testnet-0/addrbook.json" 60 | sudo systemctl restart ollod && journalctl -u ollod -f -o cat 61 | ``` 62 | ## RPC 63 | ``` 64 | http://ollo.stake-take.com:16657 65 | ``` 66 | ## Delete node 67 | ``` 68 | sudo systemctl stop ollod && sudo systemctl disable ollod 69 | rm -rf /etc/systemd/system/ollod.service $HOME/.ollo /usr/bin/ollod $HOME/go/bin/ollod 70 | ``` 71 | 72 | -------------------------------------------------------------------------------- /paloma/paloma-testnet-5/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/paloma/paloma-testnet-5/paloma > paloma.sh && chmod +x paloma.sh && ./paloma.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.paloma/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | -------------------------------------------------------------------------------- /paloma/paloma/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/paloma/paloma/paloma > paloma.sh && chmod +x paloma.sh && ./paloma.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.paloma/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | -------------------------------------------------------------------------------- /quicksilver/killerqueen/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## OneLine script for full install 5 | ``` 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/quicksilver/killerqueen/quicksilver > quicksilver.sh && chmod +x quicksilver.sh && ./quicksilver.sh 7 | ``` 8 | To install, you just need to take the script and go through the installation order 9 | ### Please save your mnemonic and backup $HOME/.quicksilverd/config/priv_validator_key.json 10 | #### For example mnemonic phrase: 11 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 12 | ## State-sync 13 | ``` 14 | sudo systemctl stop quicksilverd 15 | quicksilverd tendermint unsafe-reset-all --home $HOME/.quicksilverd 16 | 17 | wget -O $HOME/.quicksilverd/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/quicksilver/killerqueen/addrbook.json" 18 | SNAP_RPC1="http://144.76.224.246:26657" \ 19 | && SNAP_RPC2="http://144.76.224.246:26657" 20 | LATEST_HEIGHT=$(curl -s $SNAP_RPC2/block | jq -r .result.block.header.height) \ 21 | && BLOCK_HEIGHT=$((LATEST_HEIGHT - 500)) \ 22 | && TRUST_HASH=$(curl -s "$SNAP_RPC2/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 23 | 24 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 25 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC1,$SNAP_RPC2\"| ; \ 26 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 27 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" $HOME/.quicksilverd/config/config.toml 28 | sudo systemctl restart quicksilverd && journalctl -u quicksilverd -f -o cat 29 | ``` 30 | ## Add addrbook 31 | ``` 32 | sudo systemctl stop quicksilverd 33 | rm $HOME/.quicksilverd/config/addrbook.json 34 | wget -O $HOME/.quicksilverd/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/quicksilver/killerqueen/addrbook.json" 35 | sudo systemctl restart quicksilverd && journalctl -u quicksilverd -f -o cat 36 | ``` 37 | ## Delete node 38 | ``` 39 | systemctl stop quicksilverd && systemctl disable quicksilverd 40 | rm -rf $HOME/.quicksilverd $HOME/quicksilver /etc/systemd/system/quicksilverd.service 41 | ``` 42 | -------------------------------------------------------------------------------- /quicksilver/quicktest-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/quicksilver/quicktest-1/quicksilver > quicksilver.sh && chmod +x quicksilver.sh && ./quicksilver.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.quicksilverd/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | -------------------------------------------------------------------------------- /quicksilver/quicktest-3/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/quicksilver/quicktest-3/quicksilver > quicksilver.sh && chmod +x quicksilver.sh && ./quicksilver.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.quicksilverd/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | -------------------------------------------------------------------------------- /quicksilver/rhapsody-5/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/quicksilver/rhapsody-5/quicksilver > quicksilver.sh && chmod +x quicksilver.sh && ./quicksilver.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.quicksilverd/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | -------------------------------------------------------------------------------- /rebus/reb_1111-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ## Explorers: 4 | Ping Pub - https://explorer.stake-take.com/rebus-mainnet/staking 5 | ## One line script for full install 6 | ``` 7 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/rebus/reb_1111-1/rebus > rebus.sh && chmod +x rebus.sh && ./rebus.sh 8 | ``` 9 | To install, you just need to take the script and go through the installation order 10 | ### Please save your mnemonic and backup $HOME/.rebusd/config/priv_validator_key.json 11 | #### For example mnemonic phrase: 12 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 13 | ## Start with state sync 14 | ``` 15 | sudo systemctl stop rebusd 16 | rebusd tendermint unsafe-reset-all --home ~/.rebusd 17 | SEEDS=""; \ 18 | PEERS=""; \ 19 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.rebusd/config/config.toml 20 | wget -O $HOME/.rebusd/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/rebus/reb_1111-1/addrbook.json" 21 | SNAP_RPC="https://rebus.rpc.manticore.team:443" 22 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 23 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 24 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 25 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 26 | 27 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 28 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 29 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 30 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 31 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.rebusd/config/config.toml 32 | sudo systemctl restart rebusd && journalctl -u rebusd -f -o cat 33 | ``` 34 | ## Add addrbook 35 | ``` 36 | sudo systemctl stop rebusd 37 | rm $HOME/.rebusd/config/addrbook.json 38 | wget -O $HOME/.rebusd/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/rebus/reb_1111-1/addrbook.json" 39 | sudo systemctl restart rebusd && journalctl -u rebusd -f -o cat 40 | ``` 41 | ## RPC 42 | ``` 43 | https://rebus.rpc.manticore.team 44 | ``` 45 | ## Delete node 46 | ``` 47 | sudo systemctl stop rebusd && sudo systemctl disable rebusd 48 | rm -rf $HOME/rebus.core $HOME/.rebusd /etc/systemd/system/rebusd.service $(which rebusd) 49 | ``` 50 | 51 | -------------------------------------------------------------------------------- /rebus/reb_3333-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ## Explorers: 4 | Ping Pub - https://explorer.stake-take.com/rebus-testnet/staking 5 | ## One line script for full install 6 | ``` 7 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/rebus/reb_3333-1/rebus > rebus.sh && chmod +x rebus.sh && ./rebus.sh 8 | ``` 9 | To install, you just need to take the script and go through the installation order 10 | ### Please save your mnemonic and backup $HOME/.rebusd/config/priv_validator_key.json 11 | #### For example mnemonic phrase: 12 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 13 | ## Snapshot height 240483 0.3gb 14 | ``` 15 | sudo systemctl stop rebusd 16 | rebusd tendermint unsafe-reset-all --home $HOME/.rebusd --keep-addr-book 17 | pruning="custom" 18 | pruning_keep_recent="100" 19 | pruning_keep_every="0" 20 | pruning_interval="10" 21 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.rebusd/config/app.toml 22 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.rebusd/config/app.toml 23 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.rebusd/config/app.toml 24 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.rebusd/config/app.toml 25 | cd 26 | rm -rf ~/.rebusd/data; \ 27 | wget -O - http://snap.stake-take.com:8000/rebus.tar.gz | tar xf - 28 | mv $HOME/root/.rebusd/data $HOME/.rebusd 29 | rm -rf $HOME/root 30 | sudo systemctl restart rebusd && journalctl -u rebusd -f -o cat 31 | ``` 32 | ## Start with state sync 33 | ``` 34 | sudo systemctl stop rebusd 35 | rebusd tendermint unsafe-reset-all --home ~/.rebusd 36 | SEEDS="a6d710cd9baac9e95a55525d548850c91f140cd9@3.211.101.169:26656,c296ee829f137cfe020ff293b6fc7d7c3f5eeead@54.157.52.47:26656"; \ 37 | PEERS=""; \ 38 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.rebusd/config/config.toml 39 | wget -O $HOME/.rebusd/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/rebus/reb_3333-1/addrbook.json" 40 | SNAP_RPC="https://rpc-t.rebus.nodestake.top:443" 41 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 42 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 43 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 44 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 45 | 46 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 47 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 48 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 49 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 50 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.rebusd/config/config.toml 51 | sudo systemctl restart rebusd && journalctl -u rebusd -f -o cat 52 | ``` 53 | ## Add addrbook 54 | ``` 55 | sudo systemctl stop rebusd 56 | rm $HOME/.rebusd/config/addrbook.json 57 | wget -O $HOME/.rebusd/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/rebus/reb_3333-1/addrbook.json" 58 | sudo systemctl restart rebusd && journalctl -u rebusd -f -o cat 59 | ``` 60 | ## RPC 61 | ``` 62 | https://rpc-t.rebus.nodestake.top:443, http://rebus.stake-take.com:46657 63 | ``` 64 | ## Delete node 65 | ``` 66 | sudo systemctl stop rebusd && sudo systemctl disable rebusd 67 | rm -rf $HOME/rebus.core $HOME/.rebusd /etc/systemd/system/rebusd.service $HOME/go/bin/rebusd 68 | ``` 69 | 70 | -------------------------------------------------------------------------------- /sei/atlantic-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers 5 | NodesGuru - https://sei.explorers.guru 6 | ## One line script for full install 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/sei/atlantic-1/sei > sei.sh && chmod +x sei.sh && ./sei.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.sei/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | ## Snapshot height 6211685 3gb 15 | ``` 16 | sudo systemctl stop seid 17 | seid tendermint unsafe-reset-all --home $HOME/.sei --keep-addr-book 18 | pruning="custom" 19 | pruning_keep_recent="100" 20 | pruning_keep_every="0" 21 | pruning_interval="10" 22 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.sei/config/app.toml 23 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.sei/config/app.toml 24 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.sei/config/app.toml 25 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.sei/config/app.toml 26 | cd 27 | rm -rf ~/.sei/data; \ 28 | wget -O - http://snap.stake-take.com:8000/sei.tar.gz | tar xf - 29 | mv $HOME/root/.sei/data $HOME/.sei 30 | rm -rf $HOME/root 31 | sudo systemctl restart seid && journalctl -u seid -f -o cat 32 | ``` 33 | ## Start with state sync 34 | ``` 35 | sudo systemctl stop seid 36 | seid tendermint unsafe-reset-all --home $HOME/.sei 37 | wget -O $HOME/.sei/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/sei/atlantic-1/addrbook.json" 38 | SEEDS="df1f6617ff5acdc85d9daa890300a57a9d956e5e@sei-atlantic-1.seed.rhinostake.com:16660" 39 | PEERS="e3b5da4caea7370cd85d7738eedaec8f56c5be28@144.76.224.246:36656,a37d65086e78865929ccb7388146fb93664223f7@18.144.13.149:26656,8ff4bd654d7b892f33af5a30ada7d8239d6f467b@91.223.3.190:51656,c4e8c9b1005fe6459a922f232dd9988f93c71222@65.108.227.133:26656"; \ 40 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.sei/config/config.toml 41 | SNAP_RPC="http://sei.stake-take.com:20657" 42 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 43 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \ 44 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 45 | 46 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 47 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 48 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 49 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 50 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.sei/config/config.toml 51 | sudo systemctl restart seid && journalctl -u seid -f -o cat 52 | ``` 53 | ## Add addrbook 54 | ``` 55 | sudo systemctl stop seid 56 | rm $HOME/.sei/config/addrbook.json 57 | wget -O $HOME/.sei/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/sei/atlantic-1/addrbook.json" 58 | sudo systemctl restart seid && journalctl -u seid -f -o cat 59 | ``` 60 | ## RPC 61 | ``` 62 | http://sei.stake-take.com:20657 63 | ``` 64 | ## Delete node 65 | ``` 66 | sudo systemctl stop seid && sudo systemctl disable seid 67 | rm -rf $HOME/sei-chain $HOME/.sei /etc/systemd/system/seid.service $(which seid) 68 | ``` 69 | -------------------------------------------------------------------------------- /sei/atlantic-sub-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers 5 | PingPub - 6 | ## One line script for full install 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/sei/atlantic-sub-1/sei > sei.sh && chmod +x sei.sh && ./sei.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.sei/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | ## Start with state sync 15 | ``` 16 | sudo systemctl stop seid 17 | seid tendermint unsafe-reset-all --home $HOME/.sei 18 | wget -O $HOME/.sei/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/sei/atlantic-sub-1/addrbook.json" 19 | SEEDS="" 20 | PEERS="38b4d78c7d6582fb170f6c19330a7e37e6964212@65.109.49.111:46656,dd8b73cad778d622c255e6dcebf42262985bae1d@65.21.151.93:36656,e14cb72edc5bf06a55efa7ad1f5b3a5b9a8b167d@65.108.140.222:12656,4b8d694de8ae2348f6aea37a835ee9cd9bbfaed1@144.76.224.246:20656"; \ 21 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.sei/config/config.toml 22 | SNAP_RPC="http://sei.stake-take.com:20657" 23 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 24 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \ 25 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 26 | 27 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 28 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 29 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 30 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 31 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.sei/config/config.toml 32 | sudo systemctl restart seid && journalctl -u seid -f -o cat 33 | ``` 34 | ## Add addrbook 35 | ``` 36 | sudo systemctl stop seid 37 | rm $HOME/.sei/config/addrbook.json 38 | wget -O $HOME/.sei/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/sei/atlantic-sub-1/addrbook.json" 39 | sudo systemctl restart seid && journalctl -u seid -f -o cat 40 | ``` 41 | ## RPC 42 | ``` 43 | http://sei.stake-take.com:20657 44 | ``` 45 | ## Delete node 46 | ``` 47 | sudo systemctl stop seid && sudo systemctl disable seid 48 | rm -rf $HOME/sei-chain $HOME/.sei /etc/systemd/system/seid.service $(which seid) 49 | ``` 50 | -------------------------------------------------------------------------------- /sei/atlantic-sub-1/addrbook.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "92390df0d03a9f9e9cb51796", 3 | "addrs": [ 4 | { 5 | "addr": { 6 | "id": "4b8d694de8ae2348f6aea37a835ee9cd9bbfaed1", 7 | "ip": "144.76.224.246", 8 | "port": 20656 9 | }, 10 | "src": { 11 | "id": "863f753c007c11936837993675c5b69263b957c8", 12 | "ip": "0.0.0.0", 13 | "port": 26656 14 | }, 15 | "buckets": [ 16 | 188 17 | ], 18 | "attempts": 0, 19 | "bucket_type": 1, 20 | "last_attempt": "2022-08-30T18:27:01.187853605Z", 21 | "last_success": "0001-01-01T00:00:00Z", 22 | "last_ban_time": "0001-01-01T00:00:00Z" 23 | }, 24 | { 25 | "addr": { 26 | "id": "38b4d78c7d6582fb170f6c19330a7e37e6964212", 27 | "ip": "65.109.49.111", 28 | "port": 46656 29 | }, 30 | "src": { 31 | "id": "863f753c007c11936837993675c5b69263b957c8", 32 | "ip": "0.0.0.0", 33 | "port": 26656 34 | }, 35 | "buckets": [ 36 | 151 37 | ], 38 | "attempts": 0, 39 | "bucket_type": 1, 40 | "last_attempt": "2022-08-30T18:27:01.187834469Z", 41 | "last_success": "0001-01-01T00:00:00Z", 42 | "last_ban_time": "0001-01-01T00:00:00Z" 43 | }, 44 | { 45 | "addr": { 46 | "id": "dd8b73cad778d622c255e6dcebf42262985bae1d", 47 | "ip": "65.21.151.93", 48 | "port": 36656 49 | }, 50 | "src": { 51 | "id": "863f753c007c11936837993675c5b69263b957c8", 52 | "ip": "0.0.0.0", 53 | "port": 26656 54 | }, 55 | "buckets": [ 56 | 209, 57 | 117 58 | ], 59 | "attempts": 0, 60 | "bucket_type": 1, 61 | "last_attempt": "2022-08-30T18:27:01.187844217Z", 62 | "last_success": "0001-01-01T00:00:00Z", 63 | "last_ban_time": "0001-01-01T00:00:00Z" 64 | }, 65 | { 66 | "addr": { 67 | "id": "e14cb72edc5bf06a55efa7ad1f5b3a5b9a8b167d", 68 | "ip": "65.108.140.222", 69 | "port": 12656 70 | }, 71 | "src": { 72 | "id": "863f753c007c11936837993675c5b69263b957c8", 73 | "ip": "0.0.0.0", 74 | "port": 26656 75 | }, 76 | "buckets": [ 77 | 18 78 | ], 79 | "attempts": 0, 80 | "bucket_type": 1, 81 | "last_attempt": "2022-08-30T18:27:01.187849948Z", 82 | "last_success": "0001-01-01T00:00:00Z", 83 | "last_ban_time": "0001-01-01T00:00:00Z" 84 | } 85 | ] 86 | } -------------------------------------------------------------------------------- /sei/atlantic-sub-1/stepbystep/README.md: -------------------------------------------------------------------------------- 1 | # Step by step guide for Sei node atlantic-sub-1 chain 2 | 3 | ### Delete ur previous Sei node, if u use same server 4 | ``` 5 | cd $HOME 6 | sudo systemctl stop seid && sudo systemctl disable seid 7 | rm -rf $HOME/sei-chain $HOME/.sei $(which seid) 8 | ``` 9 | ### Install node 10 | #### Update APT 11 | ``` 12 | sudo apt update && sudo apt upgrade -y 13 | sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y 14 | ``` 15 | #### Install GO 16 | ``` 17 | rm -r /usr/local/go 18 | rm -r /usr/lib/go-1.13 19 | wget https://golang.org/dl/go1.18.3.linux-amd64.tar.gz; \ 20 | rm -rv /usr/local/go; \ 21 | tar -C /usr/local -xzf go1.18.3.linux-amd64.tar.gz && \ 22 | rm -v go1.18.3.linux-amd64.tar.gz && \ 23 | echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile && \ 24 | source ~/.bash_profile && \ 25 | go version 26 | ``` 27 | #### Build binary 28 | ``` 29 | cd $HOME 30 | git clone https://github.com/sei-protocol/sei-chain 31 | cd $HOME/sei-chain 32 | git checkout master && git pull 33 | git checkout 1.2.0beta 34 | make install 35 | mv $HOME/go/bin/seid /usr/bin/ 36 | ``` 37 | #### Add variables (change "YOURNODENAME" and "YOURWALLETNAME" without "<>") 38 | ``` 39 | NODENAME= 40 | WALLETNAME= 41 | echo export NODENAME=${NODENAME} >> $HOME/.bash_profile 42 | echo export WALLETNAME=${WALLETNAME} >> $HOME/.bash_profile 43 | echo export CHAIN_ID=atlantic-sub-1 >> $HOME/.bash_profile 44 | source ~/.bash_profile 45 | ``` 46 | #### make init 47 | ``` 48 | seid init $NODENAME --chain-id $CHAIN_ID 49 | ``` 50 | #### Add chain-id in config 51 | ``` 52 | seid config chain-id $CHAIN_ID 53 | ``` 54 | #### Create wallet 55 | ``` 56 | seid keys add $WALLETNAME 57 | ``` 58 | or restore previous wallet 59 | ``` 60 | seid keys add $WALLETNAME --recover 61 | ``` 62 | ### Download genesis 63 | ``` 64 | seid tendermint unsafe-reset-all --home $HOME/.sei 65 | rm $HOME/.sei/config/genesis.json 66 | wget -O $HOME/.sei/config/genesis.json "https://raw.githubusercontent.com/sei-protocol/testnet/main/atlantic-subchains/atlantic-sub-1/genesis.json" 67 | ``` 68 | ### Turn on pruning and turn off indexing 69 | ``` 70 | indexer="null" 71 | pruning="custom" 72 | pruning_keep_recent="100" 73 | pruning_keep_every="0" 74 | pruning_interval="10" 75 | 76 | sed -i -e "s/^indexer *=.*/indexer = \"$indexer\"/" $HOME/.sei/config/config.toml 77 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.sei/config/app.toml 78 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.sei/config/app.toml 79 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.sei/config/app.toml 80 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.sei/config/app.toml 81 | ``` 82 | Add peers and seeds 83 | ``` 84 | SEEDS="" 85 | PEERS="38b4d78c7d6582fb170f6c19330a7e37e6964212@65.109.49.111:46656,dd8b73cad778d622c255e6dcebf42262985bae1d@65.21.151.93:36656,e14cb72edc5bf06a55efa7ad1f5b3a5b9a8b167d@65.108.140.222:12656,4b8d694de8ae2348f6aea37a835ee9cd9bbfaed1@144.76.224.246:20656"; \ 86 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.sei/config/config.toml 87 | ``` 88 | ### Create service 89 | ``` 90 | tee /etc/systemd/system/seid.service > /dev/null < sei.sh && chmod +x sei.sh && ./sei.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.sei/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | ## Start with state sync 15 | ``` 16 | sudo systemctl stop seid 17 | seid tendermint unsafe-reset-all --home $HOME/.sei 18 | SEEDS="" 19 | PEERS="f48eedfb31854a822129b7f857b43969f2526bad@185.144.99.19:26656,2f1e8842dec0a60c79d8fedfe420697661c837c8@195.3.221.191:26656,f61d6ace9a30d371fa2d1b8e04ec11b66c967a63@167.235.6.228:26656,070650355f3e51d5f1f514759ec7602b993588f1@185.248.24.16:26656,e528e2d19e1b611894745fc1a5d3e7802e606f31@95.214.52.173:26656,dd23e8a8f019ff8030a1238f7cbf99601293050e@213.239.218.199:26656,34c734f3908654b53045f06c5fd262efaa6c0766@65.109.27.156:26656,72e5106ce49cb794f8af7196a14916bc06a36465@5.161.75.216:26656,7900d390baf8e6d5ce69225917e8fd64927e94f2@154.12.240.133:26656,8acf073665a756fca2df91b647a280ef0d05dc8a@85.114.134.203:26656,263803aef62e933f568ced5df5ca2e24d0f9d329@95.216.40.123:26656,5cb50c4b80dff5a92d232057d07f97ab82895cea@65.108.246.4:26656,0174c55cc5fb6c7ad0c39e709710adfb1ee6bae8@49.12.15.138:26656,26ff7747fd64c703bd241bdad3cf75bbda5ae72b@85.10.199.157:26656,390be417d37cb2ac0ee72a7c40f2ead6aa98e62b@65.108.60.151:26656,5d0cee85dcac7364fb8861201eec3a767873bdf3@172.31.16.93:26656,62ec353a7c234ef436518a7d07eed422064c01c9@172.31.16.93:26656,2743782c2bdc22e51250c5edc21048d1e3a7bf01@172.20.0.75:26656,2743782c2bdc22e51250c5edc21048d1e3a7bf01@172.20.0.75:26656,a5b5ee5888f4a8b66a29184611dd19e4c8ce1c28@5.9.71.9:26656,aaa1da62895d2a8daaf09b235ca82a55c8d9efd7@173.212.203.238:26656,ab082b683c6ecfb1148cb87e0153b036b1ea2283@65.108.199.62:26656,169685c8550d1663ac44a77d8bb03ba681a9582d@45.84.138.127:26656,b2a4e16ef6ec4e2e42ec7c22e530840c16351bfa@135.181.222.185:26656,89ba32810d917a9db78808df338b60abcb7ae3e2@45.94.209.32:26656,e84bbca3bd80c9effba4451dd797a0edb61cb5d2@135.181.143.26:26656,531980d9574d1c619aad8ba9f42703c2c817d9f8@38.242.255.82:26656"; \ 20 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.sei/config/config.toml 21 | SNAP_RPC="http://185.144.99.19:26657" 22 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 23 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \ 24 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 25 | 26 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 27 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 28 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 29 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 30 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.sei/config/config.toml 31 | sudo systemctl restart seid && journalctl -u seid -f -o cat 32 | ``` 33 | ## RPC 34 | ``` 35 | http://185.144.99.19:26657 36 | ``` 37 | ## Delete node 38 | ``` 39 | sudo systemctl stop seid && sudo systemctl disable seid 40 | rm -rf $HOME/sei-chain $HOME/.sei /etc/systemd/system/seid.service $(which seid) 41 | ``` 42 | -------------------------------------------------------------------------------- /sei/sei-devnet-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/sei/sei-devnet-1/sei > sei.sh && chmod +x sei.sh && ./sei.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.sei/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | 13 | #START WITH STATE-SYNC 14 | ``` 15 | sudo systemctl stop seid 16 | seid tendermint unsafe-reset-all --home $HOME/.sei 17 | wget -O $HOME/.sei/config/addrbook.json "https://raw.githubusercontent.com/sei-protocol/testnet/main/sei-devnet-1/addrbook.json" 18 | SNAP_RPC="http://116.203.35.46:36657" 19 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 20 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \ 21 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 22 | 23 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 24 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 25 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 26 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 27 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.sei/config/config.toml 28 | sudo systemctl restart seid && journalctl -u seid -f -o cat 29 | -------------------------------------------------------------------------------- /sei/sei-testnet-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/sei/sei-testnet-1/sei > sei.sh && chmod +x sei.sh && ./sei.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.sei/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | -------------------------------------------------------------------------------- /sei/sei-testnet-2/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/sei/sei-testnet-2/sei > sei.sh && chmod +x sei.sh && ./sei.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.sei/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | -------------------------------------------------------------------------------- /source/sourcechain-testnet/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ## Explorers: 4 | Ping Pub - https://explorer.stake-take.com/source/staking 5 | ## One line script for full install 6 | ``` 7 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/source/sourcechain-testnet/source > source.sh && chmod +x source.sh && ./source.sh 8 | ``` 9 | ## Install node with cosmovisor 10 | ``` 11 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/source/sourcechain-testnet/sourcecosmo > sourcecosmo.sh && chmod +x sourcecosmo.sh && ./sourcecosmo.sh 12 | ``` 13 | To install, you just need to take the script and go through the installation order 14 | ### Please save your mnemonic and backup $HOME/.source/config/priv_validator_key.json 15 | #### For example mnemonic phrase: 16 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 17 | ## Snapshot height 2124972 15gb 18 | ``` 19 | sudo systemctl stop sourced 20 | sourced unsafe-reset-all 21 | pruning="custom" 22 | pruning_keep_recent="100" 23 | pruning_keep_every="0" 24 | pruning_interval="10" 25 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.source/config/app.toml 26 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.source/config/app.toml 27 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.source/config/app.toml 28 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.source/config/app.toml 29 | wget -O $HOME/.source/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/source/sourcechain-testnet/addrbook.json" 30 | cd 31 | rm -rf ~/.source/data; \ 32 | wget -O - http://snap.stake-take.com:8000/source.tar.gz | tar xf - 33 | mv $HOME/root/.source/data $HOME/.source 34 | rm -rf $HOME/root 35 | sudo systemctl restart sourced && journalctl -u sourced -f -o cat 36 | ``` 37 | ## Start with state sync 38 | ``` 39 | sudo systemctl stop sourced 40 | sourced unsafe-reset-all --home $HOME/.source 41 | SEEDS=""; \ 42 | PEERS="9d16b552697cdce3c8b4f23de53708533d99bc59@165.232.144.133:26656,d565dd0cb92fa4b830662eb8babe1dcdc340c321@44.234.26.62:26656,2dbc3e6d52e5eb9357aec5cf493718f6078ffaad@144.76.224.246:36656"; \ 43 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.source/config/config.toml 44 | wget -O $HOME/.source/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/source/sourcechain-testnet/addrbook.json" 45 | SNAP_RPC="https://testnet.sourceprotocol.io:26657" 46 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 47 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 48 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 49 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 50 | 51 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 52 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 53 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 54 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 55 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.source/config/config.toml 56 | sudo systemctl restart sourced && journalctl -u sourced -f -o cat 57 | ``` 58 | ## Add addrbook 59 | ``` 60 | sudo systemctl stop sourced 61 | rm $HOME/.source/config/addrbook.json 62 | wget -O $HOME/.source/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/source/sourcechain-testnet/addrbook.json" 63 | sudo systemctl restart sourced && journalctl -u sourced -f -o cat 64 | ``` 65 | ## RPC 66 | ``` 67 | https://testnet.sourceprotocol.io:26657 68 | ``` 69 | ## Delete node 70 | ``` 71 | sudo systemctl stop sourced && sudo systemctl disable sourced 72 | rm -rf $HOME/source $HOME/.source /etc/systemd/system/sourced.service $HOME/go/bin/sourced 73 | ``` 74 | 75 | -------------------------------------------------------------------------------- /stafihub/stafihub-public-testnet-2/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stafihub/stafihub-public-testnet-2/stafihub > stafihub.sh && chmod +x stafihub.sh && ./stafihub.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.stafihub/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | -------------------------------------------------------------------------------- /stafihub/stafihub-public-testnet-2/autodelegator/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ___In this guide, we have written how to set up an autodelegator for your validator node of Stafihub___ 4 | 5 | ```html 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stafihub/stafihub-public-testnet-2/autodelegator/autodelegator > autodelegator.sh && chmod +x autodelegator.sh && ./autodelegator.sh 7 | ``` 8 | 9 | We need to do is set the variables correctly 10 | 11 | 1. The name of the wallet that you wrote when installing the node 12 | 2. The password is set according to your password from the created wallet 13 | 3. The validator address and the delegator address will be set automatically, the only thing you need to do is enter the wallet password when setting the variable 14 | 15 | **After you have set the variables, go to the launch of the redelegator** 16 | 17 | The script will automatically open the screen window, where all you have to do is run the redelegator with the command 18 | ```html 19 | cd $HOME/autodelegate && ./start.sh 20 | ``` 21 | and exit the window by pressing 22 | 23 | __ctrl + a + d__ 24 | 25 | in order to go back to the window 26 | 27 | __screen-r__ 28 | -------------------------------------------------------------------------------- /stafihub/stafihub-public-testnet-2/autodelegator/autodelegator: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while true 4 | do 5 | 6 | # Logo 7 | 8 | echo "============================================================" 9 | curl -s https://raw.githubusercontent.com/StakeTake/script/main/logo.sh | bash 10 | echo "============================================================" 11 | 12 | 13 | PS3='Select an action: ' 14 | options=( 15 | "Setup parametrs for autodelegator" 16 | "Start autodelegator" 17 | "Exit") 18 | select opt in "${options[@]}" 19 | do 20 | case $opt in 21 | 22 | "Setup parametrs for autodelegator") 23 | echo "============================================================" 24 | echo export PROJECT=stafihubd >> $HOME/.bash_profile 25 | echo "============================================================" 26 | echo "Setup your wallet name" 27 | echo "============================================================" 28 | read WALLETNAME 29 | echo export WALLETNAME=${WALLETNAME} >> $HOME/.bash_profile 30 | echo "============================================================" 31 | echo "Setup your password of wallet" 32 | echo "============================================================" 33 | read PWDDD 34 | echo export PWDDD=${PWDDD} >> $HOME/.bash_profile 35 | source $HOME/.bash_profile 36 | echo "============================================================" 37 | echo "Enter the password of wallet for set the validator address" 38 | echo "============================================================" 39 | VAL_ADDR=$($PROJECT keys show $WALLETNAME --bech val -a) 40 | echo export VAL_ADDR=${VAL_ADDR} >> $HOME/.bash_profile 41 | echo "============================================================" 42 | echo "Enter the password of wallet for set the delegator address" 43 | echo "============================================================" 44 | DEL_ADDR=$($PROJECT keys show $WALLETNAME --bech acc -a) 45 | echo export DEL_ADDR=${DEL_ADDR} >> $HOME/.bash_profile 46 | echo export DENOM=ufis >> $HOME/.bash_profile 47 | echo export FEES=5000 >> $HOME/.bash_profile 48 | echo export CHAIN_ID=stafihub-public-testnet-2 >> $HOME/.bash_profile 49 | source $HOME/.bash_profile 50 | 51 | 52 | mkdir $HOME/autodelegate 53 | wget -O $HOME/autodelegate/start.sh https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stafihub/stafihub-public-testnet-2/autodelegator/start.sh 54 | chmod +x $HOME/autodelegate/start.sh 55 | break 56 | ;; 57 | 58 | "Start autodelegator") 59 | echo "============================================================" 60 | echo "Bot strating" 61 | echo "============================================================" 62 | apt install screen 63 | screen -S AutoDelegate 64 | 65 | break 66 | ;; 67 | 68 | "Exit") 69 | exit 70 | ;; 71 | 72 | *) echo "invalid option $REPLY";; 73 | esac 74 | done 75 | done 76 | -------------------------------------------------------------------------------- /stafihub/stafihub-public-testnet-2/autodelegator/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | source $HOME/.bash_profile 4 | GREEN_COLOR='\033[0;32m' 5 | RED_COLOR='\033[0;31m' 6 | WITHOU_COLOR='\033[0m' 7 | DELAY=9000 #in secs - how often restart the script 8 | 9 | 10 | for (( ;; )); do 11 | echo -e "Get reward from Delegation" 12 | echo -e "${PWDDD}\ny\n" | $PROJECT tx distribution withdraw-rewards ${VAL_ADDR} --chain-id ${CHAIN_ID} --from ${WALLETNAME} --commission --fees ${FEES}${DENOM} -y 13 | for (( timer=30; timer>0; timer-- )) 14 | do 15 | printf "* sleep for ${RED_COLOR}%02d${WITHOUT_COLOR} sec\r" $timer 16 | sleep 1 17 | done 18 | BAL=$($PROJECT q bank balances ${DEL_ADDR} -o json | jq -r '.balances | .[].amount') 19 | echo -e "BALANCE: ${GREEN_COLOR}${BAL}${WITHOU_COLOR} $DENOM\n" 20 | echo -e "Claim rewards\n" 21 | echo -e "${PWDDD}\n${PWDDD}\n" | $PROJECT tx distribution withdraw-all-rewards --from ${DEL_ADDR} --chain-id ${CHAIN_ID} --fees ${FEES}${DENOM} -y 22 | for (( timer=30; timer>0; timer-- )) 23 | do 24 | printf "* sleep for ${RED_COLOR}%02d${WITHOU_COLOR} sec\r" $timer 25 | sleep 1 26 | done 27 | BAL=$($PROJECT q bank balances ${DEL_ADDR} -o json | jq -r '.balances | .[].amount') 28 | BAL=$(($BAL- 200000)) 29 | echo -e "BALANCE: ${GREEN_COLOR}${BAL}${WITHOU_COLOR} ${DENOM}\n" 30 | echo -e "Stake ALL\n" 31 | if (( BAL > 0 )); then 32 | echo -e "${PWDDD}\n${PWDDD}\n" | $PROJECT tx staking delegate ${VAL_ADDR} ${BAL}${DENOM} --from ${DEL_ADDR} --chain-id ${CHAIN_ID} --fees ${FEES}${DENOM} -y 33 | else 34 | echo -e "BALANCE: ${GREEN_COLOR}${BAL}${WITHOU_COLOR} $DENOM BAL < 0 ((((\n" 35 | fi 36 | for (( timer=${DELAY}; timer>0; timer-- )) 37 | do 38 | printf "* sleep for ${RED_COLOR}%02d${WITHOU_COLOR} sec\r" $timer 39 | sleep 1 40 | done 41 | done 42 | -------------------------------------------------------------------------------- /stafihub/stafihub-public-testnet-2/telegram_bot/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ___In this guide, we wrote how to set up a bot to track the state of the stafihub node___ 4 | 5 | To install, follow a few simple steps: 6 | 7 | 1. Create a bot, get an api token (To get a token, you can use FatherBot in telegram) and a telegram chat id, you can read how to do it at the link - [(ENG)](https://sean-bradley.medium.com/get-telegram-chat-id-80b575520659 "") [(RU)](https://nastroyvse.ru/programs/review/telegram-id-kak-uznat-zachem-nuzhno.html "") 8 | 2. Run the script, select the installation stage, which will ask you to enter API_token and telegram chat id. 9 | ```html 10 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stafihub/stafihub-public-testnet-2/telegram_bot/start.sh > start.sh && chmod +x start.sh && ./start.sh 11 | ``` 12 | 3. Select the "Start bot" item and enter the following data in the line that appears, you also need to leave the next line empty 13 | ```html 14 | */1 * * * * /bin/bash $HOME/alerts/alerts.sh 15 | ``` 16 | ![](https://ltdfoto.ru/images/2022/04/07/image_2022-04-07_13-35-26.png) 17 | -------------------------------------------------------------------------------- /stafihub/stafihub-public-testnet-2/telegram_bot/alerts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # File name for saving parameters, e.g. "cosmos.log" 4 | LOG_FILE="/root/alerts/nodealerts.log" 5 | # Your node RPC address, e.g. "http://127.0.0.1:26657" 6 | NODE_RPC="http://127.0.0.1:26657" 7 | # Trusted node RPC address, e.g. "https://rpc.cosmos.network:26657" 8 | SIDE_RPC="http://localhost:26657" 9 | ip=$(wget -qO- eth0.me) 10 | 11 | touch $LOG_FILE 12 | REAL_BLOCK=$(curl -s "$SIDE_RPC/status" | jq '.result.sync_info.latest_block_height' | xargs ) 13 | STATUS=$(curl -s "$NODE_RPC/status") 14 | CATCHING_UP=$(echo $STATUS | jq '.result.sync_info.catching_up') 15 | LATEST_BLOCK=$(echo $STATUS | jq '.result.sync_info.latest_block_height' | xargs ) 16 | VOTING_POWER=$(echo $STATUS | jq '.result.validator_info.voting_power' | xargs ) 17 | ADDRESS=$(echo $STATUS | jq '.result.validator_info.address' | xargs ) 18 | source $LOG_FILE 19 | #REAL_BLOCK=350000 20 | #VOTING_POWER=150 21 | 22 | echo 'LAST_BLOCK="'"$LATEST_BLOCK"'"' > $LOG_FILE 23 | echo 'LAST_POWER="'"$VOTING_POWER"'"' >> $LOG_FILE 24 | 25 | source $HOME/.bash_profile 26 | curl -s "$NODE_RPC/status"> /dev/null 27 | if [[ $? -ne 0 ]]; then 28 | MSG="$ip node is stopped!!! ( узел остановлен )" 29 | MSG="Stafihub $MSG" 30 | SEND=$(curl -s -X POST -H "Content-Type:multipart/form-data" "https://api.telegram.org/bot$TG_API/sendMessage?chat_id=$TG_ID&text=$MSG"); exit 1 31 | fi 32 | 33 | 34 | if [[ $LAST_POWER -ne $VOTING_POWER ]]; then 35 | DIFF=$(($VOTING_POWER - $LAST_POWER)) 36 | if [[ $DIFF -gt 0 ]]; then 37 | DIFF="%2B$DIFF" 38 | fi 39 | MSG="$ip voting power changed ( размер стейка валидатора изменился ) $DIFF%0A($LAST_POWER -> $VOTING_POWER)" 40 | fi 41 | 42 | if [[ $LAST_BLOCK -ge $LATEST_BLOCK ]]; then 43 | 44 | MSG="$ip node is probably stuck at block (узел застрял в блоке номер>> ) $LATEST_BLOCK" 45 | fi 46 | 47 | if [[ $VOTING_POWER -lt 1 ]]; then 48 | MSG="$ip validator inactive\jailed ( валидатор не активен\в тюрьме ). Voting power $VOTING_POWER" 49 | fi 50 | 51 | if [[ $CATCHING_UP = "true" ]]; then 52 | MSG="$ip node is unsync, catching up ( узел находится в процессе синхронизации ). $LATEST_BLOCK -> $REAL_BLOCK" 53 | fi 54 | 55 | if [[ $REAL_BLOCK -eq 0 ]]; then 56 | MSG="$ip can't connect to ( пропало соединения с рпц нодой ) $SIDE_RPC" 57 | fi 58 | 59 | if [[ $MSG != "" ]]; then 60 | MSG="Stafihub $MSG" 61 | SEND=$(curl -s -X POST -H "Content-Type:multipart/form-data" "https://api.telegram.org/bot$TG_API/sendMessage?chat_id=$TG_ID&text=$MSG") 62 | fi 63 | -------------------------------------------------------------------------------- /stafihub/stafihub-public-testnet-2/telegram_bot/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while true 4 | do 5 | 6 | # Logo 7 | 8 | echo "============================================================" 9 | curl -s https://raw.githubusercontent.com/StakeTake/script/main/logo.sh | bash 10 | echo "============================================================" 11 | 12 | 13 | PS3='Select an action: ' 14 | options=( 15 | "Setup parametrs for bot" 16 | "Start bot" 17 | "Exit") 18 | select opt in "${options[@]}" 19 | do 20 | case $opt in 21 | 22 | "Setup parametrs for bot") 23 | echo "============================================================" 24 | echo "Setup your Telegramm API" 25 | echo "============================================================" 26 | read TG_API 27 | echo export TG_API=${TG_API} >> $HOME/.bash_profile 28 | echo "============================================================" 29 | echo "Setup your Chat ID" 30 | echo "============================================================" 31 | read TG_ID 32 | echo export TG_ID=${TG_ID} >> $HOME/.bash_profile 33 | source $HOME/.bash_profile 34 | 35 | mkdir $HOME/alerts 36 | wget -O $HOME/alerts/alerts.sh https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stafihub/stafihub-public-testnet-2/telegram_bot/alerts.sh 37 | chmod +x $HOME/alerts/alerts.sh 38 | break 39 | ;; 40 | 41 | "Start bot") 42 | echo "============================================================" 43 | echo "Bot strating" 44 | echo "============================================================" 45 | 46 | crontab -e 47 | 48 | break 49 | ;; 50 | 51 | "Exit") 52 | exit 53 | ;; 54 | 55 | *) echo "invalid option $REPLY";; 56 | esac 57 | done 58 | done 59 | -------------------------------------------------------------------------------- /stafihub/stafihub-public-testnet-3/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## One line script for full install 5 | ``` 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stafihub/stafihub-public-testnet-3/stafihub > stafihub.sh && chmod +x stafihub.sh && ./stafihub.sh 7 | ``` 8 | To install, you just need to take the script and go through the installation order 9 | ### Please save your mnemonic and backup $HOME/.stafihub/config/priv_validator_key.json 10 | #### For example mnemonic phrase: 11 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 12 | 13 | 14 | ## RPC 15 | ``` 16 | http://stafi.stake-take.com:36657 17 | ``` 18 | 19 | ## Start via state-sync 20 | ``` 21 | sudo systemctl stop stafihubd 22 | stafihubd tendermint unsafe-reset-all --home $HOME/.stafihub 23 | wget -O $HOME/.stafihub/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stafihub/stafihub-public-testnet-3/addrbook.json" 24 | 25 | SNAP_RPC="http://stafi.stake-take.com:36657" 26 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 27 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \ 28 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 29 | 30 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 31 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 32 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 33 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 34 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.stafihub/config/config.toml 35 | sudo systemctl restart stafihubd && journalctl -u stafihubd -f -o cat 36 | ``` 37 | ## Delete node 38 | ``` 39 | sudo systemctl stop stafihubd && sudo systemctl disable stafihubd 40 | rm -rf $HOME/stafihub $HOME/.stafihub /etc/systemd/system/stafihubd.service $HOME/go/bin/stafihubd 41 | ``` 42 | -------------------------------------------------------------------------------- /stafihub/stafihub-testnet-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ## Explorers 4 | Ping Pub - https://explorer.stake-take.com/stafihub/staking 5 | ## One line script for full install 6 | ``` 7 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stafihub/stafihub-testnet-1/stafihub > stafihub.sh && chmod +x stafihub.sh && ./stafihub.sh 8 | ``` 9 | To install, you just need to take the script and go through the installation order 10 | ### Please save your mnemonic and backup $HOME/.stafihub/config/priv_validator_key.json 11 | #### For example mnemonic phrase: 12 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 13 | ## Snapshot 265013 height 0.15gb 14 | ``` 15 | sudo systemctl stop stafihubd 16 | stafihubd tendermint unsafe-reset-all --home $HOME/.stafihub --keep-addr-book 17 | pruning="custom" 18 | pruning_keep_recent="100" 19 | pruning_keep_every="0" 20 | pruning_interval="10" 21 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.stafihub/config/app.toml 22 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.stafihub/config/app.toml 23 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.stafihub/config/app.toml 24 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.stafihub/config/app.toml 25 | cd 26 | rm -rf ~/.stafihub/data; \ 27 | wget -O - http://snap.stake-take.com:8000/stafi.tar.gz | tar xf - 28 | mv $HOME/root/.stafihub/data $HOME/.stafihub 29 | rm -rf $HOME/root 30 | sudo systemctl restart stafihubd && journalctl -u stafihubd -f -o cat 31 | ``` 32 | ## Start via state-sync 33 | ``` 34 | sudo systemctl stop stafihubd 35 | stafihubd tendermint unsafe-reset-all --home $HOME/.stafihub 36 | wget -O $HOME/.stafihub/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stafihub/stafihub-testnet-1/addrbook.json" 37 | SNAP_RPC="http://stafi.stake-take.com:16657" 38 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 39 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \ 40 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 41 | 42 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 43 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 44 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 45 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 46 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.stafihub/config/config.toml 47 | sudo systemctl restart stafihubd && journalctl -u stafihubd -f -o cat 48 | ``` 49 | ## Fresh addrbook 50 | ``` 51 | sudo systemctl stop stafihubd 52 | rm $HOME/.stafihub/config/addrbook.json 53 | wget -O $HOME/.stafihub/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stafihub/stafihub-testnet-1/addrbook.json" 54 | sudo systemctl restart stafihubd && journalctl -u stafihubd -f -o cat 55 | ``` 56 | ## RPC 57 | ``` 58 | http://stafi.stake-take.com:16657 59 | ``` 60 | ## Delete node 61 | ``` 62 | sudo systemctl stop stafihubd && sudo systemctl disable stafihubd 63 | rm -rf $HOME/stafihub $HOME/.stafihub /etc/systemd/system/stafihubd.service $HOME/go/bin/stafihubd 64 | ``` 65 | -------------------------------------------------------------------------------- /stride/GAIA/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ## Explorers: 4 | Ping Pub - https://poolparty.stride.zone/GAIA 5 | ## One line script for full install 6 | ``` 7 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stride/GAIA/gaia > gaia.sh && chmod +x gaia.sh && ./gaia.sh 8 | ``` 9 | To install, you just need to take the script and go through the installation order 10 | ### Please save your mnemonic and backup $HOME/.gaia/config/priv_validator_key.json 11 | #### For example mnemonic phrase: 12 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 13 | ## Start with state sync 14 | ``` 15 | sudo systemctl stop gaiad 16 | gaiad tendermint unsafe-reset-all --home $HOME/.gaia 17 | SEEDS=""; \ 18 | PEERS="5b1bd3fb081c79b7bdc5c1fd0a3d90928437266a@78.107.234.44:36656"; \ 19 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.gaia/config/config.toml 20 | wget -O $HOME/.gaia/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stride/GAIA/addrbook.json" 21 | SNAP_RPC="http://stride.stake-take.com:46657" 22 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 23 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 24 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 25 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 26 | 27 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 28 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 29 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 30 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 31 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.gaia/config/config.toml 32 | sudo systemctl restart gaiad && journalctl -u gaiad -f -o cat 33 | ``` 34 | ## Add addrbook 35 | ``` 36 | sudo systemctl stop gaiad 37 | rm $HOME/.gaia/config/addrbook.json 38 | wget -O $HOME/.gaia/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stride/GAIA/addrbook.json" 39 | sudo systemctl restart gaiad && journalctl -u gaiad -f -o cat 40 | ``` 41 | ## RPC 42 | ``` 43 | https://gaia-fleet.poolparty.stridenet.co:443, http://stride.stake-take.com:46657 44 | ``` 45 | ## Delete node 46 | ``` 47 | sudo systemctl stop gaiad && sudo systemctl disable gaiad 48 | rm -rf $HOME/gaia $HOME/.gaia /etc/systemd/system/gaiad.service $(which gaiad) 49 | ``` 50 | 51 | -------------------------------------------------------------------------------- /stride/STRIDE-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers: 5 | PingPub - https://explorer.stake-take.com/stride-1/staking 6 | 7 | MintScan - https://www.mintscan.io/stride 8 | 9 | NodesGuru - https://stride.explorers.guru/validators 10 | ## One line script for full install 11 | ``` 12 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stride/STRIDE-1/stride > stride.sh && chmod +x stride.sh && ./stride.sh 13 | ``` 14 | To install, you just need to take the script and go through the installation order 15 | ### Please save your mnemonic and backup $HOME/.stride/config/priv_validator_key.json 16 | #### For example mnemonic phrase: 17 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 18 | ## Start with state sync 19 | ``` 20 | sudo systemctl stop strided 21 | strided tendermint unsafe-reset-all --home $HOME/.stride 22 | SEEDS=""; \ 23 | PEERS=""; \ 24 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.stride/config/config.toml 25 | wget -O $HOME/.stride/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stride/STRIDE-1/addrbook.json" 26 | SNAP_RPC=https://stride-rpc.polkachu.com:443 27 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 28 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 29 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 30 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 31 | 32 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 33 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 34 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 35 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 36 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.stride/config/config.toml 37 | sudo systemctl restart strided && journalctl -u strided -f -o cat 38 | ``` 39 | ## RPC 40 | ``` 41 | https://stride-rpc.polkachu.com:443 42 | ``` 43 | ## Delete node 44 | ``` 45 | sudo systemctl stop strided && sudo systemctl disable strided 46 | rm -rf $HOME/stride $HOME/.stride /etc/systemd/system/strided.service $(which strided) 47 | ``` 48 | -------------------------------------------------------------------------------- /stride/STRIDE-TESTNET-2/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ## Explorers: 4 | Ping Pub - https://poolparty.stride.zone 5 | NodesGuru - https://stride.explorers.guru 6 | Cosmostation - https://testnet.mintscan.io/stride-testnet 7 | ## One line script for full install 8 | ``` 9 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stride/STRIDE-TESTNET-2/stride > stride.sh && chmod +x stride.sh && ./stride.sh 10 | ``` 11 | To install, you just need to take the script and go through the installation order 12 | ### Please save your mnemonic and backup $HOME/.stride/config/priv_validator_key.json 13 | #### For example mnemonic phrase: 14 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 15 | ## Snapshot 171593 height 1.4gb 16 | ``` 17 | sudo systemctl stop strided 18 | strided tendermint unsafe-reset-all --home $HOME/.stride --keep-addr-book 19 | pruning="custom" 20 | pruning_keep_recent="100" 21 | pruning_keep_every="0" 22 | pruning_interval="10" 23 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.stride/config/app.toml 24 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.stride/config/app.toml 25 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.stride/config/app.toml 26 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.stride/config/app.toml 27 | cd 28 | rm -rf ~/.stride/data; \ 29 | wget -O - http://snap.stake-take.com:8000/stride.tar.gz | tar xf - 30 | mv $HOME/root/.stride/data $HOME/.stride 31 | rm -rf $HOME/root 32 | sudo systemctl restart strided && journalctl -u strided -f -o cat 33 | ``` 34 | ## Start with state sync 35 | ``` 36 | sudo systemctl stop strided 37 | strided tendermint unsafe-reset-all --home $HOME/.stride 38 | SEEDS=""; \ 39 | PEERS="48b1310bc81deea3eb44173c5c26873c23565d33@34.135.129.186:26656,0f45eac9af97f4b60d12fcd9e14a114f0c085491@stride-library.poolparty.stridenet.co:26656"; \ 40 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.stride/config/config.toml 41 | wget -O $HOME/.stride/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stride/STRIDE-TESTNET-2/addrbook.json" 42 | SNAP_RPC="http://stride.stake-take.com:26657" 43 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 44 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 45 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 46 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 47 | 48 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 49 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 50 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 51 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 52 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.stride/config/config.toml 53 | sudo systemctl restart strided && journalctl -u strided -f -o cat 54 | ``` 55 | ## Add addrbook 56 | ``` 57 | sudo systemctl stop strided 58 | rm $HOME/.stride/config/addrbook.json 59 | wget -O $HOME/.stride/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stride/STRIDE-TESTNET-2/addrbook.json" 60 | sudo systemctl restart strided && journalctl -u strided -f -o cat 61 | ``` 62 | ## RPC 63 | ``` 64 | http://stride.stake-take.com:26657, https://stride-library.poolparty.stridenet.co:443 65 | ``` 66 | ## Delete node 67 | ``` 68 | sudo systemctl stop strided && sudo systemctl disable strided 69 | rm -rf $HOME/stride $HOME/.stride /etc/systemd/system/strided.service $HOME/go/bin/strided 70 | ``` 71 | -------------------------------------------------------------------------------- /stride/STRIDE-TESTNET-3/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ## Explorers: 4 | Ping Pub - https://poolparty.stride.zone 5 | NodesGuru - https://stride.explorers.guru 6 | Cosmostation - https://testnet.mintscan.io/stride-testnet 7 | ## One line script for full install 8 | ``` 9 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stride/STRIDE-TESTNET-3/stride > stride.sh && chmod +x stride.sh && ./stride.sh 10 | ``` 11 | To install, you just need to take the script and go through the installation order 12 | ### Please save your mnemonic and backup $HOME/.stride/config/priv_validator_key.json 13 | #### For example mnemonic phrase: 14 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 15 | ## Snapshot 11234 height 0.1gb 16 | ``` 17 | sudo systemctl stop strided 18 | strided tendermint unsafe-reset-all --home $HOME/.stride --keep-addr-book 19 | pruning="custom" 20 | pruning_keep_recent="100" 21 | pruning_keep_every="0" 22 | pruning_interval="10" 23 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.stride/config/app.toml 24 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.stride/config/app.toml 25 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.stride/config/app.toml 26 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.stride/config/app.toml 27 | cd 28 | rm -rf ~/.stride/data; \ 29 | wget -O - http://snap.stake-take.com:8000/stride.tar.gz | tar xf - 30 | mv $HOME/root/.stride/data $HOME/.stride 31 | rm -rf $HOME/root 32 | sudo systemctl restart strided && journalctl -u strided -f -o cat 33 | ``` 34 | ## Start with state sync 35 | ``` 36 | sudo systemctl stop strided 37 | strided tendermint unsafe-reset-all --home $HOME/.stride 38 | SEEDS=""; \ 39 | PEERS="da123c6eeb8a2c681890a42de20427899a2c12ef@34.69.179.243:26656"; \ 40 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.stride/config/config.toml 41 | wget -O $HOME/.stride/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stride/STRIDE-TESTNET-3/addrbook.json" 42 | SNAP_RPC="http://stride.stake-take.com:26657" 43 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 44 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 45 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 46 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 47 | 48 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 49 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 50 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 51 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 52 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.stride/config/config.toml 53 | sudo systemctl restart strided && journalctl -u strided -f -o cat 54 | ``` 55 | ## Add addrbook 56 | ``` 57 | sudo systemctl stop strided 58 | rm $HOME/.stride/config/addrbook.json 59 | wget -O $HOME/.stride/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stride/STRIDE-TESTNET-3/addrbook.json" 60 | sudo systemctl restart strided && journalctl -u strided -f -o cat 61 | ``` 62 | ## RPC 63 | ``` 64 | http://stride.stake-take.com:26657, https://stride-library.poolparty.stridenet.co:443 65 | ``` 66 | ## Delete node 67 | ``` 68 | sudo systemctl stop strided && sudo systemctl disable strided 69 | rm -rf $HOME/stride $HOME/.stride /etc/systemd/system/strided.service $(which strided) 70 | ``` 71 | -------------------------------------------------------------------------------- /stride/STRIDE-TESTNET-4/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers: 5 | Ping Pub - https://explorer.stake-take.com/stride-testnet/staking 6 | NodesGuru - https://stride.explorers.guru 7 | Cosmostation - https://testnet.mintscan.io/stride-testnet 8 | ## One line script for full install 9 | ``` 10 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stride/STRIDE-TESTNET-4/stride > stride.sh && chmod +x stride.sh && ./stride.sh 11 | ``` 12 | To install, you just need to take the script and go through the installation order 13 | ### Please save your mnemonic and backup $HOME/.stride/config/priv_validator_key.json 14 | #### For example mnemonic phrase: 15 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 16 | ## Snapshot 135749 height 1gb 17 | ``` 18 | sudo systemctl stop strided 19 | strided tendermint unsafe-reset-all --home $HOME/.stride --keep-addr-book 20 | pruning="custom" 21 | pruning_keep_recent="100" 22 | pruning_keep_every="0" 23 | pruning_interval="10" 24 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.stride/config/app.toml 25 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.stride/config/app.toml 26 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.stride/config/app.toml 27 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.stride/config/app.toml 28 | cd 29 | rm -rf ~/.stride/data; \ 30 | wget -O - http://snap.stake-take.com:8000/stride.tar.gz | tar xf - 31 | mv $HOME/root/.stride/data $HOME/.stride 32 | rm -rf $HOME/root 33 | sudo systemctl restart strided && journalctl -u strided -f -o cat 34 | ``` 35 | ## Start with state sync 36 | ``` 37 | sudo systemctl stop strided 38 | strided tendermint unsafe-reset-all --home $HOME/.stride 39 | SEEDS="" 40 | PEERS="6d3d7df642fd0cdf0c4b74c499cf4d5937a29d2b@23.88.100.175:26656,bf1414a4cbcfcc6c6fc11d1229f5cefcce1faef5@stride-node1.poolparty.stridenet.co:26656"; \ 41 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.stride/config/config.toml 42 | SNAP_RPC="http://stride.stake-take.com:26657" 43 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 44 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 45 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 46 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 47 | 48 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 49 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 50 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 51 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 52 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.stride/config/config.toml 53 | wget -O $HOME/.stride/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stride/STRIDE-TESTNET-4/addrbook.json" 54 | sudo systemctl restart strided && journalctl -u strided -f -o cat 55 | ``` 56 | ## Add addrbook 57 | ``` 58 | sudo systemctl stop strided 59 | rm $HOME/.stride/config/addrbook.json 60 | wget -O $HOME/.stride/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stride/STRIDE-TESTNET-4/addrbook.json" 61 | sudo systemctl restart strided && journalctl -u strided -f -o cat 62 | ``` 63 | ## RPC 64 | ``` 65 | http://stride.stake-take.com:26657, https://stride-library.poolparty.stridenet.co:443, https://stride-testnet-rpc.polkachu.com:443 66 | ``` 67 | ## Delete node 68 | ``` 69 | sudo systemctl stop strided && sudo systemctl disable strided 70 | rm -rf $HOME/stride $HOME/.stride /etc/systemd/system/strided.service $(which strided) 71 | ``` 72 | -------------------------------------------------------------------------------- /stride/STRIDE/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/stride/STRIDE/stride > stride.sh && chmod +x stride.sh && ./stride.sh 7 | To install, you just need to take the script and go through the installation order 8 | 9 | ### Please save your mnemonic and backup $HOME/.stride/config/priv_validator_key.json 10 | #### For example mnemonic phrase: 11 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 12 | 13 | #START WITH STATE-SYNC 14 | ``` 15 | sudo systemctl stop strided 16 | strided tendermint unsafe-reset-all --home $HOME/.stride 17 | peers="c73d5d83ae121dd9f2ebbfd381724c844a5e5106@stride-node1.poolparty.stridenet.co:26656"; \ 18 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.stride/config/config.toml 19 | SNAP_RPC=https://stride-node3.poolparty.stridenet.co:445 20 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 21 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \ 22 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 23 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 24 | 25 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 26 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 27 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 28 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 29 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.stride/config/config.toml 30 | ``` 31 | restart ur node 32 | ``` 33 | sudo systemctl restart strided && journalctl -u strided -f -o cat 34 | -------------------------------------------------------------------------------- /teritori/teritori-testnet-v1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/teritori/teritori-testnet-v1/teritori > teritori.sh && chmod +x teritori.sh && ./teritori.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.teritorid/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | #START WITH STATE-SYNC 13 | ``` 14 | sudo systemctl stop teritorid 15 | teritorid tendermint unsafe-reset-all --home $HOME/.teritorid 16 | SEEDS="" 17 | PEERS="2a9bfeadf8005e2f0db71c0c818ffd88a16c362b@49.12.236.218:26656,3a2fe8bb58a75a91394a456463ca08b6de170f87@167.235.78.2:26656,6bc9f80a5123d62c23aadb7b5d68b740a794b0c6@207.180.194.156:36656,3a2fe8bb58a75a91394a456463ca08b6de170f87@167.235.78.2:26656,0dde2ae55624d822eeea57d1b5e1223b6019a531@176.9.149.15:26656,4d2ea61e6195ee4e449c1e6132cabce98f7d94e1@5.9.40.222:26656,bceb776975aab62bcfd501969c0e1a2734ed7c2e@176.9.19.162:26656"; \ 18 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.teritorid/config/config.toml 19 | SNAP_RPC="49.12.236.18:26657" 20 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 21 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \ 22 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 23 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 24 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 25 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 26 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 27 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 28 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.teritorid/config/config.toml 29 | sudo systemctl restart teritorid && journalctl -u teritorid -f -o cat 30 | ``` 31 | -------------------------------------------------------------------------------- /teritori/teritori-testnet-v2/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers 5 | PingPub - https://explorer.stake-take.com/teritori-testnet/staking 6 | 7 | NodesGuru - https://teritori.explorers.guru 8 | ## One line script for full install 9 | ``` 10 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/teritori/teritori-testnet-v2/teritori > teritori.sh && chmod +x teritori.sh && ./teritori.sh 11 | ``` 12 | To install, you just need to take the script and go through the installation order 13 | ### Please save your mnemonic and backup $HOME/.teritorid/config/priv_validator_key.json 14 | #### For example mnemonic phrase: 15 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 16 | ## Snapshot height 708010 0.3gb 17 | ``` 18 | sudo systemctl stop teritorid 19 | teritorid tendermint unsafe-reset-all --home $HOME/.teritorid --keep-addr-book 20 | pruning="custom" 21 | pruning_keep_recent="100" 22 | pruning_keep_every="0" 23 | pruning_interval="10" 24 | sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.teritorid/config/app.toml 25 | sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.teritorid/config/app.toml 26 | sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.teritorid/config/app.toml 27 | sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.teritorid/config/app.toml 28 | cd 29 | rm -rf ~/.teritorid/data; \ 30 | wget -O - http://snap.stake-take.com:8000/teritori.tar.gz | tar xf - 31 | mv $HOME/root/.teritorid/data $HOME/.teritorid 32 | rm -rf $HOME/root 33 | sudo systemctl restart teritorid && journalctl -u teritorid -f -o cat 34 | ``` 35 | ## Start with state sync 36 | ``` 37 | sudo systemctl stop teritorid 38 | teritorid tendermint unsafe-reset-all --home $HOME/.teritorid 39 | wget -O $HOME/.teritorid/config/addrbook.json https://raw.githubusercontent.com/StakeTake/guidecosmos/main/teritori/teritori-testnet-v2/addrbook.json 40 | SEEDS="" 41 | PEERS="c1fdbc3d0679bcaf4cfe3aeaf5247ba12b7daa6f@49.12.236.218:26656,0b42fd287d3bb0a20230e30d54b4b8facc412c53@176.9.149.15:26656,2f394edda96be07bf92b0b503d8be13d1b9cc39f@5.9.40.222:26656,8ce81af6b4acee9688b9b3895fc936370321c0a3@78.46.106.69:26656"; \ 42 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.teritorid/config/config.toml 43 | SNAP_RPC="http://teritori.stake-take.com:26657" 44 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 45 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \ 46 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 47 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 48 | 49 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 50 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 51 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 52 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 53 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.teritorid/config/config.toml 54 | sudo systemctl restart teritorid && journalctl -u teritorid -f -o cat 55 | ``` 56 | ## Add addrbook 57 | ``` 58 | sudo systemctl stop teritorid 59 | rm $HOME/.teritorid/config/addrbook.json 60 | wget -O $HOME/.teritorid/config/addrbook.json https://raw.githubusercontent.com/StakeTake/guidecosmos/main/teritori/teritori-testnet-v2/addrbook.json 61 | sudo systemctl restart teritorid && journalctl -u teritorid -f -o cat 62 | ``` 63 | ## RPC 64 | ``` 65 | http://teritori.stake-take.com:26657 66 | ``` 67 | ## Delete node 68 | ``` 69 | sudo systemctl stop teritorid && sudo systemctl disable teritorid 70 | rm -rf $HOME/teritori-chain $HOME/.teritorid /etc/systemd/system/teritorid.service $HOME/go/bin/teritorid 71 | ``` 72 | 73 | -------------------------------------------------------------------------------- /tgrade/tgrade-dryrunnet/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/tgrade/tgrade-dryrunnet/tgrade > tgrade.sh && chmod +x tgrade.sh && ./tgrade.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.tgrade/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | -------------------------------------------------------------------------------- /umee/canon-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers: 5 | Ping Pub - https://explorer.stake-take.com/umeemania/staking 6 | ## OneLine script of full install 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/umee/canon-1/umee > umee.sh && chmod +x umee.sh && ./umee.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.umee/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | ## Start with state sync 15 | ``` 16 | sudo systemctl stop umeed 17 | umeed unsafe-reset-all --home $HOME/.umee 18 | SEEDS="" 19 | PEERS="dc1b1b89a83873f20b613cdb1361f932afb84a97@35.215.72.45:26656,94ac8328b4b9f45b6f7b8e9569ae0253dc53c7eb@35.212.143.125:26656,5e01b69ead6e0781af0361d3ec4e436d96dba932@35.215.98.106:26656"; \ 20 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.umee/config/config.toml 21 | SNAP_RPC="http://umee.stake-take.com:16657" 22 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 23 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 24 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 25 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 26 | 27 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 28 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 29 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 30 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 31 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.umee/config/config.toml 32 | #wget -O $HOME/.umee/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/umee/canon-1/addrbook.json" 33 | sudo systemctl restart umeed && journalctl -u umeed -f -o cat 34 | ``` 35 | ## Add addrbook 36 | ``` 37 | sudo systemctl stop umeed 38 | rm $HOME/.umee/config/addrbook.json 39 | wget -O $HOME/.umee/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/umee/canon-1/addrbook.json" 40 | sudo systemctl restart umeed && journalctl -u umeed -f -o cat 41 | ``` 42 | ## RPC 43 | ``` 44 | http://umee.stake-take.com:16657 45 | ``` 46 | ## Delete node 47 | ``` 48 | sudo systemctl stop umeed && sudo systemctl disable umeed 49 | rm -rf $HOME/umee $HOME/.umee /etc/systemd/system/umeed.service $(which umeed) 50 | ``` 51 | -------------------------------------------------------------------------------- /umee/canon-2/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers: 5 | https://explorer.stake-take.com/umee-testnet/staking 6 | ## OneLine script of full install 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/umee/canon-2/umee > umee.sh && chmod +x umee.sh && ./umee.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.umee/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | 15 | ## Start with state sync 16 | ``` 17 | sudo systemctl stop umeed 18 | umeed tendermint unsafe-reset-all --home $HOME/.umee 19 | SEEDS="" 20 | PEERS=""; \ 21 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.umee/config/config.toml 22 | SNAP_RPC="https://rpc.umee-testnet.stake-take.com:443" 23 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 24 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 25 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 26 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 27 | 28 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 29 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 30 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 31 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 32 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.umee/config/config.toml 33 | wget -O $HOME/.umee/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/umee/canon-2/addrbook.json" 34 | sudo systemctl restart umeed && journalctl -u umeed -f -o cat 35 | ``` 36 | ## Add addrbook 37 | ``` 38 | sudo systemctl stop umeed 39 | rm $HOME/.umee/config/addrbook.json 40 | wget -O $HOME/.umee/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/umee/canon-2/addrbook.json" 41 | sudo systemctl restart umeed && journalctl -u umeed -f -o cat 42 | ``` 43 | ## RPC 44 | ``` 45 | https://rpc.umee-testnet.stake-take.com 46 | ``` 47 | ## API 48 | ``` 49 | https://api.umee-testnet.stake-take.com 50 | ``` 51 | ## Delete node 52 | ``` 53 | sudo systemctl stop umeed && sudo systemctl disable umeed 54 | rm -rf $HOME/umee $HOME/.umee /etc/systemd/system/umeed.service $(which umeed) 55 | ``` 56 | -------------------------------------------------------------------------------- /umee/canon-3/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers: 5 | https://explorer.stake-take.com/umee-testnet/staking 6 | ## OneLine script of full install 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/umee/canon-3/umee > umee.sh && chmod +x umee.sh && ./umee.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.umee/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | 15 | ## Start with state sync 16 | ``` 17 | sudo systemctl stop umeed 18 | umeed tendermint unsafe-reset-all --home $HOME/.umee 19 | SEEDS="" 20 | PEERS=""; \ 21 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.umee/config/config.toml 22 | SNAP_RPC="https://rpc.umee-testnet.stake-take.com:443" 23 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 24 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 25 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 26 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 27 | 28 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 29 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 30 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 31 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 32 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.umee/config/config.toml 33 | wget -O $HOME/.umee/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/umee/canon-3/addrbook.json" 34 | sudo systemctl restart umeed && journalctl -u umeed -f -o cat 35 | ``` 36 | ## Add addrbook 37 | ``` 38 | sudo systemctl stop umeed 39 | rm $HOME/.umee/config/addrbook.json 40 | wget -O $HOME/.umee/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/umee/canon-3/addrbook.json" 41 | sudo systemctl restart umeed && journalctl -u umeed -f -o cat 42 | ``` 43 | ## RPC 44 | ``` 45 | https://rpc.umee-testnet.stake-take.com 46 | ``` 47 | ## API 48 | ``` 49 | https://api.umee-testnet.stake-take.com 50 | ``` 51 | ## Delete node 52 | ``` 53 | sudo systemctl stop umeed && sudo systemctl disable umeed 54 | rm -rf $HOME/umee $HOME/.umee /etc/systemd/system/umeed.service $(which umeed) 55 | ``` 56 | -------------------------------------------------------------------------------- /umee/telegram_bot/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | ___In this guide, we wrote how to set up a bot to track the state of Umee node___ 4 | 5 | To install, follow a few simple steps: 6 | 7 | 1. Create a bot, get an api token (To get a token, you can use FatherBot in telegram) and a telegram chat id, you can read how to do it at the link - [(ENG)](https://sean-bradley.medium.com/get-telegram-chat-id-80b575520659 "") [(RU)](https://nastroyvse.ru/programs/review/telegram-id-kak-uznat-zachem-nuzhno.html "") 8 | 2. Run the script, select the installation stage, which will ask you to enter the NodeName, API_token and telegram chat id. 9 | ```html 10 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/umee/telegram_bot/start > start.sh && chmod +x start.sh && ./start.sh 11 | ``` 12 | 3. Select the "Start bot" item and enter the following data in the line that appears, you also need to leave the next line empty 13 | ```html 14 | */1 * * * * /bin/bash $HOME/alerts/alerts.sh 15 | ``` 16 | ![](https://ltdfoto.ru/images/2022/04/07/image_2022-04-07_13-35-26.png) 17 | -------------------------------------------------------------------------------- /umee/telegram_bot/alerts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # File name for saving parameters, e.g. "cosmos.log" 4 | LOG_FILE="$HOME/alerts/nodealerts.log" 5 | # Your node RPC address, e.g. "http://127.0.0.1:26657" 6 | NODE_RPC="http://127.0.0.1:26657" 7 | source 8 | # Trusted node RPC address, e.g. "https://rpc.cosmos.network:26657" 9 | SIDE_RPC="http://localhost:26657" 10 | ip=$(wget -qO- eth0.me) 11 | 12 | touch $LOG_FILE 13 | REAL_BLOCK=$(curl -s "$SIDE_RPC/status" | jq '.result.sync_info.latest_block_height' | xargs ) 14 | STATUS=$(curl -s "$NODE_RPC/status") 15 | CATCHING_UP=$(echo $STATUS | jq '.result.sync_info.catching_up') 16 | LATEST_BLOCK=$(echo $STATUS | jq '.result.sync_info.latest_block_height' | xargs ) 17 | VOTING_POWER=$(echo $STATUS | jq '.result.validator_info.voting_power' | xargs ) 18 | ADDRESS=$(echo $STATUS | jq '.result.validator_info.address' | xargs ) 19 | source $LOG_FILE 20 | #REAL_BLOCK=350000 21 | #VOTING_POWER=150 22 | 23 | echo 'LAST_BLOCK="'"$LATEST_BLOCK"'"' > $LOG_FILE 24 | echo 'LAST_POWER="'"$VOTING_POWER"'"' >> $LOG_FILE 25 | 26 | source $HOME/.bash_profile 27 | curl -s "$NODE_RPC/status"> /dev/null 28 | if [[ $? -ne 0 ]]; then 29 | MSG="$ip node is stopped!!! ( узел остановлен )" 30 | MSG="$NODENAME $MSG" 31 | SEND=$(curl -s -X POST -H "Content-Type:multipart/form-data" "https://api.telegram.org/bot$TG_API/sendMessage?chat_id=$TG_ID&text=$MSG"); exit 1 32 | fi 33 | 34 | if [[ $LAST_POWER -ne $VOTING_POWER ]]; then 35 | DIFF=$(($VOTING_POWER - $LAST_POWER)) 36 | if [[ $DIFF -gt 0 ]]; then 37 | DIFF="%2B$DIFF" 38 | fi 39 | MSG="$ip voting power changed ( размер стейка валидатора изменился ) $DIFF%0A($LAST_POWER -> $VOTING_POWER)" 40 | fi 41 | 42 | if [[ $LAST_BLOCK -ge $LATEST_BLOCK ]]; then 43 | 44 | MSG="$ip node is probably stuck at block (узел застрял в блоке номер>> ) $LATEST_BLOCK" 45 | fi 46 | 47 | if [[ $VOTING_POWER -lt 1 ]]; then 48 | MSG="$ip validator inactive\jailed ( валидатор не активен\в тюрьме ). Voting power $VOTING_POWER" 49 | fi 50 | 51 | if [[ $CATCHING_UP = "true" ]]; then 52 | MSG="$ip node is unsync, catching up ( узел находится в процессе синхронизации ). $LATEST_BLOCK -> $REAL_BLOCK" 53 | fi 54 | 55 | if [[ $REAL_BLOCK -eq 0 ]]; then 56 | MSG="$ip can't connect to ( пропало соединения с рпц нодой ) $SIDE_RPC" 57 | fi 58 | 59 | if [[ $MSG != "" ]]; then 60 | MSG="$NODENAME $MSG" 61 | SEND=$(curl -s -X POST -H "Content-Type:multipart/form-data" "https://api.telegram.org/bot$TG_API/sendMessage?chat_id=$TG_ID&text=$MSG") 62 | fi 63 | -------------------------------------------------------------------------------- /umee/telegram_bot/start: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | while true 4 | do 5 | 6 | # Logo 7 | 8 | echo "============================================================" 9 | curl -s https://raw.githubusercontent.com/StakeTake/script/main/logo.sh | bash 10 | echo "============================================================" 11 | 12 | 13 | PS3='Select an action: ' 14 | options=( 15 | "Setup parametrs for bot" 16 | "Start bot" 17 | "Exit") 18 | select opt in "${options[@]}" 19 | do 20 | case $opt in 21 | 22 | "Setup parametrs for bot") 23 | echo "============================================================" 24 | echo "Setup your node name" 25 | echo "============================================================" 26 | read NODENAME 27 | echo export NODENAME=${NODENAME} >> $HOME/.bash_profile 28 | echo "============================================================" 29 | echo "Setup your Telegramm API" 30 | echo "============================================================" 31 | read TG_API 32 | echo export TG_API=${TG_API} >> $HOME/.bash_profile 33 | echo "============================================================" 34 | echo "Setup your Chat ID" 35 | echo "============================================================" 36 | read TG_ID 37 | echo export TG_ID=${TG_ID} >> $HOME/.bash_profile 38 | source $HOME/.bash_profile 39 | 40 | mkdir $HOME/alerts 41 | wget -O $HOME/alerts/alerts.sh https://raw.githubusercontent.com/StakeTake/guidecosmos/main/umee/telegram_bot/alerts.sh 42 | chmod +x $HOME/alerts/alerts.sh 43 | break 44 | ;; 45 | 46 | "Start bot") 47 | echo "============================================================" 48 | echo "Bot strating" 49 | echo "============================================================" 50 | 51 | crontab -e 52 | 53 | break 54 | ;; 55 | 56 | "Exit") 57 | exit 58 | ;; 59 | 60 | *) echo "invalid option $REPLY";; 61 | esac 62 | done 63 | done 64 | -------------------------------------------------------------------------------- /umee/umee-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | ## Explorers: 5 | https://explorer.stake-take.com/umee/staking 6 | ## OneLine script of full install 7 | ``` 8 | curl -s https://raw.githubusercontent.com/StakeTake/guidecosmos/main/umee/umee-1/umee > umee.sh && chmod +x umee.sh && ./umee.sh 9 | ``` 10 | To install, you just need to take the script and go through the installation order 11 | ### Please save your mnemonic and backup $HOME/.umee/config/priv_validator_key.json 12 | #### For example mnemonic phrase: 13 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 14 | 15 | ## Start with state sync 16 | ``` 17 | sudo systemctl stop umeed 18 | umeed tendermint unsafe-reset-all --home $HOME/.umee 19 | SEEDS="" 20 | PEERS=""; \ 21 | sed -i.bak -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.umee/config/config.toml 22 | SNAP_RPC="https://rpc.umee.stake-take.com:443" 23 | LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \ 24 | BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \ 25 | TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) 26 | echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH 27 | 28 | sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \ 29 | s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \ 30 | s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ 31 | s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ 32 | s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.umee/config/config.toml 33 | wget -O $HOME/.umee/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/umee/umee-1/addrbook.json" 34 | sudo systemctl restart umeed && journalctl -u umeed -f -o cat 35 | ``` 36 | ## Add addrbook 37 | ``` 38 | sudo systemctl stop umeed 39 | rm $HOME/.umee/config/addrbook.json 40 | wget -O $HOME/.umee/config/addrbook.json "https://raw.githubusercontent.com/StakeTake/guidecosmos/main/umee/umee-1/addrbook.json" 41 | sudo systemctl restart umeed && journalctl -u umeed -f -o cat 42 | ``` 43 | ## RPC 44 | ``` 45 | https://rpc.umee.stake-take.com 46 | ``` 47 | ## API 48 | ``` 49 | https://api.umee.stake-take.com 50 | ``` 51 | ## Delete node 52 | ``` 53 | sudo systemctl stop umeed && sudo systemctl disable umeed 54 | rm -rf $HOME/umee $HOME/.umee /etc/systemd/system/umeed.service $(which umeed) 55 | ``` 56 | -------------------------------------------------------------------------------- /uptick/uptick_7776-1/README.md: -------------------------------------------------------------------------------- 1 | ![](https://i.yapx.ru/RTuEU.jpg) 2 | 3 | 4 | In this guide, we have made setting up a node as easy as possible 5 | 6 | curl -s https://raw.githubusercontent.com/Stake-Take/guidecosmos/main/uptick/uptick_7776-1/uptick > uptick.sh && chmod +x uptick.sh && ./uptick.sh 7 | To install, you just need to take the script and go through the installation order 8 | ### Please save your mnemonic and backup $HOME/.uptickd/config/priv_validator_key.json 9 | #### For example mnemonic phrase: 10 | ![image](https://user-images.githubusercontent.com/93165931/184551172-16cb2f1a-3145-4e5b-8092-c966e2f3e5ef.png) 11 | 12 | If you see a bad hash error - use these commands to rebuild the binary 13 | 14 | ```html 15 | sudo systemctl stop uptickd 16 | cd uptick 17 | git checkout 0.1.0 18 | make install 19 | sudo systemctl restart uptickd 20 | ``` 21 | --------------------------------------------------------------------------------