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: 8589331 (2024-06-17T05:57:36Z) | Size: 7.5 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_8589331.tar.lz4 && lz4 -c -d artela_8589331.tar.lz4 | tar -x -C $HOME/.artelad && rm artela_8589331.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

6 peers collected 2024-06-17T18:00:37Z
af6238d181101c79519c031a5505da8e21639eb4@[2001:41d0:805:5500::]:36656,bbf8ef70a32c3248a30ab10b2bff399e73c6e03c@[2a01:4f9:3b:1fd8::2]:23456,412e10bed8ea78a6e53049e13203d800edcfb4c5@165.154.224.44:26656,30fb0055aced21472a01911353101bc4cd356bb3@47.89.230.117:26656,0172eec239bb213164472ea5cbd96bf07f27d9f2@47.251.14.47:26656,f809f4fd17a9cf434b059af3e86262bbac3cb809@47.251.32.165: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