Skip to content

Commit

Permalink
Use the addrbook.json as the single source of truth setting up testnets
Browse files Browse the repository at this point in the history
  • Loading branch information
measure-fi committed Jun 22, 2022
1 parent a45fb98 commit 51803cb
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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`
Expand All @@ -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
```

Expand Down

0 comments on commit 51803cb

Please sign in to comment.