Warning: Declaration of Gutenberg_REST_Global_Styles_Controller_6_2::get_available_actions() should be compatible with WP_REST_Global_Styles_Controller::get_available_actions($post, $request) in /home/mmsteam/public_html/wp-content/plugins/gutenberg/lib/compat/wordpress-6.2/class-gutenberg-rest-global-styles-controller-6-2.php on line 304
Archway – MMS
MMS

 

Archway

Info
Websitehttps://archway.io/
Explorerhttps://explorer.mms.team/archway
ValidatorMMS
Typemainnet
Chain-idarchway-1
Node version7.0.0
TokenARCH
Denomaarch
Bech32 Prefixarchway
Genesis:
wget https://snapshots.mms.team/archway/mainnet/genesis.json
Addrbook:
wget https://snapshots.mms.team/archway/mainnet/addrbook.json

RPC:

https://rpc-archway.mms.team

gRPC:

https://grpc-archway.mms.team

API:

https://api-archway.mms.team

Seed node:

b6c1198fa025ce24d26d90527c5d2b71f9399756@seed-node.mms.team:34656

Peer:

6e1be011b50e39ed1815c6036cf707dfc3b0b270@peer-umee.mms.team:56105
Snapshot

Block Height: 5184106
Size: 1.5G
Snapshot time: 2024-06-24 02:29:57
File: snapshot_archwayd_20240624030155.tar.lz4

# Set variables
PROJECT_NAME=archway
PROJECT_TYPE=mainnet
PROJECT_SERVICE=archwayd
PROJECT_BINARY=archwayd
PROJECT_FOLDER=~/.archway
# 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=archway
PROJECT_TYPE=mainnet
PROJECT_SERVICE=archwayd
PROJECT_BINARY=archwayd
PROJECT_FOLDER=~/.archway
SNAP_RPC="https://rpc-archway.mms.team:443"
PEERS="6e1be011b50e39ed1815c6036cf707dfc3b0b270@peer-umee.mms.team:56105"
# 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