Testnet Node Ollo Station

Hi semuanya, mulai sekarang Cangkirhost membagikan Info tentang crypto juga ya, tapi hanya untuk bagian testnet dan roactive saja tidak airdrop Bot telegram, jika anda mencari airdrop bot telegram bisa cari di group telegram kesayangan anda ya.

baik dimulai dengan testnet Node Ollo Station ini berada di network Cosmos ya, biasanya mendapatkan insentif yang lumayan OK.

Pertama siapkan VPS dengan minimal Spesifikasi berikut :

Minimum hardware requirements
CPU: 4 CPU
Memory: 8 GB RAM
Disk: 50 GB SSD Storage
Recommended hardware requirements
CPU: 2 CPU
Memory: 8 GB RAM
Disk: 100 GB SSD Storage

Lanjut anda bisa Login SSH VPS kalian masing masing dan mulai melakukan script Testnet node dibawah ini

Setting Variable
NODENAME=<YOUR MONIKER>
Change <YOUR MONIKER> replace with whatever you like

Setting Validator
Upgrade your dependecies and package
sudo apt-get upgrade && sudo apt-get update -y
Save and import variables

echo “export NODENAME=$NODENAME” >> $HOME/.bash_profile
if [ ! $WALLET ]; then
echo “export WALLET=wallet” >> $HOME/.bash_profile
fi
echo “export OLLO_CHAIN_ID=ollo-testnet-0” >> $HOME/.bash_profile
source $HOME/.bash_profile

Packages and Dependencies
Install Dependencies

sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt install make clang pkg-config libssl-dev build-essential git jq llvm libudev-dev -y

Install GO 1.18+

if ! [ -x “$(command -v go)” ]; then
ver=”1.18.3″
cd $HOME
wget “https://golang.org/dl/go$ver.linux-amd64.tar.gz”
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf “go$ver.linux-amd64.tar.gz”
rm “go$ver.linux-amd64.tar.gz”
echo “export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin” >> ~/.bash_profile
source ~/.bash_profile
fi

Download Binaries

cd $HOME
git clone https://github.com/OllO-Station/ollo.git
cd ollo
make install

Config

ollod config chain-id $OLLO_CHAIN_ID
ollod config keyring-backend test

Init

ollod init $NODENAME –chain-id $OLLO_CHAIN_ID

Donwload Genesis and Address Book

wget -qO $HOME/.ollo/config/genesis.json https://github.com/AlexToTheMoon/AM-Solutions/raw/main/ollo-genesis.json
wget -qO $HOME/.ollo/config/addrbook.json https://github.com/AlexToTheMoon/AM-Solutions/raw/main/ollo-addrbook.json
ollod tendermint unsafe-reset-all –home $HOME/.ollo –keep-addr-book

Set Peers

SEEDS=””
PEERS=”[email protected]:46656,[email protected]:25456,[email protected]:26656,[email protected]:32656,[email protected]:15656,[email protected]:15656,[email protected]:32656,[email protected]:11656,[email protected]:36656,[email protected]:32656″
sed -i -e “s/^seeds *=.*/seeds = \”$SEEDS\”/; s/^persistent_peers *=.*/persistent_peers = \”$PEERS\”/” $HOME/.ollo/config/config.toml

Config Prunning (OPTIONAL)

pruning=”custom”
pruning_keep_recent=”100″
pruning_keep_every=”0″
pruning_interval=”50″
sed -i -e “s/^pruning *=.*/pruning = \”$pruning\”/” $HOME/.ollo/config/app.toml
sed -i -e “s/^pruning-keep-recent *=.*/pruning-keep-recent = \”$pruning_keep_recent\”/” $HOME/.ollo/config/app.toml
sed -i -e “s/^pruning-keep-every *=.*/pruning-keep-every = \”$pruning_keep_every\”/” $HOME/.ollo/config/app.toml
sed -i -e “s/^pruning-interval *=.*/pruning-interval = \”$pruning_interval\”/” $HOME/.ollo/config/app.toml

Set minimum Gas price and Commit

sed -i -e “s/^minimum-gas-prices *=.*/minimum-gas-prices = \”0utollo\”/” $HOME/.ollo/config/app.toml

Reset Chain Data

ollod tendermint unsafe-reset-all –home $HOME/.ollo

Create Services

sudo tee /etc/systemd/system/ollod.service > /dev/null <<EOF
[Unit]
Description=ollo
After=network-online.target

