diff --git a/Artela.sh b/Artela.sh index 16e5b0d..e876553 100644 --- a/Artela.sh +++ b/Artela.sh @@ -164,6 +164,34 @@ function check_sync_status() { artelad status 2>&1 | jq .SyncInfo } +# 创建验证者 +function add_validator() { + pubkey=$(artelad tendermint show-validator) + read -p "请输入您的钱包名称: " wallet_name + read -p "请输入您想设置的验证者的名字: " validator_name + read -p "请输入您的验证者详情(例如'吊毛资本'): " details + sudo tee ~/validator.json > /dev/null <