-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the addrbook.json as the single source of truth setting up testnets
- Loading branch information
1 parent
a45fb98
commit 51803cb
Showing
1 changed file
with
3 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,6 @@ palomad query bank balances --node tcp://testnet.palomaswap.com:26657 "$ADDRESS" | |
|
||
Stake your funds and create our validator. | ||
```shell | ||
MAIN_VALIDATOR_NODE="tcp://164.90.134.139:26656" | ||
CHAIN_ID="paloma-testnet-5" | ||
DEFAULT_GAS_AMOUNT="10000000" | ||
VALIDATOR_STAKE_AMOUNT=100000000000ugrain | ||
|
@@ -107,16 +106,14 @@ palomad tx staking create-validator \ | |
--commission-max-change-rate="0.05" \ | ||
--min-self-delegation="100" \ | ||
--gas=$DEFAULT_GAS_AMOUNT \ | ||
--node "$MAIN_VALIDATOR_NODE" \ | ||
--yes \ | ||
-b block | ||
``` | ||
|
||
Start it! | ||
|
||
```shell | ||
MAIN_PEER_DESIGNATION=e1efddf3b39f1953590f8264d30d71d1a1313061@164.90.134.139:26656 | ||
palomad start --p2p.persistent_peers "$MAIN_PEER_DESIGNATION" | ||
palomad start | ||
``` | ||
|
||
#### Running with `systemd` | ||
|
@@ -132,18 +129,16 @@ ConditionPathExists=/usr/local/bin/palomad | |
[Service] | ||
Type=simple | ||
LimitNOFILE=65535 | ||
Restart=always | ||
RestartSec=5 | ||
WorkingDirectory=~ | ||
ExecStartPre= | ||
ExecStart=/usr/local/bin/palomad start --p2p.persistent_peers [email protected]:26656 | ||
ExecStart=/usr/local/bin/palomad start | ||
ExecReload= | ||
[Install] | ||
WantedBy=multi-user.target | ||
[Service] | ||
LimitNOFILE=65535 | ||
EOT | ||
``` | ||
|
||
|