List of snapshots:
http://135.181.60.250/ - Akash Network (Mainnet) truncated via statesync
http://135.181.60.250:8081/ - Sifchain (Betanet) truncated via statesync
http://135.181.60.250:8083/ - Sentinel (Mainnet truncated via statesync
http://135.181.60.250:8084/ - Desmos (Mainnet) truncated via statesync
http://135.181.60.250:8086/ - Stargaze (Mainnet) truncated via statesync
http://135.181.60.250:8087/ - Agoric (Mainnet) truncated via statesync
http://135.181.60.250:5888/ - Osmosis (Mainnet) truncated via statesync
http://snapshots.alexvalidator.com/oasis/ - Oasis (Mainnet)
http://snapshots.alexvalidator.com/ixo/ - IXO (Mainnet)
http://snapshots.alexvalidator.com/regen/ - Regen (Mainnet)
http://snapshots.alexvalidator.com/stargaze/ - Stargaze (Mainnet)
https://snapshots.stakecraft.com/ - Juno (Mainnet)
https://cosmos-snap.staketab.com/ixo - IXO (Mainnet)
https://cosmos-snap.staketab.com/stargaze - Stargaze (Mainnet)
https://cosmos-snap.staketab.com/sifchain - Sifchain (Betanet)
https://cosmos-snap.staketab.com/comdex - Comdex (Mainnet)
https://cosmos-snap.staketab.com/axelar - Axelar (Mainnet)
https://mercury-nodes.net/kichain-snaps/ - Kichain (Mainnet)
http://135.181.60.250:5889/ - Archway (TESTNET) truncated via statesync
Akash snapshot instruction
Agoric snapshot instruction
Sifchain snapshot instruction
Sentinel snapshot instruction
Desmos snapshot instruction
Oasis snapshot instruction
Stargaze snapshot instruction
Osmosis snapshot instruction
Kichain snapshot instruction
IXO snapshot instruction(Staketab)
Sifchain snapshot instruction(Staketab)
Stargaze snapshot instruction(Staketab)
Comdex snapshot instruction(Staketab)
Axelar snapshot instruction(Staketab)
http://rpc01-skynet.paullovette.com/ - provided by Paul Lovette
http://162.255.116.68/snapshots/ - privded by Min (Min#6706)
https://snapshots.stakecraft.com/ - provided by Alex Novy
http://snapshots.alexvalidator.com/ - provided by Alex (Bambarello) Validator
- Oasis
- Stargaze
- Regen
- IXO
- Sentinel
https://cosmos-snap.staketab.com/ - provided by Staketab
https://snapshots.stake2.me/ - provided by Danil Ushakov
- Agoric
- Akash
- Certik
- Gravity bridge
- IXO
- Osmosis
- Sifchain
- Stargaze
Install requirements
sudo apt update && \
sudo apt install curl git docker.io -y
Clone github repo
git clone https://github.com/c29r3/cosmos-snapshots.git && cd cosmos-snapshots
Create folder for snapshots
mkdir $HOME/akash
Start Nginx via docker
cd $HOME; \
docker run --name nginx \
--restart always \
-v $(pwd)/default.conf:/etc/nginx/conf.d/default.conf \
-v $(pwd)/akash/:/root/ \
-p 80:80 \
-d nginx
Fill in the variables and the file akash_snapshot.sh
#!/bin/bash
CHAIN_ID="akashnet-2"
SNAP_PATH="/home/$USER/akash/akash"
LOG_PATH="/home/$USER/cosmos-snapshots/daily-logs/akash_log.txt"
DATA_PATH="/home/$USER/.akash/data/"
SERVICE_NAME="akash.service"
RPC_ADDRESS="http://localhost:26657"
SNAP_NAME=$(echo "${CHAIN_ID}_$(date '+%Y-%m-%d').tar")
OLD_SNAP=$(ls ${SNAP_PATH} | egrep -o "${CHAIN_ID}.*tar")
now_date() {
echo -n $(TZ=":America/Los_Angeles" date '+%Y-%m-%d_%H:%M:%S')
}
log_this() {
YEL='\033[1;33m' # yellow
NC='\033[0m' # No Color
local logging="$@"
printf "|$(now_date)| $logging\n" | tee -a ${LOG_PATH}
}
LAST_BLOCK_HEIGHT=$(curl -s ${RPC_ADDRESS}/status | jq -r .result.sync_info.latest_block_height)
log_this "LAST_BLOCK_HEIGHT ${LAST_BLOCK_HEIGHT}"
log_this "Stopping ${SERVICE_NAME}"
systemctl stop ${SERVICE_NAME}; echo $? >> ${LOG_PATH}
log_this "Creating new snapshot"
time tar cf ${HOME}/${SNAP_NAME} -C ${DATA_PATH} . &>>${LOG_PATH}
log_this "Starting ${SERVICE_NAME}"
systemctl start ${SERVICE_NAME}; echo $? >> ${LOG_PATH}
log_this "Removing old snapshot(s):"
cd ${SNAP_PATH}
rm -fv ${OLD_SNAP} &>>${LOG_PATH}
log_this "Moving new snapshot to ${SNAP_PATH}"
mv ${HOME}/${CHAIN_ID}*tar ${SNAP_PATH} &>>${LOG_PATH}
du -hs ${SNAP_PATH} | tee -a ${LOG_PATH}
log_this "Done\n---------------------------\n"
Create new snapshot
./akash_snapshot.sh
Check snapshot
MY_IP=$(curl -s 2ip.ru); \
curl -s http://${MY_IP}
You can add script to the cron
# start every day at 00:00
0 0 * * * /bin/bash -c '/root/akash_snapshot.sh'