artela

Artela

Artela is an extensible blockchain network enabling developers to build feature-rich dApps.
Chain ID: artela_11822-1 | Node Version: v0.4.7-rc6

Explorers

Public endpoints

Node Snapshot

Height: 7169161 (2024-05-16T23:19:12Z) | Size: 5.0 GB
Update & install aria2, lz4
sudo apt update && sudo apt install aria2 lz4 -y
Stop artelad service & reset
sudo service artelad stop
cp $HOME/.artelad/data/priv_validator_state.json $HOME/.artelad/priv_validator_state.json.backup
artelad tendermint unsafe-reset-all --home $HOME/.artelad --keep-addr-book
Download & extract snapshot
aria2c -x 8 -s 8 https://snapshots2.stakerhouse.com/artela/artela_7169161.tar.lz4 && lz4 -c -d artela_7169161.tar.lz4 | tar -x -C $HOME/.artelad && rm artela_7169161.tar.lz4
mv $HOME/.artelad/priv_validator_state.json.backup $HOME/.artelad/data/priv_validator_state.json
Start artelad service & monitor logs
sudo service artelad start && sudo journalctl -u artelad -f --output cat

State sync

Stop artelad service & reset
systemctl stop artelad
cp $HOME/.artelad/data/priv_validator_state.json $HOME/.artelad/priv_validator_state.json.backup
artelad tendermint unsafe-reset-all --home $HOME/.artelad --keep-addr-book
Configure state sync
SYNC_RPC="https://artela-testnet-rpc.stakerhouse.com:443"
SYNC_PEER="84448b6c0cf50a32574ac9f515279065734dfcc2@artela.rpc.stakerhouse.com:12756"
LATEST_HEIGHT=$(curl -s $SYNC_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \
TRUST_HASH=$(curl -s "$SYNC_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)

sed -i \
  -e "s|^enable *=.*|enable = true|" \
  -e "s|^rpc_servers *=.*|rpc_servers = \"$SYNC_RPC,$SYNC_RPC\"|" \
  -e "s|^trust_height *=.*|trust_height = $BLOCK_HEIGHT|" \
  -e "s|^trust_hash *=.*|trust_hash = \"$TRUST_HASH\"|" \
  -e "s|^persistent_peers *=.*|persistent_peers = \"$SYNC_PEER\"|" \
  $HOME/.artelad/config/config.toml

mv $HOME/.artelad/priv_validator_state.json.backup $HOME/.artelad/data/priv_validator_state.json
Start artelad service & monitor logs
sudo systemctl restart artelad && \
sudo journalctl -u artelad -f --output cat

Seed Node

df949a46ae6529ae1e09b034b49716468d5cc7e9@testnet-seeds.stakerhouse.com:12756

Live peers

3 peers collected 2024-05-17T03:00:36Z
af6238d181101c79519c031a5505da8e21639eb4@[2001:41d0:805:5500::]:36656,ecb580bc54b7f14618d54ccf263b9b6baff1e2d8@[2a03:4000:69:e55:98f4:2aff:fe7b:f874]:26656,9e2fbfc4b32a1b013e53f3fc9b45638f4cddee36@47.254.66.177:26656

Addrbook File

curl -Ls https://snapshots2.stakerhouse.com/addrbook/artela/addrbook.json > $HOME/.artelad/config/addrbook.json

Genesis File

curl -Ls https://snapshots2.stakerhouse.com/genesis/artela/genesis.json > $HOME/.artelad/config/genesis.json