jiOnederfull / node-setup-docs

2 stars 0 forks source link

Cosmos / Testnet #1

Open jiOnederfull opened 2 years ago

jiOnederfull commented 2 years ago

사전 작업

1. 스냅샷 다운로드

lz4 cosmoshub-4-pruned.20220612.0310.tar.lz4
tar xvf cosmoshub-4-pruned.20220612.0310.tar

2. https://hub.cosmos.network/main/getting-started/installation.html

Tools 설치

make --help
gcc --help
brew install make
brew install gcc

Go 설치

vi .profile
export PATH=$PATH:/usr/local/go/bin:/Users/jiwon/go/bin
source ~/.profile
go version
jiOnederfull commented 2 years ago
jiOnederfull commented 2 years ago
# brew install git
git clone -b v7.0.0-rc0 https://github.com/cosmos/gaia
cd gaia && make install
# .profile에 gaiad 설치된 go 경로 추가
gaiad version
find / -name .gaia # 경로 찾기
cd #경로
rm -r .gaia
touch .gaia
gaiad version
gaiad version --home #원하는 경로
jiOnederfull commented 2 years ago

gaiad init moniker --home #원하는 경로
jiOnederfull commented 2 years ago

client.toml

theta-testnet-001

app.toml

minimum-gas-prices = "0.001uatom"

config.toml

seeds = "639d50339d7045436c756a042906b9a69970913f@seed-01.theta-testnet.polypore.xyz:26656, 3e506472683ceb7ed75c1578d092c79785c27857@seed-02.theta-testnet.polypore.xyz:26656"

jiOnederfull commented 2 years ago

Prepare genesis file

mv genesis.json genesis_orgn.json
wget https://github.com/hyphacoop/testnets/raw/add-theta-testnet/v7-theta/public-testnet/genesis.json.gz
gzip -d genesis.json.gz
jiOnederfull commented 2 years ago

start.sh

nohup \
gaiad start --x-crisis-skip-assert-invariants --home=/mnt/cosmos >> /var/log/cosmos.log 2>&1 &
echo "true"