-
Notifications
You must be signed in to change notification settings - Fork 432
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #798 from EmpowerPlastic/circulus-readme
genesis launch readme
- Loading branch information
Showing
1 changed file
with
17 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -64,4 +64,20 @@ Make sure you also do a rename of the file when copying or before submitting the | |
|
||
## Genesis launch | ||
|
||
TODO | ||
**Check genesis** | ||
```bash | ||
sha256sum $HOME/.empowerchain/config/genesis.json | ||
Result: f01a9b70ac51d919091ad48465100d1f770c1c3788a322e4fa49549d5c3041de | ||
``` | ||
|
||
**Set minimum gas price** | ||
```bash | ||
sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.025umpwr\"/" $HOME/.empowerchain/config/app.toml | ||
``` | ||
|
||
**Seeds and peers** | ||
```bash | ||
seeds="[email protected]:26656" | ||
peers="[email protected]:26656,[email protected]:26656,[email protected]:27656,[email protected]:26656,[email protected]:26656" | ||
sed -i -e 's|^seeds *=.*|seeds = "'$seeds'"|; s|^persistent_peers *=.*|persistent_peers = "'$peers'"|' $HOME/.empowerchain/config/config.toml | ||
``` |