What is Loyal? Loyal is a universal rewards program running on a sovereign layer-1 blockchain powered by Ignite and Cosmos-SDK with the goal of onboarding shoppers to Web3 and giving back with LoyalCares
-
4x CPUs; the faster clock speed the better
-
8GB RAM
-
100GB of storage (SSD or NVME)
-
8x CPUs; the faster clock speed the better
-
64GB RAM
-
1TB of storage (SSD or NVME)
wget -O loyal.sh https://raw.githubusercontent.com/appieasahbie/loyal/main/loyal.sh && chmod +x loyal.sh && ./loyal.sh
source $HOME/.bash_profile
sudo ufw default allow outgoing
sudo ufw default deny incoming
sudo ufw allow ssh/tcp
sudo ufw limit ssh/tcp
sudo ufw allow ${LOYAL_PORT}656,${LOYAL_PORT}660/tcp
sudo ufw enable
loyald keys add $WALLET
loyald keys add $WALLET --recover
loyald keys list
LOYAL_PORT=13
echo "export NODENAME=$NODENAME" >> $HOME/.bash_profile
if [ ! $WALLET ]; then
echo "export WALLET=wallet" >> $HOME/.bash_profile
fi
echo "export LOYAL_CHAIN_ID=loyal-1" >> $HOME/.bash_profile
echo "export LOYAL_PORT=${LOYAL_PORT}" >> $HOME/.bash_profile
source $HOME/.bash_profile
curl -X POST -d '{"address": "'"Your wallet address"'", "coins": ["10000000ulyl"]}' "https://faucet.joinloyal.io/"
loyald query bank balances $LOYAL_WALLET_ADDRESS
loyald tx staking create-validator \
--amount 1000000ulyl \
--from $WALLET \
--commission-max-change-rate "0.1" \
--commission-max-rate "0.3" \
--commission-rate "0.08" \
--min-self-delegation "1" \
--pubkey $(loyald tendermint show-validator) \
--moniker $NODENAME \
--chain-id $LOYAL_CHAIN_ID --gas=200000 --fees 500ulyl
journalctl -fu loyald -o cat
sudo systemctl start loyald
sudo systemctl stop loyald
sudo systemctl restart loyald
loyald status 2>&1 | jq .SyncInfo
loyald status 2>&1 | jq .ValidatorInfo
loyald status 2>&1 | jq .NodeInfo
loyald tendermint show-node-id
loyald q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nl
loyald tx staking delegate $LOYAL_VALOPER_ADDRESS 1000000ulyl --from=$WALLET --chain-id=$LOYAL_CHAIN_ID --gas=200000 --fees 500ulyl -y
loyald tx staking redelegate <srcValidatorAddress> <destValidatorAddress> 1000000ulyl --from=$WALLET --chain-id=$LOYAL_CHAIN_ID --gas=200000 --fees 250ulyl -y
loyald tx slashing unjail --from $WALLET --chain-id $LOYAL_CHAIN_ID --gas=200000 --fees 500ulyl
sudo systemctl stop loyald
sudo systemctl disable loyald
sudo rm /etc/systemd/system/loyald* -rf
sudo rm $(which loyald) -rf
sudo rm $HOME/.loyal* -rf
sudo rm $HOME/loyal -rf
sed -i '/LOYAL_/d' ~/.bash_profile