Created
September 7, 2021 18:30
-
-
Save drbh/8fbe6e5c7990816f666c3da03f05c6f4 to your computer and use it in GitHub Desktop.
How to run a mainnet Terra node
This file contains hidden or 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
# clone release branch | |
git clone [email protected]:terra-money/core.git --branch=v0.4.6 | |
# move into dir | |
cd core | |
# build it | |
make install | |
# check that we have the right version... etc | |
terrad version --long | head -n 6 | |
# name: terra | |
# server_name: terrad | |
# client_name: terracli | |
# version: 0.4.6 | |
# commit: c39ed2804dbb625c283d1cd11fac8d3bc79ff328 | |
# build_tags: netgo,ledger | |
# make config dir | |
mkdir -p ~/.terrad/config | |
# we'll want to use config vars related to the most recent mainnet deployment columbus-4 | |
# from https://github.com/terra-money/mainnet/tree/master/columbus-4 | |
# clone json for network gen | |
curl \ | |
https://columbus-genesis.s3-ap-northeast-1.amazonaws.com/columbus-4-genesis.json \ | |
> ~/.terrad/config/genesis.json | |
# clone json for rpc endpoints (this file is nightly) | |
curl \ | |
https://network.terra.dev/addrbook.json \ | |
> ~/.terrad/config/addrbook.json | |
# update config to have columbus-4 seeds | |
echo ' | |
seeds = "5d9b8ac70000bd4ab1de3ccaf85eb43f8e315146@seed.terra.delightlabs.io:26656,[email protected]:26656,[email protected]:26656" | |
' >> ~/.terrad/config/config.toml | |
# start it 🏃♀️ | |
terrad start --log_level "main:debug,state:debug,*:debug" --trace | |
# I[2021-09-07|14:23:25.273] starting ABCI with Tendermint module=main | |
# . . . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment