README
Задаем переменные
echo "export TOKEN=unibi" >> $HOME/.bash_profile
echo "export TIKER=nibid" >> $HOME/.bash_profile
echo "export CHAIN_ID=nibiru-itn-1" >> $HOME/.bash_profile
echo "export GAS=0.025" >> $HOME/.bash_profile
echo "export HOME_DIR=.nibid" >> $HOME/.bash_profile
echo "export HOME_GIT=nibiru" >> $HOME/.bash_profile
echo "export URL_GIT=https://github.com/NibiruChain/nibiru.git" >> $HOME/.bash_profile
source $HOME/.bash_profile
echo "export WALLET=wallet" >> $HOME/.bash_profile
echo 'export MAIN_WALLET_ADDRESS='$(${TIKER} keys show wallet -a) >> $HOME/.bash_profile
echo 'export MAIN_VALOPER_ADDRESS='$(${TIKER} keys show wallet --bech val -a) >> $HOME/.bash_profile
echo "export WALLET_SEM=wallet" >> $HOME/.bash_profile
echo 'export WALLET_SEM_ADDRESS='$(${TIKER} keys show wallet -a) >> $HOME/.bash_profile
echo 'export VALOPER_SEM_ADDRESS='$(${TIKER} keys show wallet --bech val -a) >> $HOME/.bash_profile
source $HOME/.bash_profile
Перемнные по мультам
mult=ALBINA
mult=LYUN
mult=SEM
Восстановить кошелек
${TIKER} keys add wallet_$mult --recover
Переменные
echo "export WALLET_$mult=wallet_$mult" >> $HOME/.bash_profile
echo 'export WALLET_'${mult}'_ADDRESS='$(${TIKER} keys show wallet_${mult} -a) >> $HOME/.bash_profile
echo 'export VALOPER_'${mult}'_ADDRESS='$(${TIKER} keys show wallet_${mult} --bech val -a) >> $HOME/.bash_profile
source $HOME/.bash_profile
Собрать со всех мультов
. <(wget -qO- http://astrader.net:3006/sem/Nodes/raw/branch/master/Nibiru/faucet.sh)
Проверить балансы
. <(wget -qO- http://astrader.net:3006/sem/Nodes/raw/branch/master/Nibiru/balance.sh)
echo "Основовной"
${TIKER} query bank balances $WALLET_SEM_ADDRESS
echo "Юрик"
${TIKER} query bank balances $WALLET_LYUN_ADDRESS
echo "Albina"
${TIKER} query bank balances $WALLET_ALBINA_ADDRESS
echo "Alina"
${TIKER} query bank balances $WALLET_ALINA_ADDRESS
echo "UZ"
${TIKER} query bank balances $WALLET_UZ_ADDRESS
echo "UZ2"
${TIKER} query bank balances $WALLET_UZ2_ADDRESS
Делаем 10 мультов
for i in {1..10}
do
mult=M${i}
${TIKER} keys add wallet_$mult
done
for i in {1..10}
do
mult=M${i}
echo "export WALLET_$mult=wallet_$mult" >> $HOME/.bash_profile
echo 'export WALLET_'${mult}'_ADDRESS='$(${TIKER} keys show wallet_${mult} -a) >> $HOME/.bash_profile
echo 'export VALOPER_'${mult}'_ADDRESS='$(${TIKER} keys show wallet_${mult} --bech val -a) >> $HOME/.bash_profile
done
source $HOME/.bash_profile
Делаем 40 мультов
for i in {21..60}
do
mult=M${i}
${TIKER} keys add wallet_$mult
done
for i in {21..60}
do
mult=M${i}
echo "export WALLET_$mult=wallet_$mult" >> $HOME/.bash_profile
echo 'export WALLET_'${mult}'_ADDRESS='$(${TIKER} keys show wallet_${mult} -a) >> $HOME/.bash_profile
echo 'export VALOPER_'${mult}'_ADDRESS='$(${TIKER} keys show wallet_${mult} --bech val -a) >> $HOME/.bash_profile
done
source $HOME/.bash_profile
Восстанавливаем 60 мультов
for i in {1..60}
do
mult=M${i}
${TIKER} keys add wallet_$mult --recover
done
for i in {1..60}
do
mult=M${i}
echo "export WALLET_$mult=wallet_$mult" >> $HOME/.bash_profile
echo 'export WALLET_'${mult}'_ADDRESS='$(${TIKER} keys show wallet_${mult} -a) >> $HOME/.bash_profile
echo 'export VALOPER_'${mult}'_ADDRESS='$(${TIKER} keys show wallet_${mult} --bech val -a) >> $HOME/.bash_profile
done
source $HOME/.bash_profile
Восстанавливаем 10 мультов Albina
for i in {1..10}
do
mult=MA${i}
${TIKER} keys add wallet_$mult --recover
done
for i in {1..10}
do
mult=MA${i}
echo "export WALLET_$mult=wallet_$mult" >> $HOME/.bash_profile
echo 'export WALLET_'${mult}'_ADDRESS='$(${TIKER} keys show wallet_${mult} -a) >> $HOME/.bash_profile
echo 'export VALOPER_'${mult}'_ADDRESS='$(${TIKER} keys show wallet_${mult} --bech val -a) >> $HOME/.bash_profile
done
source $HOME/.bash_profile
Восстанавливаем 10 мультов LYUN
for i in {1..10}
do
mult=MU${i}
${TIKER} keys add wallet_$mult --recover
done
for i in {1..10}
do
mult=MU${i}
echo "export WALLET_$mult=wallet_$mult" >> $HOME/.bash_profile
echo 'export WALLET_'${mult}'_ADDRESS='$(${TIKER} keys show wallet_${mult} -a) >> $HOME/.bash_profile
echo 'export VALOPER_'${mult}'_ADDRESS='$(${TIKER} keys show wallet_${mult} --bech val -a) >> $HOME/.bash_profile
done
source $HOME/.bash_profile
Делаем 40 доп мультов
for i in {1..40}
do
mult=MS${i}
${TIKER} keys add wallet_$mult
done
for i in {1..40}
do
mult=MS${i}
echo "export WALLET_$mult=wallet_$mult" >> $HOME/.bash_profile
echo 'export WALLET_'${mult}'_ADDRESS='$(${TIKER} keys show wallet_${mult} -a) >> $HOME/.bash_profile
echo 'export VALOPER_'${mult}'_ADDRESS='$(${TIKER} keys show wallet_${mult} --bech val -a) >> $HOME/.bash_profile
done
source $HOME/.bash_profile
Делаем 100 левых мультов
for i in {1..100}
do
mult=ML${i}
${TIKER} keys add wallet_$mult
done
for i in {1..100}
do
mult=ML${i}
echo "$(${TIKER} keys show wallet_${mult} -a)" >> $HOME/ML_wallets.txt
done
Делаем 400 левых мультов
for i in {101..400}
do
mult=ML${i}
${TIKER} keys add wallet_$mult
done
for i in {101..400}
do
mult=ML${i}
echo "$(${TIKER} keys show wallet_${mult} -a)" >> $HOME/ML_wallets.txt
done
Делаем 100 левых мультов до 500
for i in {401..500}
do
mult=ML${i}
${TIKER} keys add wallet_$mult
done
for i in {401..500}
do
mult=ML${i}
echo "$(${TIKER} keys show wallet_${mult} -a)" >> $HOME/ML_wallets.txt
done
for i in {1..100}
do
mult=ML${i}
echo $mult
${TIKER} query bank balances $(${TIKER} keys show wallet_${mult} -a)
done
Задаем префикс мульта
mult=M1
mult=ALBINA
mult=LYUN
echo "export WALLET_$mult=wallet_$mult" >> $HOME/.bash_profile
source $HOME/.bash_profile
${TIKER} keys add wallet_$mult
echo 'export WALLET_'${mult}'_ADDRESS='$(${TIKER} keys show wallet_${mult} -a) >> $HOME/.bash_profile
echo 'export VALOPER_'${mult}'_ADDRESS='$(${TIKER} keys show wallet_${mult} --bech val -a) >> $HOME/.bash_profile
source $HOME/.bash_profile
${TIKER} query bank balances $(${TIKER} keys show wallet_${mult} -a)
${TIKER} tx bank send $(${TIKER} keys show wallet_${mult} -a) $MAIN_WALLET_ADDRESS 10000000${TOKEN} --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices 0.025${TOKEN} -y
FROM=wallet_MU1
TO=${WALLET_LYUN_ADDRESS}
#TO=${WALLET_SEM_ADDRESS}
${TIKER} tx bank send $(${TIKER} keys show "${FROM}" -a) $(${TIKER} keys show "${TO}" -a) "140000000${TOKEN}" --gas-adjustment 1.4 --gas auto --gas-prices=0.025"${TOKEN}" -y
Проверяем баланс на мультах 1-60
for i in {1..60}
do
mult=M${i}
echo $mult
${TIKER} query bank balances $(${TIKER} keys show wallet_${mult} -a)
done
Проверяем баланс на мультах Альбины
for i in {1..10}
do
mult=MA${i}
echo $mult
${TIKER} query bank balances $(${TIKER} keys show wallet_${mult} -a)
done
Проверяем баланс на мультах Юрика
for i in {1..10}
do
mult=MU${i}
echo $mult
${TIKER} query bank balances $(${TIKER} keys show wallet_${mult} -a)
done
Баланс на кошельке Юрика
${TIKER} query bank balances $WALLET_LYUN_ADDRESS
Делегируем 5 токенов
${TIKER} tx staking delegate $MAIN_VALOPER_ADDRESS 5000000${TOKEN} --from=$WALLET --chain-id=$CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
Делегируем 100 токенов с адреса Юрика
${TIKER} tx staking delegate $MAIN_VALOPER_ADDRESS 100000000unibi --from=$WALLET_LYUN --chain-id=$CHAIN_ID --gas=auto -y
Собираем со всех мультов
. <(wget -qO- http://astrader.net:3006/sem/Nodes/raw/branch/master/Nibiru/faucet.sh)
Делегируем 10 токенов с адреса Альбины на основной
${TIKER} tx staking delegate $MAIN_VALOPER_ADDRESS 10000000${TOKEN} --from=$WALLET_ALBINA --chain-id=$CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
Делегируем 10 токенов с адреса LYUN
${TIKER} tx staking delegate $MAIN_VALOPER_ADDRESS 10000000${TOKEN} --from=$WALLET_LYUN --chain-id=$CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
Ределегируем с основного на левый
${TIKER} tx staking redelegate nibivaloper1vgh5ry6zwjp007f90wfwgung6l4z6330tmqsw4 $MAIN_VALOPER_ADDRESS 10000000${TOKEN} --from $WALLET --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
${TIKER} tx staking redelegate $VALOPER_SEM_ADDRESS nibivaloper1nmt9zlgmcn6f9qj3gepxdfy690kkna0xkwfvgp 20000000${TOKEN} --from $WALLET_SEM --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
${TIKER} tx staking redelegate $VALOPER_SEM_ADDRESS nibivaloper1nmt9zlgmcn6f9qj3gepxdfy690kkna0xkwfvgp 10000000000${TOKEN} --from $WALLET_SEM --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
nibivaloper1nmt9zlgmcn6f9qj3gepxdfy690kkna0xkwfvgp
Ределегируем с основного валика на левый с кошелька Юрика
${TIKER} tx staking redelegate $MAIN_VALOPER_ADDRESS nibivaloper1vgh5ry6zwjp007f90wfwgung6l4z6330tmqsw4 400000000${TOKEN} --from $WALLET_LYUN --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
Ределегирую с себя на альбину
${TIKER} tx staking redelegate $VALOPER_ALBINA_ADDRESS $VALOPER_SEM_ADDRESS 600000000${TOKEN} --from $WALLET_SEM --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
Ределегируем с основного валика на левый с кошелька Альбины
${TIKER} tx staking redelegate $MAIN_VALOPER_ADDRESS nibivaloper1vgh5ry6zwjp007f90wfwgung6l4z6330tmqsw4 260000000${TOKEN} --from $WALLET_ALBINA --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
Ределегируем с валика Альбины на Юрика с кошелька Альбины
${TIKER} tx staking redelegate $MAIN_VALOPER_ADDRESS nibivaloper1rgtn6rxk5nv04x4tawml3psk0dn95qphypqrlt 1000000000${TOKEN} --from $WALLET_ALBINA --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
Ределегируем с валика Юрика на Основного с кошелька Альбины
${TIKER} tx staking redelegate nibivaloper1rgtn6rxk5nv04x4tawml3psk0dn95qphypqrlt $MAIN_VALOPER_ADDRESS 3000000000${TOKEN} --from $WALLET_ALBINA --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
Отправить токены с Юрика на свой адрес
${TIKER} tx bank send $WALLET_LYUN $MAIN_WALLET_ADDRESS 1000000${TOKEN} --from $MAIN_WALLET_ADDRESS --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
Отправить токены с Юрика на Альбину
${TIKER} tx bank send $WALLET_LYUN $WALLET_ALBINA_ADDRESS 1000000${TOKEN} --from $WALLET_ALBINA --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
Делегируем с основного на левый 19 монет
${TIKER} tx staking delegate nibivaloper1vgh5ry6zwjp007f90wfwgung6l4z6330tmqsw4 80000000${TOKEN} --from=$WALLET --chain-id=$CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
Делегируем с Юрика на Юрика
${TIKER} tx staking delegate $VALOPER_LYUN_ADDRESS 10000000${TOKEN} --from=$WALLET_LYUN --chain-id=$CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
Делегируем с Альбины на Основной 50 монет
${TIKER} tx staking delegate $MAIN_VALOPER_ADDRESS 50000000${TOKEN} --from=$WALLET_ALBINA --chain-id=$CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
Собираем реварды на основной кошель со всех валидаторов
${TIKER} tx distribution withdraw-all-rewards --from $WALLET_SEM --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
Собираем комиссии на основном
${TIKER} tx distribution withdraw-rewards $MAIN_VALOPER_ADDRESS --commission --from wallet --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
собираем комиссии у Юрика
${TIKER} tx distribution withdraw-rewards $VALOPER_LYUN_ADDRESS --commission --from $WALLET_LYUN --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
Собираем реварды на кошель Юрика со всех валидаторов
${TIKER} tx distribution withdraw-all-rewards --from $WALLET_LYUN --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
Собираем реварды на кошель Альбины со всех валидаторов
${TIKER} tx distribution withdraw-all-rewards --from $WALLET_ALBINA --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
Собираем реварды на кошелек Альбьины с Юрика
${TIKER} tx distribution withdraw-rewards $VALOPER_LYUN_ADDRESS --from $WALLET_ALBINA --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
Голосуем с основного кошелька
${TIKER} tx gov vote 1 yes --from $WALLET --chain-id $CHAIN_ID --gas-prices 0.1${TOKEN} --gas-adjustment 1.5 --gas auto -y
Рестейк ревардов и комиссий на основном кошельке
cd $HOME
wget -q -O restake_main.sh http://astrader.net:3006/sem/Nodes/raw/branch/master/Nibiru/restake_main.sh && chmod +x restake_main.sh
now=`date`
echo "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-"
echo "Current date: $now"
TIKER=${TIKER}
TOKEN=${TOKEN}
CHAIN_ID=$CHAIN_ID
ST_WALLET=$WALLET
ST_WALLET_ADDRESS=$MAIN_WALLET_ADDRESS
ST_VALOPER_ADDRESS=$MAIN_VALOPER_ADDRESS
${TIKER} tx distribution withdraw-all-rewards --from wallet --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025${TOKEN} -y
echo "собираем комиссию и реварды"
if [[ $(date +%M) == "00" && $(date +%H) == "00" ]]
then
${TIKER} tx distribution withdraw-rewards $ST_VALOPER_ADDRESS --commission --from $ST_WALLET --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
else
${TIKER} tx distribution withdraw-rewards $ST_VALOPER_ADDRESS --from $ST_WALLET --chain-id $CHAIN_ID --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
fi
sleep 10
BAL=$(${TIKER} query bank balances ${ST_WALLET_ADDRESS} -o json | jq -r --arg TOKEN $TOKEN '.balances[] | select(.denom==$TOKEN) | .amount')
echo "собрали баланс " $BAL
C=$(((BAL-10000)/1000000))
echo "баланс: " $C
if [ "$C" -gt "0" ]
then
echo "стейкаем " $C " токенов"
${TIKER} tx staking delegate $ST_VALOPER_ADDRESS "${C}000000${TOKEN}" --from=$ST_WALLET --chain-id=$CHAIN_ID --gas-prices 0.1${TOKEN} --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
else
echo "баланс меньше нуля, ждем"
fi
Рестейк ревардов и комиссий на кошельке Альбины
now=`date`
echo "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-"
echo "Current date: $now"
TIKER=${TIKER}
TOKEN=${TOKEN}
CHAIN_ID=$CHAIN_ID
ST_WALLET=$WALLET_ALBINA
ST_WALLET_ADDRESS=$WALLET_ALBINA_ADDRESS
ST_VALOPER_ADDRESS=$MAIN_VALOPER_ADDRESS
#echo "собираем комиссию"
#${TIKER} tx distribution withdraw-rewards $ST_VALOPER_ADDRESS --commission --from $ST_WALLET --chain-id $CHAIN_ID --gas-prices 0.1${TOKEN} --gas-adjustment 1.5 --gas auto -y
#sleep 10
echo "собираем реварды"
${TIKER} tx distribution withdraw-rewards --from $ST_WALLET --chain-id $CHAIN_ID --gas-prices 0.1${TOKEN} --gas-adjustment 1.5 --gas auto -y
sleep 10
BAL=$(${TIKER} query bank balances ${ST_WALLET_ADDRESS} -o json | jq -r --arg TOKEN $TOKEN '.balances[] | select(.denom==$TOKEN) | .amount')
echo "собрали баланс " $BAL
C=$(((BAL-10000)/1000000))
echo "баланс: " $C
if [ "$C" -gt "0" ]
then
echo "стейкаем " $C " токенов"
${TIKER} tx staking delegate $ST_VALOPER_ADDRESS "${C}000000${TOKEN}" --from=$ST_WALLET --chain-id=$CHAIN_ID --gas-prices 0.1${TOKEN} --gas-adjustment 1.5 --gas auto -y
else
echo "баланс меньше нуля, ждем"
fi
Рестейк ревардов и комиссий на кошельке Юрика
now=`date`
echo "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-"
echo "Current date: $now"
TIKER=${TIKER}
TOKEN=${TOKEN}
CHAIN_ID=$CHAIN_ID
ST_WALLET=$WALLET_LYUN
ST_WALLET_ADDRESS=$WALLET_LYUN_ADDRESS
ST_VALOPER_ADDRESS=$VALOPER_LYUN_ADDRESS
#echo "собираем реварды и комиссиию раз в час"
if [$(date +%M)==0]
then
${TIKER} tx distribution withdraw-rewards $ST_VALOPER_ADDRESS --commission --from $ST_WALLET --chain-id $CHAIN_ID --gas-prices 0.1${TOKEN} --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
else
${TIKER} tx distribution withdraw-rewards $ST_VALOPER_ADDRESS --from $ST_WALLET --chain-id $CHAIN_ID --gas-prices 0.1${TOKEN} --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
fi
#${TIKER} tx distribution withdraw-rewards $ST_VALOPER_ADDRESS --commission --from $ST_WALLET --chain-id $CHAIN_ID --gas-prices 0.1${TOKEN} --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
sleep 15
#echo "собираем реварды"
#${TIKER} tx distribution withdraw-all-rewards --from $ST_WALLET --chain-id $CHAIN_ID --gas-prices 0.1${TOKEN} --gas-adjustment 1.5 --gas auto -y
#sleep 15
BAL=$(${TIKER} query bank balances ${ST_WALLET_ADDRESS} -o json | jq -r --arg TOKEN $TOKEN '.balances[] | select(.denom==$TOKEN) | .amount')
echo "собрали баланс " $BAL
C=$(((BAL-10000)/1000000))
echo "баланс: " $C
if [ "$C" -gt "0" ]
then
echo "стейкаем " $C " токенов"
${TIKER} tx staking delegate $ST_VALOPER_ADDRESS "${C}000000${TOKEN}" --from=$ST_WALLET --chain-id=$CHAIN_ID --gas-prices 0.1${TOKEN} --gas-adjustment 1.4 --gas auto --gas-prices=0.025${TOKEN} -y
else
echo "баланс меньше нуля, ждем"
fi
#Бежим из тюрьмы
now=`date`
CHAIN_ID=nibiru-testnet-2
TIKER=${TIKER}
TOKEN=${TOKEN}
VALOPER=$(${TIKER} keys show ${WALLET} --bech val -a)
node_info=$(${TIKER} q staking validators -oj --limit=4000 | jq ".validators[] | select(.operator_address==\"${VALOPER}\")" )
jailed=`jq -r ".jailed" <<< $node_info`
echo $jailed
if [ "$jailed" = "true" ]; then
echo "Current date: $now --- > The validator is in a jail!"
echo "Reason"
${TIKER} query slashing signing-info $(${TIKER} tendermint show-validator)
#${TIKER} tx slashing unjail --from $WALLET --chain-id $CHAIN_ID --gas-prices 0.1${TOKEN} --gas-adjustment 1.5 --gas auto -y
fi
FAUCET_URL="https://faucet.itn-1.nibiru.fi/"
ADDR="nibi1jsy2p476j05vn77gg9t0gn58vw5c7l3uj20vqj"
curl -X POST -d '{"address": "'"$ADDR"'", "coins": ["11000000unibi","100000000unusd","100000000uusdt"]}' $FAUCET_URL
{"status":"success","log":"tokens successfully sent","data":[{"denom":"unibi","amount":"11000000"},{"denom":"unusd","amount":"100000000"},{"denom":"uusdt","amount":"100000000"}]}
Проверить оракула
# успешно проголосовал
journalctl -u pricefeeder -S 2023-02-27 -o cat | grep successfully | wc -l
#всего транзакций
nibid q account nibi1tskqwqe7py55lfh2seyhy5vx5la83u46qq9tnc -o json | jq -r .sequence
задания
[1] Stake at least 1 NIBI to a validator для SEM
nibid tx staking delegate $VALOPER_SEM_ADDRESS 1000000unibi --from $WALLET_SEM --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx distribution withdraw-rewards $VALOPER_SEM_ADDRESS --commission --from $WALLET_SEM --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx staking redelegate $VALOPER_SEM_ADDRESS $VALOPER_ALBINA_ADDRESS 1000000unibi --from $WALLET_SEM --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx staking unbond $VALOPER_SEM_ADDRESS 1000000unibi --from $WALLET_SEM --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx distribution withdraw-all-rewards --from $WALLET_SEM --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
для ALBINA
nibid tx staking delegate $VALOPER_ALBINA_ADDRESS 1000000unibi --from $WALLET_ALBINA --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx distribution withdraw-rewards $VALOPER_SEM_ADDRESS --commission --from $WALLET_ALBINA --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx staking redelegate $VALOPER_SEM_ADDRESS $VALOPER_ALBINA_ADDRESS 1000000unibi --from $WALLET_ALBINA --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx staking unbond $VALOPER_ALBINA_ADDRESS 1000000unibi --from $WALLET_ALBINA --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx distribution withdraw-all-rewards --from $WALLET_ALBINA --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
для LYUN
nibid tx staking delegate $VALOPER_LYUN_ADDRESS 1000000unibi --from $WALLET_LYUN --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx distribution withdraw-rewards $VALOPER_SEM_ADDRESS --commission --from $WALLET_LYUN --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx staking redelegate $VALOPER_SEM_ADDRESS $VALOPER_LYUN_ADDRESS 1000000unibi --from $WALLET_LYUN --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx staking unbond $VALOPER_LYUN_ADDRESS 1000000unibi --from $WALLET_LYUN --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx distribution withdraw-all-rewards --from $WALLET_LYUN --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
для ALINA
nibid tx staking delegate $VALOPER_ALINA_ADDRESS 1000000unibi --from $WALLET_ALINA --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx distribution withdraw-rewards $VALOPER_SEM_ADDRESS --commission --from $WALLET_ALINA --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx staking redelegate $VALOPER_ALINA_ADDRESS $VALOPER_SEM_ADDRESS 1000000unibi --from $WALLET_ALINA --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx staking unbond $VALOPER_ALINA_ADDRESS 1000000unibi --from $WALLET_ALINA --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx distribution withdraw-all-rewards --from $WALLET_ALINA --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
Transaction
[2] Claim rewards
nibid tx distribution withdraw-rewards $(nibid keys show wallet --bech val -a) --commission --from wallet --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
Transaction
[3] Redelegate your stake from one validator to another
nibid tx staking redelegate $(nibid keys show wallet --bech val -a) <TO_VALOPER_ADDRESS> 1000000unibi --from wallet --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
Transaction
[4] Stake to an oracle
N/A [5] Unstake your tokens
nibid tx staking unbond $(nibid keys show wallet --bech val -a) 1000000unibi --from wallet --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
Transaction
nibid tx gov vote 10 yes --from Pitonnode2 --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y Голосование 266
nibid tx gov vote 266 yes --from $WALLET_SEM --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx gov vote 266 yes --from $WALLET_LYUN --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx gov vote 266 yes --from $WALLET_ALBINA --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx gov vote 266 yes --from $WALLET_ALINA --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx gov vote 266 yes --from $WALLET_UZ --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx gov vote 266 yes --from $WALLET_UZ2 --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
#nibid tx gov vote 10 yes --from nibi1h2ccuaea8gg9twg0qf4u7q7qrm3487863ud46v --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx gov vote 266 yes --from wallet --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
Голосование 266
nibid tx gov vote 576 yes --from $WALLET_SEM --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx gov vote 576 yes --from $WALLET_LYUN --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx gov vote 576 yes --from $WALLET_ALBINA --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx gov vote 576 yes --from $WALLET_ALINA --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx gov vote 576 yes --from $WALLET_UZ --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx gov vote 576 yes --from $WALLET_UZ2 --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
#nibid tx gov vote 10 yes --from nibi1taxsfudn2kjz39xy6qh7mgwnalxtmr734zkk78 --chain-id nibiru-itn-1 --gas-adjustment 1.4 --gas auto --gas-prices 0.025unibi -y
nibid tx gov submit-proposal --title="Governance Proposal to add maximum per block gas" --description="To stop potential attacks against the network via the use of malicious smart contracts, we need to set a max per block gas limit. " --type="Text" --deposit="11000000unibi" --from=$WALLET_SEM --fees 5000unibi
nibid tx gov submit-proposal --title="Integrate a bot-checker that checks NIT tasks into the Discord." --description="Telegram bot-checker (https://t.me/stakeVillage_check_nodes_bot) is a very popular and convenient tool. It will be very useful for the community to have this bot in Discord to evaluate achievements." --type="Text" --deposit="11000000unibi" --from=$WALLET_ALBINA --fees 5000unibi
nibid q staking validator nibivaloper1jsy2p476j05vn77gg9t0gn58vw5c7l3um3ph50 -o json | jq -r '.status'