Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme.md #85

Merged
merged 2 commits into from
Oct 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 24 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,15 +169,14 @@ Available Commands:
help Help about any command
init Initialize private validator, p2p, genesis, and application configuration files
keys Manage your application's keys
migrate Migrate genesis to a specified target version
query Querying subcommands
rollback rollback cosmos-sdk and tendermint state by one height
rosetta spin up a rosetta server
start Run the full node
status Query remote node for status
tendermint Tendermint subcommands
testnet Initialize files for a terrad testnet
tx Transactions subcommands
unsafe-reset-all Resets the blockchain database, removes address book files, and resets data/priv_validator_state.json to the genesis state
validate-genesis validates the genesis file at the default location or at the location passed as an arg
version Print the application binary version information

Expand Down Expand Up @@ -209,10 +208,31 @@ The following requirements are recommended for running a mainnet node:
- A Linux distribution

### Terra node quickstart

**Initialize node**
```
terrad init [your_node_moniker] --chain-id "phoenix-1"
```

**Download genesis**
```
terrad init nodename
wget -O ~/.terra/config/genesis.json https://cloudflare-ipfs.com/ipfs/QmZAMcdu85Qr8saFuNpL9VaxVqqLGWNAs72RVFhchL9jWs
curl https://network.terra.dev/addrbook.json > ~/.terrad/config/addrbook.json
```

**Add seed**
```
seeds="[email protected]:11756,[email protected]:10856,fc608a9a117d8d2302bcd181aec34eec6bb4fa96@terra2-seed.blockpane.com:26656"
sed -i.bak -e "s/^seeds *=.*/seeds = \"$seeds\"/" $HOME/.terra/config/config.toml;
```

**Address book**
```
wget -O "$HOME/addrbook.json" https://snapshots.polkachu.com/addrbook/terra/addrbook.json
mv "$HOME/addrbook.json" "$HOME/.terra/config/"
```

**Start Terra binary**
```
terrad start
```

Expand Down