Update Artela.sh
This commit is contained in:
parent
b1d5c5e1df
commit
9a0693aee9
@ -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
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user