[Service]
User=$USER
ExecStart=$(which ollod) start –home $HOME/.ollo
Restart=on-failure
RestartSec=3
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
EOF

Start Services

sudo systemctl daemon-reload
sudo systemctl enable ollod
sudo systemctl restart ollod && sudo journalctl -u ollod -f -o cat

 

Create Wallet
Create New Wallet

ollod keys add $WALLET

Recover existing wallet (Optional)

ollod keys add $WALLET –recover

Get current list of wallets

ollod keys list

Save Wallet Info

OLLO_WALLET_ADDRESS=$(ollod keys show $WALLET -a)
OLLO_VALOPER_ADDRESS=$(ollod keys show $WALLET –bech val -a)
echo ‘export OLLO_WALLET_ADDRESS=’${OLLO_WALLET_ADDRESS} >> $HOME/.bash_profile
echo ‘export OLLO_VALOPER_ADDRESS=’${OLLO_VALOPER_ADDRESS} >> $HOME/.bash_profile
source $HOME/.bash_profile

Fund your wallet

Jump to Discord Ollo Station Community and Go To Channel #Testnet-Faucet and type !request <address>

Create validator
To create validator you need Ollo tokens , to check if you have any :

ollod query bank balances $OLLO_WALLET_ADDRESS

Create your validator with 2 UTOLLO, 1 ollo is equal to 1000000 utollo

ollod tx staking create-validator \
–amount 2000000utollo \
–from $WALLET \
–commission-max-change-rate “0.01” \
–commission-max-rate “0.2” \
–commission-rate “0.07” \
–min-self-delegation “1” \
–pubkey $(ollod tendermint show-validator) \
–moniker $NODENAME \
–chain-id $OLLO_CHAIN_ID

 

Usefull commands
Service management
Check Logs

journalctl -fu ollod -o cat

Start Services

sudo systemctl start ollod

Stop Services

sudo systemctl stop ollod

Start Services

sudo systemctl restart ollod

Node Info
Sync Info

ollod status 2>&1 | jq .SyncInfo

Validator Info

ollod status 2>&1 | jq .ValidatorInfo

Node Info

ollod status 2>&1 | jq .NodeInfo

Show Node ID

ollod tendermint show-node-id

Wallet operations
List of wallets

ollod keys list

Recover Wallet

ollod keys add $WALLET –recover

Delete Wallet

ollod keys delete $WALLET

Get Wallet Balance

ollod query bank balances $OLLO_WALLET_ADDRESS

Transfer Funds

ollod tx bank send $OLLO_WALLET_ADDRESS <TO_OLLO_WALLET_ADDRESS> 10000000utollo

Voting
ollod tx gov vote 1 yes –from $WALLET –chain-id=$OLLO_CHAIN_ID

Staking, Delegation and Rewards
Delegate Stake

ollod tx staking delegate $OLLO_VALOPER_ADDRESS 10000000utollo –from=$WALLET –chain-id=$OLLO_CHAIN_ID –gas=auto

Redelegate stake from validator to another validator

ollod tx staking redelegate <srcValidatorAddress> <destValidatorAddress> 10000000utollo –from=$WALLET –chain-id=$OLLO_CHAIN_ID –gas=auto

Withdraw all rewards

ollod tx distribution withdraw-all-rewards –from=$WALLET –chain-id=$OLLO_CHAIN_ID –gas=auto

Withdraw rewards with commision

ollod tx distribution withdraw-rewards $OLLO_VALOPER_ADDRESS –from=$WALLET –commission –chain-id=$OLLO_CHAIN_ID

Validator management
Edit validator

ollod tx staking edit-validator \
–moniker=$NODENAME \
–identity=<your_keybase_id> \
–website=”<your_website>” \
–details=”<your_validator_description>” \
–chain-id=$OLLO_CHAIN_ID \
–from=$WALLET

Unjail Validator

ollod tx slashing unjail \
–broadcast-mode=block \
–from=$WALLET \
–chain-id=$OLLO_CHAIN_ID \
–gas=auto

Delete node
This commands will completely remove node from server. Use at your own risk!

sudo systemctl stop ollod
sudo systemctl disable ollod
sudo rm /etc/systemd/system/ollo* -rf
sudo rm $(which ollod) -rf
sudo rm $HOME/.ollo* -rf
sudo rm $HOME/ollo -rf
sed -i ‘/OLLO_/d’ ~/.bash_profile