Minimum sistem gereksinimi 3CPU 4RAM 80GB. Gitopia nodenin yanına kurarsanız port çakışması oluyor. Biliyorsanız portları değiştirirsiniz. Bilmeyenler gitopia node yanına kurmasın.
source <(curl -s https://raw.githubusercontent.com/nodejumper-org/cosmos-scripts/master/terp/athena-2/install.sh)
sudo systemctl stop terpd
cd || return
rm -rf terp-core
git clone https://github.com/terpnetwork/terp-core.git
cd terp-core || return
git checkout v0.1.2
make install
terpd version # v0.1.2
terpd config chain-id athena-2
terpd tendermint unsafe-reset-all --home $HOME/.terp
curl -s https://raw.githubusercontent.com/terpnetwork/test-net/master/athena-2/genesis.json > $HOME/.terp/config/genesis.json
sha256sum $HOME/.terp/config/genesis.json # b2acc7ba63b05f5653578b05fc5322920635b35a19691dbafd41ef6374b1bc9a
seeds=""
peers="15f5bc75be9746fd1f712ca046502cae8a0f6ce7@terp-testnet.nodejumper.io:26656,[email protected]:36656,[email protected]:28656,[email protected]:26656,[email protected]:56656"
sed -i -e 's|^seeds *=.*|seeds = "'$seeds'"|; s|^persistent_peers *=.*|persistent_peers = "'$peers'"|' $HOME/.terp/config/config.toml
sudo systemctl restart terpd
sudo journalctl -u terpd -f --no-hostname -o cat
sudo apt update
sudo apt install lz4 -y
sudo systemctl stop terpd
cp $HOME/.terp/data/priv_validator_state.json $HOME/.terp/priv_validator_state.json.backup
terpd tendermint unsafe-reset-all --home $HOME/.terp --keep-addr-book
rm -rf $HOME/.terp/data
rm -rf $HOME/.terp/wasm
SNAP_NAME=$(curl -s https://snapshots2-testnet.nodejumper.io/terpnetwork-testnet/ | egrep -o ">athena-2.*\.tar.lz4" | tr -d ">")
curl https://snapshots2-testnet.nodejumper.io/terpnetwork-testnet/${SNAP_NAME} | lz4 -dc - | tar -xf - -C $HOME/.terp
mv $HOME/.terp/priv_validator_state.json.backup $HOME/.terp/data/priv_validator_state.json
sudo systemctl restart terpd
sudo journalctl -u terpd -f --no-hostname -o cat
yeni cüzdan oluşturma, $WALLET yerine cüzdan ismi yazın. (kelimeleri kaydetmeyi unutmayın!)
terpd keys add $WALLET
yada var olan cüzdanı kullanma, $WALLET yerine cüzdan ismi yazın.
terpd keys add $WALLET --recover
dc den faucet terpx ve persyx alıyoruz.
validatör ve cüzdan adınızı xxxxxxx olan yere yazın
terpd tx staking create-validator \
--amount=9000000uterpx \
--pubkey=$(terpd tendermint show-validator) \
--moniker=xxxxxxx \
--chain-id=athena-2 \
--commission-rate=0.10 \
--commission-max-rate=0.20 \
--commission-max-change-rate=0.01 \
--min-self-delegation=1 \
--from=xxxxxxx \
--fees=300upersyx \
-y
peers="15f5bc75be9746fd1f712ca046502cae8a0f6ce7@terp-testnet.nodejumper.io:30656,[email protected]:26656,[email protected]:28656,[email protected]:28656,[email protected]:26656,[email protected]:33656,[email protected]:33656,[email protected]:26465,[email protected]:26649,[email protected]:33656,[email protected]:33656,[email protected]:33656,[email protected]:60656,[email protected]:56656,[email protected]:18656,[email protected]:33656,[email protected]:26656,[email protected]:26656,[email protected]:26546,[email protected]:26656,[email protected]:33656,[email protected]:56656,[email protected]:33656,[email protected]:33656,[email protected]:18656,[email protected]:26620,[email protected]:21856,[email protected]:56155,[email protected]:10656,[email protected]:26656,[email protected]:16656,[email protected]:33656,[email protected]:26656,[email protected]:55656,[email protected]:20656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:33656,[email protected]:26656,[email protected]:26656"
sed -i 's|^persistent_peers *=.*|persistent_peers = "'$peers'"|' $HOME/.terp/config/config.toml
sudo systemctl restart terpd
sudo journalctl -u terpd -f --no-hostname -o cat
sudo journalctl -u terpd -f --no-hostname -o cat