RPC : https://rpc-archway.theamsolutions.info
API : https://rest-archway.theamsolutions.info
gRPC : grpc.archway.theamsolutions.info:443
TMKMS Remote signer service - LINK
TG Alarm/Notification service - LINK
Grafana Dashboard - LINK
NODE SETUP GUIDE
Official docs HERE
Install GO and dependencies HERE
git clone https://github.com/archway-network/archway.git
cd archway
ver=$(curl -s https://rpc-archway.theamsolutions.info/abci_info | jq -r ."result"."response"."version")
git checkout v${ver}
make install
archwayd version
archwayd init <NodeName> --chain-id archway-1
wget -qO $HOME/.archway/config/genesis.json https://snapshots.theamsolutions.info/arch-genesis.json
seeds="3ba7bf08f00e228026177e9cdc027f6ef6eb2b39@35.232.234.58:26656,b308dda41e4db2ee00852d91846f981c49943d46@161.97.96.91:46656,d2362ebcdd562500ac8c4cfa2214a89ad811033c@seeds.whispernode.com:11556"
sed -i -e 's|^seeds *=.*|seeds = "'$seeds'"|' $HOME/.archway/config/config.toml
sudo tee /etc/systemd/system/archwayd.service << EOF
[Unit]
Description="Archway Mainnet"
After=network-online.target
#
[Service]
User=$USER
ExecStart=$(which archwayd) start
RestartSec=10
Restart=on-failure
LimitNOFILE=65535
#
[Install]
WantedBy=multi-user.target
EOF
archwayd tendermint unsafe-reset-all
sudo systemctl enable archwayd.service
sudo systemctl daemon-reload
sudo systemctl restart archwayd.service
sudo journalctl -u archwayd.service -f -o cat
DATA SNAPSHOT
(updating every 6 hrs)
#check snapshot height : curl -s https://snapshots.theamsolutions.info | egrep -o ">archway-snap*.*tar" | tr -d ">"
snap=$(curl -s https://snapshots.theamsolutions.info | egrep -o ">archway-snap*.*tar" | tr -d ">")
wget -P $HOME https://snapshots.theamsolutions.info/${snap}
sudo systemctl stop archwayd
mv $HOME/.archway/data/priv_validator_state.json $HOME
rm -rf $HOME/.archway/data $HOME/.archway/wasm
tar xf $HOME/${snap} -C $HOME/.archway
mv $HOME/priv_validator_state.json $HOME/.archway/data
rm $HOME/${snap}
wget -qO $HOME/.archway/config/addrbook.json https://snapshots.theamsolutions.info/archway.addr.json
sudo systemctl restart archwayd
sudo journalctl -u archwayd -f -o cat
STATE SYNC
sudo systemctl stop archwayd.service
wget -qO $HOME/.archway/config/addrbook.json https://snapshots.theamsolutions.info/archway.addr.json
mv $HOME/.archway/data/priv_validator_state.json $HOME
archwayd tendermint unsafe-reset-all --home ~/.archway/ --keep-addr-book
mv $HOME/priv_validator_state.json $HOME/.archway/data
SNAP_RPC="https://rpc-archway.theamsolutions.info:443"; \
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); \
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_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\"|" $HOME/.archway/config/config.toml
sudo systemctl restart archwayd.service
sudo journalctl -u archwayd.service -f -o cat
GOOD LUCK!
AM Solutions © Copyright. All rights reserved.
We need your consent to load the translations
We use a third-party service to translate the website content that may collect data about your activity. Please review the details in the privacy policy and accept the service to view the translations.