Update Artela.sh

This commit is contained in:
smeb y 2024-04-19 11:56:32 +08:00 committed by GitHub
parent b1d5c5e1df
commit 9a0693aee9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -172,8 +172,6 @@ function check_sync_status() {
function add_validator() { function add_validator() {
read -p "请输入您的钱包名称: " wallet_name read -p "请输入您的钱包名称: " wallet_name
read -p "请输入您想设置的验证者的名字: " validator_name read -p "请输入您想设置的验证者的名字: " validator_name
sudo tee ~/validator.json >> /dev/null <<EOF
{
artelad tx staking create-validator \ artelad tx staking create-validator \
--amount=1000000uart \ --amount=1000000uart \
@ -192,7 +190,6 @@ artelad tx staking create-validator \
--gas=auto \ --gas=auto \
--node $Artela_RPC_PORT --node $Artela_RPC_PORT
-y -y
EOF
} }