21 lines
482 B
Bash
Executable File
21 lines
482 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
DENOM=alnt
|
|
|
|
# Create validator with fixed parameters
|
|
laconicd tx staking create-validator \
|
|
--amount 900000000$DENOM \
|
|
--pubkey $(laconicd tendermint show-validator) \
|
|
--moniker "$CERC_MONIKER" \
|
|
--chain-id "$CERC_CHAIN_ID" \
|
|
--commission-rate 0.0 \
|
|
--commission-max-rate 0.0 \
|
|
--commission-max-change-rate 0.0 \
|
|
--min-self-delegation 1 \
|
|
--gas auto \
|
|
--gas-adjustment 1.5 \
|
|
--gas-prices $MIN_GAS_PRICE$DENOM \
|
|
--from $KEY_NAME \
|
|
--yes
|