MMS

 

Paloma

Info
Websitehttps://www.palomachain.com/
Explorer
ValidatorMMS
Typetestnet
Chain-idpaloma-testnet-15
Node version1.12.2
TokenGRAIN
Denomugrain
Bech32 Prefixpaloma
Genesis:
wget https://snapshots.mms.team/paloma/testnet/genesis.json
Addrbook:
wget https://snapshots.mms.team/paloma/testnet/addrbook.json

RPC:

https://rpc-paloma-testnet.mms.team

gRPC:

https://grpc-paloma-testnet.mms.team

API:

https://api-paloma-testnet.mms.team

Seed node:

21c9f92816ad8703d62d3b25ce5ffd9b277f7193@seed-node-testnet.mms.team:30656

Peer:

7fddb3d6c46f96e0d10ab84513f9d71c0f1cc493@peer-paloma-testnet.mms.team:56104
Snapshot

Block Height: 14758078
Size: 114M
Snapshot time: 2024-04-01 01:00:57
File: snapshot_palomad_20240401010101.tar.lz4

# Set variables
PROJECT_NAME=paloma
PROJECT_TYPE=testnet
PROJECT_SERVICE=palomad
PROJECT_BINARY=palomad
PROJECT_FOLDER=~/.paloma
# Install lz4
sudo apt update
sudo apt-get install snapd lz4 -y
# Disable State Sync
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ${PROJECT_FOLDER}/config/config.toml
# Stop and reset node
sudo systemctl stop ${PROJECT_SERVICE}
cp ${PROJECT_FOLDER}/data/priv_validator_state.json ${PROJECT_FOLDER}/priv_validator_state.json.backup
${PROJECT_BINARY} tendermint unsafe-reset-all --home ${PROJECT_FOLDER} --keep-addr-book
# Download Snapshot
SNAPSHOT_NAME=$(curl -s https://snapshots.mms.team/${PROJECT_NAME}/${PROJECT_TYPE}/ | egrep -o ">snapshot.*\.tar.lz4" | tr -d ">" | tail -n 1)
curl -o - -L https://snapshots.mms.team/${PROJECT_NAME}/${PROJECT_TYPE}/${SNAPSHOT_NAME}  | lz4 -c -d - | tar -x -C ${PROJECT_FOLDER}
# Restore priv_validator_state.json
mv ${PROJECT_FOLDER}/priv_validator_state.json.backup ${PROJECT_FOLDER}/data/priv_validator_state.json
# Restart Node
sudo systemctl restart ${PROJECT_SERVICE}
journalctl -u ${PROJECT_SERVICE} -f
State Sync
# Set variables
PROJECT_NAME=paloma
PROJECT_TYPE=testnet
PROJECT_SERVICE=palomad
PROJECT_BINARY=palomad
PROJECT_FOLDER=~/.paloma
SNAP_RPC="https://rpc-paloma-testnet.mms.team:443"
PEERS="7fddb3d6c46f96e0d10ab84513f9d71c0f1cc493@peer-paloma-testnet.mms.team:56104"
# Stop and reset node
sudo systemctl stop ${PROJECT_SERVICE}
cp ${PROJECT_FOLDER}/data/priv_validator_state.json ${PROJECT_FOLDER}/priv_validator_state.json.backup
${PROJECT_BINARY} tendermint unsafe-reset-all --home ${PROJECT_FOLDER} --keep-addr-book
# Add peer
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" ${PROJECT_FOLDER}/config/config.toml
# Configure State Sync
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height);\
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"|" ${PROJECT_FOLDER}/config/config.toml
# Restore priv_validator_state.json
mv ${PROJECT_FOLDER}/priv_validator_state.json.backup ${PROJECT_FOLDER}/data/priv_validator_state.json
# Restart Node
sudo systemctl restart ${PROJECT_SERVICE}
journalctl -u ${PROJECT_SERVICE} -f
IBC Relayers

TBA